Difference between revisions of "Template:ItemBox"

From Legends of Hyrule
Jump to navigationJump to search
m
(nocat support)
 
(3 intermediate revisions by the same user not shown)
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
 +
|permission={{{permission|}}}
 +
|source={{{source|source}}}
 +
|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>{{#if:{{{nocat|}}}||[[Category:Items]]}}</includeonly><noinclude>[[Category:Templates]]
  
 
==Usage==
 
==Usage==
Line 16: Line 21:
 
|stealth=Optional.
 
|stealth=Optional.
 
|strength=Str 15
 
|strength=Str 15
 +
|image=
 +
|imagelink=
 +
|imagepx=
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Latest revision as of 03:04, 3 April 2024

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