Template:DropTable/row: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
mNo edit summary
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{{itemName|}}}|
<includeonly>{{#ifeq:{{{itemtype|}}}|Divider|{{DropTable/separator|rarity={{{tabletype|TableType Error}}}|rolls={{{quantity|1}}}|chance={{{droprate|0}}}|{{{item|ItemName Error}}}}}|<tr>
        {{!}}-
<td>{{#switch:{{{itemtype|}}}
        {{!}}[[File:{{{itemName}}}.png|50px|link={{{itemName}}}]]
|Item=[[File:{{{item}}}.png|link={{{item}}}]]
        {{!}}[[{{{itemName}}}]] ({{#if:{{{itemQuest|}}}|itemQuest}})
|Recipe=[[File:{{#switch:{{{rectier|0}}}|1=Beginner|2=Novice|3=Apprentice|4=Journeyman|5=Adept|6=Master|#default=Unknown}}_Recipe.png|link={{{item|}}}]]
        {{!}}{{{itemQuantity}}}
|Talent=[[File:Special Talent Book.png|link=Special Talents]]
        {{!}}{{chancedisplay|{{{itemChance}}}}}}}
|Coin=[[File:Coins.gif|link=Coins]]
|Card=[[File:{{{item}}}.png{{!}}link=Cards]]
|#default=
}}</td>
<td>{{#switch:{{{itemtype|}}}
|Item=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}}|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]]
|Recipe=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}} (Recipe)|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]]
|Talent=[[Special Talents#{{{item|}}}|{{{item|}}} (Special Talent Book)]]
|Coin={{Coindisplay|{{{item|}}}}}
|Card=[[{{{item|{{PAGENAME}} Card}}}]]
|#default=
}}{{#if:{{{special|}}}{{{special|}}}}}</td>
<td style="text-align:center;">{{{quantity|}}}</td>
<td>{{Chancedisplay|{{{droprate|}}}}}</td>
</tr>}}</includeonly><noinclude>[[category:Table templates]]</noinclude>

Latest revision as of 23:09, 8 October 2024