Template:Shield: Difference between revisions
Jump to navigation
Jump to search
m (category changes) |
(Added support for additional types using the SPECIAL field.) |
||
Line 23: | Line 23: | ||
|'''Appraised Cost:'''||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars |
|'''Appraised Cost:'''||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}| ({{{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>}} |
|||
{{#if:{{IfOR|{{{shop|}}}|{{{cost|}}}}}|{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}Not sold|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}})|''Unknown''}}{{#if:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}})}}</DL>}}}} |
|||
|- |
|- |
||
| '''Special Properties:''' |
| '''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}} |
|||
|{{#ifeq:y|{{lc:{{{magic}}}}}|*This item is magical.|None}} |
|||
|}<includeonly> |
|}<includeonly> |
||
<!-- Adds page to appropriate category based on type --> |
<!-- Adds page to appropriate category based on type --> |
||
[[Category:Items]][[Category:Shields]]{{#switch:{{lc:{{{metal}}}}}|yes|y=[[Category:Metal Shields]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]][[Category:Small Metal Shields]]|msh=[[Category:Medium Shields]][[Category:Medium Metal Shields]]|lsh=[[Category:Large Shields]][[Category:Large Metal Shields]]}}|no|n=[[Category:Non-Metal Shields]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]][[Category:Small Non-Metal Shields]]|msh=[[Category:Medium Shields]][[Category:Medium Non-Metal Shields]]|lsh=[[Category:Large Shields]][[Category:Large Non-Metal Shields]]}}|{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]]|msh=[[Category:Medium Shields]]|lsh=[[Category:Large Shields]]}}}}</includeonly> |
[[Category:Items]][[Category:Shields]]{{#switch:{{lc:{{{metal}}}}}|yes|y=[[Category:Metal Shields]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]][[Category:Small Metal Shields]]|msh=[[Category:Medium Shields]][[Category:Medium Metal Shields]]|lsh=[[Category:Large Shields]][[Category:Large Metal Shields]]}}|no|n=[[Category:Non-Metal Shields]]{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]][[Category:Small Non-Metal Shields]]|msh=[[Category:Medium Shields]][[Category:Medium Non-Metal Shields]]|lsh=[[Category:Large Shields]][[Category:Large Non-Metal Shields]]}}|{{#switch:{{lc:{{{type}}}}}|ssh=[[Category:Small Shields]]|msh=[[Category:Medium Shields]]|lsh=[[Category:Large Shields]]}}}}{{#If:{{IfMatch|y|{{{magic}}}|{{{cambrinth}}}}}{{IfMatch|magic|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}{{IfMatch|cambrinth|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}}}|[[Category:Magic Items]][[Category:Magic Shields]]}}{{IfMatch|light|{{{special}}}|{{{special2}}}|{{{special3}}}|{{{special4}}}|{{{special5}}}|true=[[Category:Light Sources]]}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
==Usage Documentation== |
==Usage Documentation== |
||
Line 64: | Line 64: | ||
|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. |
|||
|magic||y/n|| |
|||
|- |
|- |
||
⚫ | |||
|magicnote|| ||explain magical nature. |
|||
|- |
|- |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
|coin#||k/l/d||Will automatically add the corresponding currence to the previous shop |
|||
⚫ | |||
|} |
|} |
||
Line 93: | Line 93: | ||
|appcost= |
|appcost= |
||
|traderapp= |
|traderapp= |
||
| |
|special= |
||
...... |
|||
|magicnote= |
|||
|special5= |
|||
|shop= |
|shop= |
||
|cost= |
|cost= |
||
|coin= |
|||
|shop2= |
|shop2= |
||
|cost2= |
|cost2= |
||
|coin2= |
|||
|shop3= |
|shop3= |
||
|cost3= |
|cost3= |
||
|coin3= |
|||
..... |
|||
|shop10= |
|||
|cost10= |
|||
|coin10= |
|||
}} |
}} |
||
</pre> |
</pre> |
Revision as of 17:42, 7 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 |
Construction: | Unknown |
Metal: | Unknown |
Weight: | ? stones |
Appraised Cost: | ? Kronars |
For Sale At (Base Cost): |
|
Special Properties: |
|
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 | 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)only/race(only)/light | What special properties does the shield have. |
shop# | shop where it can be bought, put "n" if not sold | |
cost# | # | the cost at the preceeding shop |
coin# | k/l/d | Will automatically add the corresponding currence to the previous shop |
{{Shield |name= |look= |noun= |type= |hindrance= |minprotection= |maxprotection= |paladinapp= |puncture= |slice= |impact= |balance= |suitedness= |construction= |metal= |weight= |appcost= |traderapp= |special= ...... |special5= |shop= |cost= |coin= |shop2= |cost2= |coin2= |shop3= |cost3= |coin3= ..... |shop10= |cost10= |coin10= }}