Template:Shield: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 28: Line 28:
|{{#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}}
|{{#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}}
|}
|}
<font size="1">[[Special:EditData/Shield/{{NAMESPACE}}:{{PAGENAME}}|Edit this InfoBox via form]]</font><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]]}}}}{{#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>
[[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>
<noinclude>
<noinclude>
==Usage Documentation==
==Usage Documentation==

Revision as of 18:48, 12 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):
Unknown
Unknown
Special Properties:
  • None

</includeonly>

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=
}}

Also See