Template:Shield: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
m (updated logic and documentation)
Line 3: Line 3:
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
|-
|-
|width="15%"|'''Look:'''||{{{look|''Unknown''}}}
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|-
|-
|'''Core Noun:'''||{{{noun|''Unknown''}}}
|'''Core Noun:'''||{{#if:{{{noun|}}}|{{{noun}}}|''Unknown''}}
|-
|-
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}|''Unknown''}}
|'''Type:'''||{{#If:{{{type|}}}|{{SkillCode|{{{type}}}}}|''Unknown''}}
|-
|-
|'''Hindrance'''||{{{hindrance|''Unknown''}}}
|'''Hindrance:'''||{{#if:{{{hindrance|}}}|{{{hindrance}}}|''Unknown''}}
|-
|-
|'''Protection'''||{{{minprotection|''Unknown''}}} to {{{maxprotection|''Unknown''}}}
|'''Protection:'''||{{#if:{{{minprotection|}}}|{{{minprotection}}}|''Unknown''}} to {{#if:{{{maxprotection|}}}|{{{maxprotection}}}|''Unknown''}}
|-
|-
|'''Damage'''||{{{puncture|''Unknown''}}} puncture damage<br>{{{slice|''Unknown''}}} slice damage<br>{{{impact|''Unknown''}}} impact damage
|'''Damage:'''||{{#if:{{{puncture|}}}|{{{puncture}}}|''Unknown''}} puncture damage<br>{{#if:{{{slice|}}}|{{{slice}}}|''Unknown''}} slice damage<br>{{#if:{{{impact|}}}|{{{impact}}}|''Unknown''}} impact damage
|-
|-
|'''Metal:'''||{{#switch:{{lc:{{{metal|}}}}}|y=Yes|n=No|''Unknown''}}
|'''Metal:'''||{{#if:{{{metal|}}}|{{#switch:{{lc:{{{metal|}}}}}|yes|y=Yes|no|n=No|''Unknown''}}|''Unknown''}}
|-
|-
|'''Weight:'''||{{{weight|''?''}}} stones
|'''Weight:'''||{{#if:{{{weight|}}}|{{{weight}}}|''?''}} stones
|-
|-
| '''Appraised Cost:''' || {{{appcost|''?''}}} Kronars
| '''Appraised Cost:''' ||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronars
|-
|-
{{#if:{{{shop|}}}|
{{#if:{{IfOR|{{{shop|}}}|{{{cost|}}}|
{{#ifeq:{{lc:{{{shop}}}}}|n
{{#ifeq:{{lc:{{{shop}}}}}|n
|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}Not sold
|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}}Not sold
|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>[[{{{shop}}}]]<DD>({{{cost|''Unknown''}}}){{#if:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}})}}</DL>}}
|{{!}} '''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>}}
}}
}}
|-
{{#if: {{{shop|}}} | {{!}}- }}
| '''Special Properties:'''
| '''Special Properties:'''
|{{#ifeq:y|{{lc:{{{magic}}}}}|*This item is magical.|None}}
|{{#ifeq:y|{{lc:{{{magic}}}}}|*This item is magical.|None}}
|}<includeonly>
|}
{{#if:{{{notes|}}}|==Notes==<br>{{{notes}}}}}
<includeonly>
<!-- Adds page to appropriate category based on type -->
<!-- Adds page to appropriate category based on type -->
[[Category:Items]]
[[Category:Items]]
Line 37: Line 35:
<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/new#Forged Equipment|Manual of Style]] for information on listing forged and tanned 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>
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:Shield|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:Shield|discussion page]].
Note: This page is not currently set up to automatically generate category inclusion or <nowiki>{{incomplete}}</nowiki> tags, but will soon.
Note: This page is not currently set up to automatically generate category inclusion or <nowiki>{{incomplete}}</nowiki> tags, but will soon.
Line 65: Line 63:
|shop3=
|shop3=
|cost3=
|cost3=
|notes=(any additional notes)
}}
}}
</pre>
</pre>

Revision as of 01:51, 1 June 2008

{{#if:Template:IfOR
Shield
Look: Unknown
Core Noun: Unknown
Type: Unknown
Hindrance: Unknown
Protection: Unknown to Unknown
Damage: Unknown puncture damage
Unknown slice damage
Unknown impact damage
Metal: Unknown
Weight: ? stones
Appraised Cost: ? Kronars
Special Properties: None

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 category inclusion or {{incomplete}} tags, but will soon.

{{Shield
|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)
|minprotection=(minimum protection value)
|maxprotection=(maximum protection value)
|puncture=(damage when used as a weapon)
|slice=
|impact=
|balance=
|suitedness=
|construction=
|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 appraisal. Given in kronars.)
|magic=(y/n)
|magicnote=(explain magical nature.)
|shop=(shop where it can be bought, put "n" if not sold)
|cost=(the cost at the preceeding shop, add currency type)
|shop2=
|cost2=
|shop3=
|cost3=
}}

Also See