Difference between revisions of "Template:MagicItemBox"

From Legends of Hyrule
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
<includeonly>[[Category:Magic items]]
 
<includeonly>[[Category:Magic items]]
 
[[Category:{{{type|wondrous item}}}s]]
 
[[Category:{{{type|wondrous item}}}s]]
{{#ifeq:{{{rarity|}}}|varies|{{#if:{{{common|}}}|[[Category:Common]]}}{{#if:{{{uncommon|}}}|[[Category:Unommon]]}}{{#if:{{{rare|}}}|[[Category:Rare]]}}{{#if:{{{veryrare|}}}|[[Category:Very rare]]}}{{#if:{{{legendary|}}}|[[Category:Legendary]]}}{{#if:{{{epic|}}}|[[Category:Epic]]}}{{#if:{{{mythic|}}}|[[Category:Mythic]]}}|[[Category:{{{rarity|uncommon}}}]]}}
+
{{#ifeq:{{{rarity|}}}|varies|{{#if:{{{common|}}}|[[Category:Common]]}}{{#if:{{{uncommon|}}}|[[Category:Uncommon]]}}{{#if:{{{rare|}}}|[[Category:Rare]]}}{{#if:{{{veryrare|}}}|[[Category:Very rare]]}}{{#if:{{{legendary|}}}|[[Category:Legendary]]}}{{#if:{{{epic|}}}|[[Category:Epic]]}}{{#if:{{{mythic|}}}|[[Category:Mythic]]}}|[[Category:{{{rarity|uncommon}}}]]}}
 
[[Category:{{{m|major}}}]]
 
[[Category:{{{m|major}}}]]
 
{{#if:{{{attunement|}}}|[[Category:Magic items requiring attunement]]|[[Category:Magic items not requiring attunement]]}}</includeonly><noinclude>
 
{{#if:{{{attunement|}}}|[[Category:Magic items requiring attunement]]|[[Category:Magic items not requiring attunement]]}}</includeonly><noinclude>

Revision as of 17:49, 19 October 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=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=
|
}}