Difference between revisions of "Template:MagicItemBox"
From Legends of Hyrule
Jump to navigationJump to search (Created page with "''{{ucfirst:{{{type|wondrous item}}}}}{{#if:{{{subtype|}}}| ({{{subtype}}})}}, {{{rarity|uncommon}}} {{{m|major}}} {{#if:{{{attunement|}}}|({{{attunement}}})}}{{#if:{{{co...") |
m |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | ''{{ucfirst:{{{type|wondrous item}}}}}{{#if:{{{subtype|}}}| ({{{subtype}}})}}, {{{rarity|uncommon}}} {{{m|major}}} {{#if:{{{attunement|}}}|({{{attunement}}})}}{{#if:{{{cost|}}}|<br/>{{{cost|}}} [[rupees]]}}'' | + | <div style="max-width: {{{px|800}}}px;">{{#if:{{{image|}}}|{{image |
− | + | |image={{{image|}}} | |
− | {{#if:{{{description|}}}|{{{description|}}}|{{{1| | + | |imagelink={{{imagelink|}}} |
− | <noinclude> | + | |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|[[Table of {{ucfirst:{{{rarity|uncommon}}}}} {{ucfirst:{{{m|major}}}}} Magic Items|{{{rarity|uncommon}}}]]}} {{#ifeq:{{{rarity|}}}|varies|{{{m|major}}}|[[Table of {{ucfirst:{{{rarity|uncommon}}}}} {{ucfirst:{{{m|major}}}}} Magic Items|{{{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]] | ||
+ | [[Category:{{{type|wondrous item}}}s]] | ||
+ | {{#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:{{{master|}}}|[[Category:Master]]}}{{#if:{{{mythic|}}}|[[Category:Mythic]]}}|[[Category:{{{rarity|uncommon}}}]]}} | ||
+ | [[Category:{{{m|major}}}]]</includeonly><noinclude> | ||
+ | ==Usage== | ||
<pre> | <pre> | ||
{{MagicItemBox | {{MagicItemBox | ||
Line 13: | Line 18: | ||
|cost=Cost in rupees. Optional. Usually only included for common or uncommon items. | |cost=Cost in rupees. Optional. Usually only included for common or uncommon items. | ||
|Here goes your lovely description. | |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 | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 12:33, 1 January 2021
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= | }}