Difference between revisions of "Template:MagicItemBox"
From Legends of Hyrule
Jump to navigationJump to search (test) |
m |
||
Line 3: | Line 3: | ||
|imagelink={{{imagelink|}}} | |imagelink={{{imagelink|}}} | ||
|imagepx={{{imagepx|}}}}}}} | |imagepx={{{imagepx|}}}}}}} | ||
− | <div style="font-family:bookinsanity; font-size:16px; max-width:800px;" >''{{ucfirst:{{{type|wondrous item}}}}}{{#if:{{{subtype|}}}| ({{{subtype}}})}}, {{#ifeq:{{{rarity|}}}|varies|rarity varies|{{{rarity|uncommon}}}}} {{{m|major}}} {{#if:{{{attunement|}}}|({{{attunement}}})}}{{#if:{{{cost|}}}|<br/>{{{cost|}}} [[rupees]]}}''<br/><br/>{{#if:{{{description|}}}|{{{description|}}}|{{{1|<s>You search all around, but find nothing.</s>}}}}}</div></div> | + | <div style="font-family:bookinsanity; font-size:16px; max-width:800px;" >''[[{{ucfirst:{{{type|wondrous item}}}}}]]{{#if:{{{subtype|}}}| ({{{subtype}}})}}, {{#ifeq:{{{rarity|}}}|varies|rarity varies|{{{rarity|uncommon}}}}} {{{m|major}}} {{#if:{{{attunement|}}}|({{{attunement}}})}}{{#if:{{{cost|}}}|<br/>{{{cost|}}} [[rupees]]}}''<br/><br/>{{#if:{{{description|}}}|{{{description|}}}|{{{1|<s>You search all around, but find nothing.</s>}}}}}</div></div> |
<includeonly>[[Category:Magic items]] | <includeonly>[[Category:Magic items]] | ||
[[Category:{{{type|wondrous item}}}s]] | [[Category:{{{type|wondrous item}}}s]] |
Revision as of 15:02, 28 January 2020
Usage
{{MagicItemBox |rarity=defaults to "uncommon" if left blank |m="minor" or "major"; defaults to major if left blank |type=defaults to "wondrous item" if left blank |subtype=optinal |attunement="requires attunement" or leave blank |cost=Cost in rupees. Optional. Usually only included for common or uncommon items. |Here goes your lovely description. |image= |imagelink= |imagepx=max width of the image; defaults to 800 |px=max width of the entire box; defaults to 800 }}
{{MagicItemBox |rarity= |m= |type= |subtype= |attunement= |cost= | }}