Template:Shield: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(update to using Template:ItemProperties and semantic support)
Line 5: Line 5:
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|-
|-
{{#if:{{{noun|}}}||{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
|-
|-
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}|''Unknown''}}
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}|''Unknown''}}
|-
|-
|'''Hindrance:'''||{{#switch:{{{hindrance}}}||none=[[hindrance is::0 - none|None]]|insignificant=[[hindrance is::1 - insignificant|Insignificant]]|light=[[hindrance is::2 - light|Light]]|low=[[hindrance is::3 - low|Low]]|fair=[[hindrance is::4 - fair|Fair]]|moderate=[[hindrance is::5 - moderate|Moderate]]|high=[[hindrance is::6 - high|High]]|great=[[hindrance is::7 - great|Great]]|overwhelming=[[hindrance is::8 - overwhelming|Overwhelming]]|insane=[[hindrance is::9 - insane|Insane]]|''Unknown''}}
|'''Hindrance:'''||{{#if:{{{hindrance|}}}|{{ucfirst:{{lc:{{{hindrance}}}}}}}|''Unknown''}}
|-
|-
|'''Protection:'''||{{#switch:{{{minprotection}}}||none=[[Min protection is::0 - none|None]]|poor=[[Min protection is::1 - poor|Poor]]|low=[[Min protection is::2 - low|Low]]|fair=[[Min protection is::3 - fair|Fair]]|moderate=[[Min protection is::4 - moderate|Moderate]]|good=[[Min protection is::5 - good|Good]]|high=[[Min protection is::6 - high|High]]|great=[[Min protection is::7 - great|Great]]|impressive=[[Min protection is::8 - impressive|Impressive]]|tremendous=[[Min protection is::9 - tremendous|Tremendous]]|god like|godlike|god-like=[[Min protection is::10 - god-like|God-Like]]|''Unknown''}} to {{#switch:{{{maxprotection}}}||none=[[Max protection is::0 - none|None]]|poor=[[Max protection is::1 - poor|Poor]]|low=[[Max protection is::2 - low|Low]]|fair=[[Max protection is::3 - fair|Fair]]|moderate=[[Max protection is::4 - moderate|Moderate]]|good=[[Max protection is::5 - good|Good]]|high=[[Max protection is::6 - high|High]]|great=[[Max protection is::7 - great|Great]]|impressive=[[Max protection is::8 - impressive|Impressive]]|tremendous=[[Max protection is::9 - tremendous|Tremendous]]|god like|godlike|god-like=[[Max protection is::10 - god-like|God-Like]]|''Unknown''}} protection{{#switch:{{{paladinapp}}}|y|yes=[[Was paladin appraised::yes| ]]|n|no|[[was paladin appraised::no| ]]}}
|'''Protection:'''||{{#if:{{{minprotection|}}}|{{ucfirst:{{lc:{{{minprotection}}}}}}}|''Unknown''}} to {{#if:{{{maxprotection|}}}|{{{maxprotection}}}|''Unknown''}} protection
|-
|-
|'''Damage:'''||{{#switch:{{lc:{{{puncture}}}}}|none=[[puncture damage is::0 - none|None]]|poor=[[puncture damage is::1 - poor|Poor]]|low=[[puncture damage is::2 - low|Low]]|fair=[[puncture damage is::3 - fair|Fair]]|moderate=[[puncture damage is::4 - moderate|Moderate]]|heavy=[[puncture damage is::5 - heavy|Heavy]]|great=[[puncture damage is::6 - great|Great]]|severe=[[puncture damage is::7 - severe|Severe]]|bone-crushing=[[puncture damage is::8 - bone-crushing|Bone-Crushing]]|devastating=[[puncture damage is::9 - devastating|Devastating]]|god-like=[[puncture damage is::10 - god-like|God-Like]]|''Unknown''}} puncture damage<br/>{{#switch:{{lc:{{{slice}}}}}|none=[[slice damage is::0 - none|None]]|poor=[[slice damage is::1 - poor|Poor]]|low=[[slice damage is::2 - low|Low]]|fair=[[slice damage is::3 - fair|Fair]]|moderate=[[slice damage is::4 - moderate|Moderate]]|heavy=[[slice damage is::5 - heavy|Heavy]]|great=[[slice damage is::6 - great|Great]]|severe=[[slice damage is::7 - severe|Severe]]|bone-crushing=[[slice damage is::8 - bone-crushing|Bone-Crushing]]|devastating=[[slice damage is::9 - devastating|Devastating]]|god-like=[[slice damage is::10 - god-like|God-Like]]|''Unknown''}} slice damage<br>{{#switch:{{lc:{{{impact}}}}}|none=[[slice damage is::0 - none|None]]|poor=[[impact damage is::1 - poor|Poor]]|low=[[impact damage is::2 - low|Low]]|fair=[[impact damage is::3 - fair|Fair]]|moderate=[[impact damage is::4 - moderate|Moderate]]|heavy=[[impact damage is::5 - heavy|Heavy]]|great=[[impact damage is::6 - great|Great]]|severe=[[impact damage is::7 - severe|Severe]]|bone-crushing=[[impact damage is::8 - bone-crushing|Bone-Crushing]]|devastating=[[impact damage is::9 - devastating|Devastating]]|god-like=[[impact damage is::10 - god-like|God-Like]]|''Unknown''}} impact damage
|'''Damage:'''||{{#if:{{{puncture|}}}|{{ucfirst:{{lc:{{{puncture}}}}}}}|''Unknown''}} puncture damage<br>{{#if:{{{slice|}}}|{{ucfirst:{{lc:{{{slice}}}}}}}|''Unknown''}} slice damage<br>{{#if:{{{impact|}}}|{{ucfirst:{{lc:{{{impact}}}}}}}|''Unknown''}} impact damage
|-
|-
|'''Balance:'''||{{#switch:{{lc:{{{balance}}}}}|not=[[balance is::0 - not|Not]]|dismally=[[balance is::1 - dismally|Dismally]]|poorly=[[balance is::2 - poorly|Poorly]]|fairly=[[balance is::3 - fairly|Fairly]]|reasonably=[[balance is::4 - reasonably|Reasonably]]|well=[[balance is::5 - well|Well]]|excellently=[[balance is::6 - excellently|Excellently]]|superbly=[[balance is::7 - superbly|Superbly]]|incredibly=[[balance is::8 - incredibly|Incredibly]]|unbelievably=[[balance is::9 - unbelievably|Unbelievably]]|''Unknown''}}
|'''Construction:'''||{{#if:{{{construction|}}}|{{ucfirst:{{lc:{{{construction|}}}}}}}|''Unknown''}}
|-
|-
|'''Suitedness:'''||{{#switch:{{lc:{{{suitedness}}}}}|not=[[suitedness is::0 - not|Not]]|dismally=[[suitedness is::1 - dismally|Dismally]]|poorly=[[suitedness is::2 - poorly|Poorly]]|fairly=[[suitedness is::3 - fairly|Fairly]]|reasonably=[[suitedness is::4 - reasonably|Reasonably]]|well=[[suitedness is::5 - well|Well]]|excellently=[[suitedness is::6 - excellently|Excellently]]|superbly=[[suitedness is::7 - superbly|Superbly]]|incredibly=[[suitedness is::8 - incredibly|Incredibly]]|unbelievably=[[suitedness is::9 - unbelievably|Unbelievably]]|''Unknown''}}
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal|}}}}}|yes|y=Yes|no|n=No|''Unknown''}}|''Unknown''}}
|-
|-
|'''Construction:'''||{{#switch:{{lc:{{{construction}}}}}|extremely weak=[[construction is::0 - extremely weak|Extremely weak]]|flimsy=[[construction is::1 - flimsy|Flimsy]]|somewhat flimsy==[[construction is::2 - somewhat flimsy|Somewhat flimsy]]|average strength=[[construction is::3 - average strength|Average strength]]|fairly sturdy=[[construction is::4 - fairly sturdy|Fairly sturdy]]|moderately strong=[[construction is::5 - moderately strong|Moderately strong]]|well contructed=[[construction is::6 - well contructed|Well contructed]]|very strong=[[construction is::7 - very strong|Very strong]]|quite hard=[[construction is::8 - quite hard|Quite hard]]|incredibly hard=9 - incredibly hard|Incredibly hard]]|unbelievably strong=[[construction is::10 - unbelievably strong|Unbelievably strong]]|''Unknown''}}
|'''Weight:'''||{{#if:{{{weight|}}}|{{{weight}}}|''?''}} stones
|-
|-
|'''Appraised Cost:'''||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
|'''Metal:'''||{{#switch:{{lc:{{{metal|}}}}}|yes|y=[[is metal::true|Yes]]|no|n=[[is metal::false|No]]|''Unknown''}}
|-
|-
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}|&nbsp;({{{cost}}})}}|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>{{#if:{{{cost2|}}}|({{{cost2}}} {{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>{{#if:{{{cost3|}}}|({{{cost3}}} {{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>{{#if:{{{cost4|}}}|({{{cost4}}} {{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>{{#if:{{{cost5|}}}|({{{cost5}}} {{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>{{#if:{{{cost6|}}}|({{{cost6}}} {{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop7|}}}|<DT>[[{{{shop7}}}]]<DD>{{#if:{{{cost7|}}}|({{{cost7}}} {{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop8|}}}|<DT>[[{{{shop8}}}]]<DD>{{#if:{{{cost8|}}}|({{{cost8}}} {{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop9|}}}|<DT>[[{{{shop9}}}]]<DD>{{#if:{{{cost9|}}}|({{{cost9}}} {{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop10|}}}|<DT>[[{{{shop10}}}]]<DD>{{#if:{{{cost10|}}}|({{{cost10}}} {{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}</DL>}}
{{ItemProperties|itype=shield|weight={{{weight|}}}|special={{{special|}}}|special2={{{special2|}}}|special3={{{special3|}}}|special4={{{special4|}}}|special4={{{special4|}}}|special5={{{special5|}}}|special6={{{special6|}}}|wearloc={{{wearloc|}}}|source={{{shop|}}}|cost={{{cost|}}}|source2={{{shop2|}}}|cost2={{{cost2|}}}|source3={{{shop3|}}}|cost3={{{cost3|}}}|source4={{{shop4|}}}|cost4={{{cost4|}}}|source5={{{shop5|}}}|cost5={{{cost5|}}}|source6={{{shop6|}}}|cost6={{{cost6|}}}|source7={{{shop7|}}}|cost7={{{cost7|}}}|source8={{{shop8|}}}|cost8={{{cost8|}}}|source9={{{shop9|}}}|cost9={{{cost9|}}}|source10={{{shop10|}}}|cost10={{{cost10|}}}|maxcharge={{{maxcharge|}}}|sourcetype={{{sourcetype|}}}|sourcetype2={{{sourcetype2|}}}|sourcetype3={{{sourcetype3|}}}|sourcetype4={{{sourcetype4|}}}|sourcetype5={{{sourcetype5|}}}|sourcetype6={{{sourcetype6|}}}|sourcetype7={{{sourcetype7|}}}|sourcetype8={{{sourcetype8|}}}|sourcetype9={{{sourcetype9|}}}|sourcetype10={{{sourcetype10|}}}{{#if:{{{source|}}}|{{!}}source={{{source}}}}}{{#if:{{{source2|}}}|{{!}}source2={{{source2}}}}}{{#if:{{{source3|}}}|{{!}}source3={{{source3}}}}}{{#if:{{{source4|}}}|{{!}}source4={{{source4}}}}}{{#if:{{{source5|}}}|{{!}}source5={{{source5}}}}}{{#if:{{{source6|}}}|{{!}}source6={{{source6}}}}}{{#if:{{{source7|}}}|{{!}}source7={{{source7}}}}}{{#if:{{{source8|}}}|{{!}}source8={{{source8}}}}}{{#if:{{{source9|}}}|{{!}}source9={{{source9}}}}}{{#if:{{{source10|}}}|{{!}}source10={{{source10}}}}}|spellcast={{{spellcast|}}}|appcost={{{appcost|}}}|traderapp={{{traderapp|}}}}}
|}<includeonly>
|-
| '''Special Properties:'''
|{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|* This shield is magical.}}{{IfMatch|light|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=* This shield can provide light.]]}}{{#if:{{#ifeq:{{lc:{{{magic}}}}}|y|1}}{{{special|}}}{{{special2|}}}{{{special3|}}}{{{special4|}}}{{{special5|}}}||* None}}
|}
<!-- Adds page to appropriate category based on type -->
<!-- Adds page to appropriate category based on type -->
[[Category:Shields|{{PAGENAME}}]]{{#switch:{{lc:{{{metal}}}}}|yes|y=[[Category:Metal Shields|{{PAGENAME}}]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields|{{PAGENAME}}]][[Category:Small Metal Shields|{{PAGENAME}}]]|msh=[[Category:Medium Shields|{{PAGENAME}}]][[Category:Medium Metal Shields|{{PAGENAME}}]]|lsh=[[Category:Large Shields|{{PAGENAME}}]][[Category:Large Metal Shields|{{PAGENAME}}]]}}|no|n=[[Category:Non-Metal Shields|{{PAGENAME}}]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields|{{PAGENAME}}]][[Category:Small Non-Metal Shields|{{PAGENAME}}]]|msh=[[Category:Medium Shields|{{PAGENAME}}]][[Category:Medium Non-Metal Shields|{{PAGENAME}}]]|lsh=[[Category:Large Shields|{{PAGENAME}}]][[Category:Large Non-Metal Shields|{{PAGENAME}}]]}}|{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields|{{PAGENAME}}]]|msh=[[Category:Medium Shields|{{PAGENAME}}]]|lsh=[[Category:Large Shields|{{PAGENAME}}]]}}}}{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|[[Category:Magic Items|{{PAGENAME}}]][[Category:Magic Shields|{{PAGENAME}}]]}}{{IfMatch|light|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Light Sources|{{PAGENAME}}]]}}</includeonly>
[[Category:Shields|{{PAGENAME}}]]{{#if:{{{type|}}}|[[Category:{{SkillCode|{{{type}}}}}s|{{PAGENAME}}]]}}{{#switch:{{lc:{{{metal}}}}}|yes|y=[[Category:Metal Shields|{{PAGENAME}}]]{{#if|{{{type|}}}|[[Category:Metal {{SkillCode|{{type}}}}}s|{{PAGENAME}}]]}}|no|n=[[Category:Non-Metal Shields|{{PAGENAME}}]]{{#if:{{{type|}}}|[[Category:Non-Metal {{SkillCode|{{{type}}}}}s|{{PAGENAME}}]]}}}}</includeonly><noinclude>
<noinclude>
==Usage Documentation==
==Usage Documentation==
This template is for use with shields that are <b>non-forged, non-tanned</b> or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. Please use [[Template:BrawlItem]] for parry sticks and brawling equipment.<br>
This template is for use with shields that are <b>non-forged, non-tanned</b> or derivatives thereof. Please consult the [[Elanthipedia:Manual_of_Style/Items#Crafted Equipment|Manual of Style]] for information on listing crafted items. Please use [[Template:BrawlItem]] for parry sticks and brawling equipment.<br>
Line 54: Line 50:
|paladinapp||y/n||Was the min/max protection appraisal done by a Paladin?
|paladinapp||y/n||Was the min/max protection appraisal done by a Paladin?
|-
|-
|puncture|| ||damage when used as a weapon
|puncture<br/>slice<br/>impact|| ||damage when used as a weapon
|-
|-
|metal||y/n||Is it made with metal and therefore repairable at a metal forge
|metal||y/n||Is it made with metal and therefore repairable at a metal forge
Line 64: Line 60:
|traderapp||y/n||Was the previous appraisal done by a trader?
|traderapp||y/n||Was the previous appraisal done by a trader?
|-
|-
|special||magic/cambrinth/(guild)only/race(only)/light||What special properties does the shield have.
|special||magic/cambrinth/(guild) type/(race) type/light||What special properties does the shield have. See [[Property:Has item type]] for explanations.
|-
|-
|sourcetype#||sold by/dropped by/other||The manner in which the source offers the item
|shop#|| ||shop where it can be bought, put "n" if not sold
|-
|-
|source#|| ||Where the item can be acquired. If sourcetype is "sold by" or "dropped by" links are automatically generated.
|cost#||#||the cost at the preceeding shop
|-
|-
|cost#||# Kronars/Lirums/Dokoras||If sold, the cost at the preceeding shop, including currency.
|coin#||k/l/d||Will automatically add the corresponding currence to the previous shop
|}
|}


Line 96: Line 92:
......
......
|special5=
|special5=
|sourcetype=
|shop=
|source=
|cost=
|cost=
|sourcetype2=
|coin=
|shop2=
|shop2=
|cost2=
|cost2=
|sourcetype3=
|coin2=
|shop3=
|shop3=
|cost3=
|cost3=
|coin3=
.....
.....
|sourcetype10=
|shop10=
|shop10=
|cost10=
|cost10=
|coin10=
}}
}}
</pre>
</pre>

Revision as of 18:14, 17 June 2008

Shield
Look: Unknown
Core Noun: Unknown
Type: Unknown
Hindrance: Unknown
Protection: Unknown to Unknown protection
Damage: Unknown puncture damage
Unknown slice damage
Unknown impact damage
Balance: Unknown
Suitedness: Unknown
Construction: Unknown
Metal: Unknown
Appraised Cost: Unknown
Properties:
Dimensions: ? length x ? width x ? height
Sources: Unknown

Usage Documentation

This template is for use with shields that are non-forged, non-tanned or derivatives thereof. Please consult the Manual of Style for information on listing crafted items. Please use Template:BrawlItem for parry sticks and brawling equipment.
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.
Note: This page is not currently set up to automatically generate {{incomplete}} tags, but will soon.

Variable Values Usage
name name of the object if it's different than the page name
look the description gained by LOOKing at it.
noun the single word noun used to interact with it
type SSH/MSH/LSH shield size
hindrance hindrance value
minprotection minimum protection value
maxprotection maximum protection value
paladinapp y/n Was the min/max protection appraisal done by a Paladin?
puncture
slice
impact
damage when used as a weapon
metal y/n Is it made with metal and therefore repairable at a metal forge
weight # weight in stones
appcost # The cost given by an expert (trader preferred) appraisal. Given in kronars.
traderapp y/n Was the previous appraisal done by a trader?
special magic/cambrinth/(guild) type/(race) type/light What special properties does the shield have. See Property:Has item type for explanations.
sourcetype# sold by/dropped by/other The manner in which the source offers the item
source# Where the item can be acquired. If sourcetype is "sold by" or "dropped by" links are automatically generated.
cost# # Kronars/Lirums/Dokoras If sold, the cost at the preceeding shop, including currency.
{{Shield
|name=
|look=
|noun=
|type=
|hindrance=
|minprotection=
|maxprotection=
|paladinapp=
|puncture=
|slice=
|impact=
|balance=
|suitedness=
|construction=
|metal=
|weight=
|appcost=
|traderapp=
|special=
......
|special5=
|sourcetype=
|source=
|cost=
|sourcetype2=
|shop2=
|cost2=
|sourcetype3=
|shop3=
|cost3=
.....
|sourcetype10=
|shop10=
|cost10=
}}

Also See