Difference between revisions of "Template:MagicItemBox"

From Legends of Hyrule
Jump to navigationJump to search
m
Line 1: Line 1:
 
<div>{{#if:{{{image|}}}|<div style="float:right; max-width: {{{imagepx|800}}}px;" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>Source</small>]}}</span></div>}}
 
<div>{{#if:{{{image|}}}|<div style="float:right; max-width: {{{imagepx|800}}}px;" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>Source</small>]}}</span></div>}}
<div style="font-family:insanitybook; font-size:16px;" >''{{ucfirst:{{{type|wondrous item}}}}}{{#if:{{{subtype|}}}|&nbsp;({{{subtype}}})}}, {{{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:insanitybook; font-size:16px; max-width:800px;" >''{{ucfirst:{{{type|wondrous item}}}}}{{#if:{{{subtype|}}}|&nbsp;({{{subtype}}})}}, {{{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:{{{type|wondrous item}}}s]] {{#if:{{{subtype|}}}|[[Category:{{{subtype|}}}]]}}
 
<includeonly>[[Category:{{{type|wondrous item}}}s]] {{#if:{{{subtype|}}}|[[Category:{{{subtype|}}}]]}}
 
[[Category:{{{rarity|uncommon}}}]]
 
[[Category:{{{rarity|uncommon}}}]]

Revision as of 16:20, 10 July 2019

Wondrous item, uncommon major

You search all around, but find nothing.

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=Defaults to 800.
}}
{{MagicItemBox
|rarity=
|m=
|type=
|subtype=
|attunement=
|cost=
|
}}