Template:InfoItem: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 61: | Line 61: | ||
}}<!-- | }}<!-- | ||
--><Infobox> | -->[[File:{{PAGENAME}}.png]]<Infobox> | ||
<title><default>{{#if:{{#var:SlabNum}}|<div class="SlabNum">[[File:The Slab Icon.png|28px|link=The Slab]][[The Slab|<span>{{#var:SlabNum}}</span>]]</div>}} {{PAGENAME}}</default></title> | <title><default>{{#if:{{#var:SlabNum}}|<div class="SlabNum">[[File:The Slab Icon.png|28px|link=The Slab]][[The Slab|<span>{{#var:SlabNum}}</span>]]</div>}} {{PAGENAME}}</default></title> | ||
<panel> | <panel> | ||
Line 67: | Line 67: | ||
<image> | <image> | ||
<default> | <default> | ||
{{#ifeq:{{{type|}}}|Dungeon Evaporate||[[ | {{#ifeq:{{{type|}}}|Dungeon Evaporate||[[File:{{PAGENAME}}.png]]}} | ||
</default> | </default> | ||
</image> | </image> |
Revision as of 21:21, 18 February 2023
This template defines the table "Items". View table.
Usage: {{InfoItem |type=example (needs to be included every time) |class=example |level=example |skill=example |skillpower=example (needs a defined skill to display correctly) |weaponpower=example |str=example |agi=example |wis=example |luck=example |reach=example (only for weapons) |speed=example (only for weapons) |misc=example |defence=example |upgrade=example |quest=example (only for quest items) |description=example |notes=example |sellprice=example |rarity=example (for obols) |tier=example (for upgrade stones) |source=example |quest=example |hascard=Yes/No (for ores, logs, fish and bugs) }} Don't have empty definitions, that will produce empty fields. If there is no description for example, don't include a description= at all.