Template:RNGItem: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><table class="Infobox Rarity-{{{rarity}}}" style="max-width:25%;float:left;border-color:{{{rarity}}}"><tr><th colspan="4" style="text-align:center;">{{{name}}}</th></tr>
<includeonly><infobox theme="RNG-Item" theme-source="rarity">
<tr><td colspan="4" style="text-align:center">[[File:{{{name}}}.png]]</td></tr>
<title>
<tr><th colspan="4" style="text-align:center">Description</th></tr>
<default>{{{name}}}</default>
<tr><td>{{{desc}}}</td></tr>
</title>
<tr><th colspan="4" style="text-align:center">Increase per level</th></tr>
<image>
<tr><td>{{{increment}}}</td></tr>
        <default>[[File:{{{name}}}.png]]</default>
<tr><th colspan="4" style="text-align:center">Unlock Requirement</th></tr>
    </image>
<tr><td>{{#if:{{{achievement|}}}|Unlock this item by completing the '[[Achievements|{{{achievement}}}]]' from {{{world}}}|Unlocked from the start}}</td></tr>
    <header>Description</header>
</table></includeonly><noinclude>
<data source="desc" />
<pre>
    <header>Increase per level</header>
<data source="increment" />
    <header>Unlock Requirement</header>
<data source="achievement">
        <format>Unlock this item by completing '[[Achievements|{{{achievement}}}]]' from {{{world}}}</format>
        <default>Unlocked from the start</default>
</data>
</infobox></includeonly><noinclude><pre>
{{RNGItem
{{RNGItem
|name=example
|name=example
|rarity=example (Common, Uncommon, Rare, Epic, Legendary)
|desc=example
|desc=example
|increment=example
|increment=example
|achievement=what achievement unlocks this item, if unknown enter ???. If item is unlocked from the start, don't include this variable at all.
|achievement=what achievement unlocks this item, if unknown enter ???. If item is unlocked from the start, don't include this variable at all.
|world=Which world the achivement belongs to
|world=Which world the achievement belongs to
|maxlvl=example
|maxlvl=example
}}
}}
</pre>
</pre>[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 04:54, 27 February 2023

{{RNGItem
|name=example
|rarity=example (Common, Uncommon, Rare, Epic, Legendary)
|desc=example
|increment=example
|achievement=what achievement unlocks this item, if unknown enter ???. If item is unlocked from the start, don't include this variable at all.
|world=Which world the achievement belongs to
|maxlvl=example
}}