Template:Armor: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(test for better incomplete handling)
No edit summary
 
(61 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{#show:{{FULLPAGENAME}} [[missing::~Infobox*]]}}|{{IncompleteItem}}|}}[[page type is::armor| ]]</includeonly>
<!-- Adds Incomplete template if non-optional information is missing-->{{#if:{{#show:{{FULLPAGENAME}}|?missing}}|{{IncompleteItem}}|}}{{#switch:{{lc:{{{armorapp2023}}}}}|true|yes=[[is outdated::false| ]]|{{#switch:{{#if:{{#switch:{{lc:{{{armorapp2020}}}}}|true|yes={{#switch:{{lc:{{{type}}}}}|light armor=|true}}|}}|true|false}}|true|yes=[[is outdated::false| ]]|{{OldApp}}}}}}[[page type is::armor| ]]
{{#if:{{{ATag|}}}|[[Has ambiguous tags::true| ]]{{AmbiguousTags}}}}
{{#if:{{{MTag|}}}||{{#if:{{{CTag|}}}||{{#if:{{{STag|}}}||{{IncompleteTags}}}}}}}}</includeonly>
{|class="wikitable" style="width:700px"
{|class="wikitable" style="width:700px"
|-style="height:40px"
|-style="height:40px"
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:150%"|{{#if:{{{name|}}}|{{{name}}}[[needs checking::true| ]]|{{#switch:{{lc:{{{fname}}}}}|y|yes={{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}}}}}
|-
|-
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{#ifeq:{{{look}}}|-|''You see nothing unusual.''|{{{look}}}}}|''Unknown''}}{{#switch:{{{MTag|}}}|-|=|#default={{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|[[uses material::@@@@| ]]| }}}}{{#switch:{{{CTag|}}}|-|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@| ]]| }}}}{{#switch:{{{STag|}}}|-|=|#default={{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@| ]]| }}}}
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|-
|-
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
|-
|-
{{#if:{{{templatename|}}}|{{Template:{{{templatename}}}}}|{{ArmorProperties|type={{{type|}}}|special={{{special|}}}|special2={{{special2|}}}|special3={{{special3|}}}|special4={{{special4|}}}|special5={{{special5|}}}|special6={{{special6|}}}|area={{{area|}}}|area2={{{area2|}}}|area3={{{area3|}}}|area4={{{area4|}}}|area5={{{area5|}}}|area6={{{area6|}}}|hindrance={{{hindrance|}}}|stealth={{{stealth|}}}|puncture={{{puncture|}}}|punctureab={{{punctureab|}}}|absorbance={{{absorbance|}}}|slice={{{slice|}}}|sliceab={{{sliceab|}}}|impact={{{impact|}}}|impactab={{{impactab|}}}|fire={{{fire|}}}|fireab={{{fireab|}}}|cold={{{cold|}}}|coldab={{{coldab|}}}|electric={{{electric|}}}|electricab={{{electricab|}}}|construction={{{construction|}}}}}}}
{{#if:{{{templatename|}}}|{{Template:{{{templatename}}}}}|{{ArmorProperties|type={{{type|}}}|special={{{special|}}}{{#if:{{{special2|}}}|,{{{special2}}}}}{{#if:{{{special3|}}}|,{{{special3}}}}}{{#if:{{{special4|}}}|,{{{special4}}}}}{{#if:{{{special5|}}}|,{{{special5}}}}}{{#if:{{{special6|}}}|,{{{special6}}}}}|area={{{area|}}}|area2={{{area2|}}}|area3={{{area3|}}}|area4={{{area4|}}}|area5={{{area5|}}}|area6={{{area6|}}}|hindrance={{{hindrance|}}}|stealth={{{stealth|}}}|puncture={{{puncture|}}}|punctureab={{{punctureab|}}}|absorbance={{{absorbance|}}}|slice={{{slice|}}}|sliceab={{{sliceab|}}}|impact={{{impact|}}}|impactab={{{impactab|}}}|fire={{{fire|}}}|fireab={{{fireab|}}}|cold={{{cold|}}}|coldab={{{coldab|}}}|electric={{{electric|}}}|electricab={{{electricab|}}}|construction={{{construction|}}}}}}}
|-
|-
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]]|<includeonly>[[missing::Infobox entry on metal content|''Unknown'']]</includeonly>}}|<includeonly>[[missing::Infobox entry on metal content|''Unknown'']]</includeonly>}}
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]]|<includeonly>[[missing::Infobox entry on metal content|''Unknown'']]</includeonly>}}|<includeonly>[[missing::Infobox entry on metal content|''Unknown'']]</includeonly>}}
|-
|-
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]] stones|<includeonly>[[missing::Infobox entry on weight|''Unknown'']]</includeonly>}}
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]] stones|<includeonly>[[missing::Infobox entry on weight|''Unknown'']]</includeonly>}}
{{ItemProperties|itype=armor|special={{{special|}}}|special2={{{special2|}}}|special3={{{special3|}}}|special4={{{special4|}}}|special4={{{special4|}}}|special5={{{special5|}}}|special6={{{special6|}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|source6={{#if:{{{shop6|}}}|{{{shop6|}}}|{{{source6|}}}}}|cost6={{{cost6|}}}|source7={{#if:{{{shop7|}}}|{{{shop7|}}}|{{{source7|}}}}}|cost7={{{cost7|}}}|source8={{#if:{{{shop8|}}}|{{{shop8|}}}|{{{source8|}}}}}|cost8={{{cost8|}}}|source9={{#if:{{{shop9|}}}|{{{shop9|}}}|{{{source9|}}}}}|cost9={{{cost9|}}}|source10={{#if:{{{shop10|}}}|{{{shop10|}}}|{{{source10|}}}}}|cost10={{{cost10|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|traderapp={{{traderapp|}}}}}
{{ItemProperties|itype=armor|special={{{special|}}}|special2={{{special2|}}}|special3={{{special3|}}}|special4={{{special4|}}}|special5={{{special5|}}}|special6={{{special6|}}}|hidetype={{{hidetype|}}}|wearloc={{{wearloc|}}}|source={{#if:{{{shop|}}}|{{{shop|}}}|{{{source|}}}}}|cost={{{cost|}}}|source2={{#if:{{{shop2|}}}|{{{shop2|}}}|{{{source2|}}}}}|cost2={{{cost2|}}}|source3={{#if:{{{shop3|}}}|{{{shop3|}}}|{{{source3|}}}}}|cost3={{{cost3|}}}|source4={{#if:{{{shop4|}}}|{{{shop4|}}}|{{{source4|}}}}}|cost4={{{cost4|}}}|source5={{#if:{{{shop5|}}}|{{{shop5|}}}|{{{source5|}}}}}|cost5={{{cost5|}}}|source6={{#if:{{{shop6|}}}|{{{shop6|}}}|{{{source6|}}}}}|cost6={{{cost6|}}}|source7={{#if:{{{shop7|}}}|{{{shop7|}}}|{{{source7|}}}}}|cost7={{{cost7|}}}|source8={{#if:{{{shop8|}}}|{{{shop8|}}}|{{{source8|}}}}}|cost8={{{cost8|}}}|source9={{#if:{{{shop9|}}}|{{{shop9|}}}|{{{source9|}}}}}|cost9={{{cost9|}}}|source10={{#if:{{{shop10|}}}|{{{shop10|}}}|{{{source10|}}}}}|cost10={{{cost10|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|rtype={{{rtype|}}}|gtype={{{gtype|}}}|verby={{{verby|}}}|atmos={{{atmos|}}}|pcrystal={{{pcrystal|}}}|istone={{{istone|}}}|rarity={{{rarity|}}}|rare={{{rare|}}}|lsize={{{lsize|}}}|hsize={{{hsize|}}}|wsize={{{wsize|}}}|ilsize={{{ilsize|}}}|ihsize={{{ihsize|}}}|iwsize={{{iwsize|}}}|csize={{{csize|}}}|enchanted={{{enchanted|}}}|potency={{{potency|}}}|complexity={{{complexity|}}}|precision={{{precision|}}}|grade={{{grade|}}}|ebonus={{{ebonus|}}}|flare={{{flare|}}}|fdecoration={{{fdecoration|}}}|glamour={{{glamour|}}}|gdecoration={{{gdecoration|}}}|maxcharge={{{maxcharge|}}}|itemtype={{#if:{{{itype|}}}|{{{itype|}}}|{{{noun|}}}}}|traderapp={{{traderapp|}}}|shop={{{shop|}}}|sources={{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|sep=%%%%|link=none}}|rev={{{rev|}}}|list={{#if:{{{list|}}}|{{{list}}}|{{PAGENAME}}}}}}
|}
|}
<includeonly>{{cat|Armor}}</includeonly><noinclude>
<includeonly>
{{#if:{{{list|}}}|{{cat|Armor|{{{list}}}}}|{{cat|Armor}}}}{{#switch:{{lc:{{{armorapp2023}}}}}|true|yes=[[is outdated::false| ]]|{{#switch:{{#if:{{#switch:{{lc:{{{armorapp2020}}}}}|true|yes={{#switch:{{lc:{{{type}}}}}|light armor=|true}}|}}|true|false}}|true|yes=[[is outdated::false| ]]|[[is outdated::true| ]]}}}}
</includeonly><noinclude>
==Usage Documentation==
==Usage Documentation==
This template is for use with armor that is <b>non-forged, non-tanned</b> or a derivative thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items.<br/>
This template is for use with armor that is <b>non-forged, non-tanned</b> or a derivative thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items.<br/>
Currently the only special properties this page is set up to display is magical equipment. If you have other suggestions, please list them on the [[Template_talk:Armor|discussion page]].
Currently the only special properties this page is set up to display is magical equipment. If you have other suggestions, please list them on the [[Template_talk:Armor|discussion page]].

Note: This page is not currently set up to automatically generate <nowiki>{{incomplete}}</nowiki> tags, but will be soon.


{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
Line 26: Line 29:
|name|| ||name of the object if it's different than the page name
|name|| ||name of the object if it's different than the page name
|-
|-
|armorapp2023||yes/no||Has this item been updated since the light armor elemental protection/absorption changes?<br>(Was this appraisal performed after February 2023?)
|look|| ||the description gained by LOOKing at it.
|-
|look|| <text>/- ||the description gained by {{tt|LOOK}}ing at it. "-" will trigger "''You see nothing unusual.''"
|-
|-
|noun|| ||the single word noun used to interact with it
|noun|| ||the single word noun used to interact with it
|-
|-
|type||LA/CA/LC/HC/LP/HP/BA||Use the skill codes under EXP SKILLS
|type||light armor/chain armor/brigandine/plate armor||Use the skill codes under {{com|EXP}} {{tt|SKILLS}}
|-
|-
|area||arms/legs/abdomen/back/neck<br/>/head/eyes/hands/chest||What areas are covered. Each additional area should be separated by a ",".
|area||arms/legs/abdomen/back/neck<br/>/head/eyes/hands/chest||What areas are covered. Each additional area should be separated by a ",".
Line 44: Line 49:
|punctureab<br/>impactab<br/>sliceab<br/>fireab<br/>coldab<br/>electricab|| ||Damage absorbance value against various damage types
|punctureab<br/>impactab<br/>sliceab<br/>fireab<br/>coldab<br/>electricab|| ||Damage absorbance value against various damage types
|-
|-
|construction|| ||Gauge of how often the item needs to be repaired.
|construction
|-
|-
|metal||yes/no||Is it made with metal and therefor repairable at a metal forge?
|metal||yes/no||Is it made with metal and therefor repairable at a metal forge?
Line 54: Line 59:
|traderapp||yes/no||Was the cost appraisal done by a trader?
|traderapp||yes/no||Was the cost appraisal done by a trader?
|-
|-
|special||magic/cambrinth/gives light/quest/tack/(race) style/(guild) style||Does it have special properties? Check [[Property:has item property]] for more information.
|special||-/cambrinth/casts spell/container/gaethzen/gives light/hiding/magic/quest/tack/''<race>'' style/''<guild>'' style||Does it have special properties? Check [[Property:has item property]] for more information. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
|-
|-
|sourcetype#||-/sold by/other||Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". '''Note: "dropped by" is now handled by script.'''
|sourcetype#||-/sold by/other||Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". '''Note: "dropped by" is now handled by script.'''
Line 61: Line 66:
|-
|-
|cost||# Kronars/Lirums/Dokoras||If sold, the cost at the preceeding shop. Include currency.
|cost||# Kronars/Lirums/Dokoras||If sold, the cost at the preceeding shop. Include currency.
|-
|list|| ||A way to change how an item is listed in categories.
|-
| rare || true/false || Used to explicitly declare that an item is not commonly available at a shop or creature drop.
|-
| itype || || Sets inclusion into subtypes. (Important for searches, like for pulsing regeneration items.)
|}
|}


Line 67: Line 78:
{{Armor
{{Armor
|name=
|name=
|armorapp2023=
|look=
|look=
|noun=
|noun=

Latest revision as of 15:58, 4 March 2023

armor
Look: Unknown
Core Noun: Unknown
Type: Unknown
Areas Covered: Unknown
Hindrance: Unknown / Unknown for stealth
Protection: Unknown protection and unknown damage absorption for puncture attacks.
Unknown protection and unknown damage absorption for slice attacks.
Unknown protection and unknown damage absorption for impact attacks.
Unknown protection and Unknown damage absorption for fire attacks.
Unknown protection and unknown damage absorption for cold attacks.
Unknown protection and Unknown damage absorption for electrical attacks.
Construction: Unknown
Metal:
Weight:
Appraised Cost: Unknown
Properties:
Dimensions: ? length x ? width x ? height
Sources: Unknown

Usage Documentation

This template is for use with armor that is non-forged, non-tanned or a derivative thereof. Please consult the Manual of Style for information on listing crafted items.
Currently the only special properties this page is set up to display is magical equipment. If you have other suggestions, please list them on the discussion page.

name name of the object if it's different than the page name
armorapp2023 yes/no Has this item been updated since the light armor elemental protection/absorption changes?
(Was this appraisal performed after February 2023?)
look <text>/- the description gained by LOOKing at it. "-" will trigger "You see nothing unusual."
noun the single word noun used to interact with it
type light armor/chain armor/brigandine/plate armor Use the skill codes under EXP SKILLS
area arms/legs/abdomen/back/neck
/head/eyes/hands/chest
What areas are covered. Each additional area should be separated by a ",".
hindrance The base hidrance of the armor.
stealth Stealth hindrance.
absorbance If the damage absorbance mostly the same across all damage types, simply list it here and change the differing ones.
puncture
slice
impact
fire
cold
electric
Protection value against various damage types
punctureab
impactab
sliceab
fireab
coldab
electricab
Damage absorbance value against various damage types
construction Gauge of how often the item needs to be repaired.
metal yes/no Is it made with metal and therefor repairable at a metal forge?
weight # Weight in stones
appcost # The cost given by an expert (trader preferred) appraisal. Given in kronars.
traderapp yes/no Was the cost appraisal done by a trader?
special -/cambrinth/casts spell/container/gaethzen/gives light/hiding/magic/quest/tack/<race> style/<guild> style Does it have special properties? Check Property:has item property for more information. With regard to the guild and race styles, only list them if the item has a specific use for that group, or a person ignorant of the source of the item would believe the item is styled for that guild or race.
sourcetype# -/sold by/other Gives the appropriate display of the source of the item. If the item is only dropped by creatures, mark the first field as "-". Note: "dropped by" is now handled by script.
source (source) details on the source. If sourcetype is "sold by" links will be generated automatically
cost # Kronars/Lirums/Dokoras If sold, the cost at the preceeding shop. Include currency.
list A way to change how an item is listed in categories.
rare true/false Used to explicitly declare that an item is not commonly available at a shop or creature drop.
itype Sets inclusion into subtypes. (Important for searches, like for pulsing regeneration items.)


{{Armor
|name=
|armorapp2023=
|look=
|noun=
|type=
|area=
|hindrance=
|stealth=
|absorbance=
|puncture=
|punctureab=
|slice=
|sliceab=
|impact=
|impactab=
|fire=
|fireab=
|cold=
|coldab=
|electric=
|electricab=
|construction=
|metal=
|weight=
|appcost=
|traderapp=
|special=
.....
|special5=
|sourcetype=
|source=
|cost=
|sourcetype2=
|source2=
|cost2=
|sourcetype3=
|source3=
|cost3=
....
|sourcetype10=
|source10=
|cost10=
}}

Also See