Difference between revisions of "Template:ItemBox"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "<div style="font-size:16px; font-family:'scalysans';">{{#if:{{{summary|}}}|{{{summary|A '''longsword''' is a martial melee weapon.}}}<br/><br/>|}}'''''Cost.''''' {{{cost|100}}...")
 
Line 1: Line 1:
<div style="font-size:16px; font-family:'scalysans';">{{#if:{{{summary|}}}|{{{summary|A '''longsword''' is a martial melee weapon.}}}<br/><br/>|}}'''''Cost.''''' {{{cost|100}}} rupee{{#ifeq:{{{cost|}}}|1| |s}}<br/>'''''Weight.''''' {{{weight|1}}} lb.<br/>{{#if:{{{damage|}}}|'''''Damage.''''' {{{damage|}}}<br/>}}{{#if:{{{properties|}}}|'''''Properties.''''' {{{properties|[[Versatile]] (1d10)}}}<br/>}}
+
<div style="font-size:16px; font-family:'scalysans';">{{#if:{{{summary|}}}|{{{summary|A '''longsword''' is a martial melee weapon.}}}<br/><br/>|}}'''''Cost.''''' {{{cost|100}}} rupee{{#ifeq:{{{cost|}}}|1| |s}}<br/>'''''Weight.''''' {{{weight|1}}} lb.<br/>{{#if:{{{ac|}}}|'''''Armor Class.''''' {{{ac|}}}<br/>}}{{#if:{{{damage|}}}|'''''Damage.''''' {{{damage|}}}<br/>}}{{#if:{{{properties|}}}|'''''Properties.''''' {{{properties|[[Versatile]] (1d10)}}}<br/>}}
 
</div>
 
</div>
 
<includeonly>[[Category:Items]]</includeonly><noinclude>[[Category:Templates]]
 
<includeonly>[[Category:Items]]</includeonly><noinclude>[[Category:Templates]]
Line 11: Line 11:
 
|weight=
 
|weight=
 
|summary=Optional.
 
|summary=Optional.
 +
|ac=Optional.
 
|damage=Optional.
 
|damage=Optional.
 
|properties=Optional.
 
|properties=Optional.
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Revision as of 17:00, 11 July 2019

Cost. 100 rupees
Weight. 1 lb.

Usage

Used for the pages of nonmagical items.

{{ItemBox
|cost=
|weight=
|summary=Optional.
|ac=Optional.
|damage=Optional.
|properties=Optional.
}}