Difference between revisions of "Template:ItemBox"

From Legends of Hyrule
Jump to navigationJump to search
m
Line 1: Line 1:
<div style="font-size:16px; font-family:'scalysans'; width:{{EntryWidth}};">{{#if:{{{summary|}}}|{{{summary|A '''longsword''' is a martial melee weapon.}}}<br/><br/>|}}{{#if:{{{ac|}}}|'''''Armor Class.''''' {{{ac|}}}<br/>}}{{#if:{{{damage|}}}|'''''Damage.''''' {{{damage|}}}<br/>}}{{#if:{{{properties|}}}|'''''Properties.''''' {{{properties|[[Versatile]] (1d10)}}}<br/>}}'''''Cost.''''' {{{cost|100}}} [[rupees|rupee{{#ifeq:{{{cost|}}}|1| |s}}]]<br/>{{#if:{{{strength|}}}|'''''Strength required.''''' {{{strength|Str 15}}}<br/>}}{{#if:{{{stealth|}}}|'''''Stealth.''''' [[Disadvantage]]<br/>}}'''''Weight.''''' {{{weight|1}}} lb.<br/>
+
<div style="font-size:16px; font-family:'scalysans'; max-width: {{{px|800}}}px;">{{#if:{{{image|}}}|{{image
 +
|image={{{image|}}}
 +
|imagelink={{{imagelink|}}}
 +
|imagepx={{{imagepx|}}}}}}}{{#if:{{{summary|}}}|{{{summary|A '''longsword''' is a martial melee weapon.}}}<br/><br/>|}}{{#if:{{{ac|}}}|'''''Armor Class.''''' {{{ac|}}}<br/>}}{{#if:{{{damage|}}}|'''''Damage.''''' {{{damage|}}}<br/>}}{{#if:{{{properties|}}}|'''''Properties.''''' {{{properties|[[Versatile]] (1d10)}}}<br/>}}'''''Cost.''''' {{{cost|100}}} [[rupees|rupee{{#ifeq:{{{cost|}}}|1| |s}}]]<br/>{{#if:{{{strength|}}}|'''''Strength required.''''' {{{strength|Str 15}}}<br/>}}{{#if:{{{stealth|}}}|'''''Stealth.''''' [[Disadvantage]]<br/>}}'''''Weight.''''' {{{weight|1}}} lb.<br/>
 
</div>
 
</div>
 
<includeonly>[[Category:Items]]</includeonly><noinclude>[[Category:Templates]]
 
<includeonly>[[Category:Items]]</includeonly><noinclude>[[Category:Templates]]
Line 16: Line 19:
 
|stealth=Optional.
 
|stealth=Optional.
 
|strength=Str 15
 
|strength=Str 15
 +
|image=
 +
|imagelink=
 +
|imagepx=
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Revision as of 14:40, 28 December 2020

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.
|stealth=Optional.
|strength=Str 15
|image=
|imagelink=
|imagepx=
}}