Template:DropTable/row: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) mNo edit summary |
Kiokurashi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{itemtype|}}}|Divider|{{DropTable/separator|rarity={{{tabletype|TableType Error}}}|rolls={{{quantity|1}}}|chance={{{droprate|0}}}|{{{item|ItemName Error}}}}}|<tr><td>{{{ | <includeonly>{{#ifeq:{{{itemtype|}}}|Divider|{{DropTable/separator|rarity={{{tabletype|TableType Error}}}|rolls={{{quantity|1}}}|chance={{{droprate|0}}}|{{{item|ItemName Error}}}}}|<tr> | ||
<td>{{#switch:{{{itemtype|}}} | |||
|Item=[[File:{{{item}}}.png|link={{{item}}}]] | |||
|Recipe=[[File:{{#switch:{{{rectier|0}}}|1=Beginner|2=Novice|3=Apprentice|4=Journeyman|5=Adept|6=Master|#default=Unknown}}_Recipe.png|link={{{item|}}}]] | |||
|Talent=[[File:Special Talent Book.png|link=Special Talents]] | |||
|Coin=[[File:Coins.gif|21px|link=]] | |||
|Card=[[File:{{{item}}}.png{{!}}link=Cards]] | |||
|#default= | |||
}}</td> | |||
<td>{{#switch:{{{itemtype|}}} | |||
|Item=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}}|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]] | |Item=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}}|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]] | ||
|Recipe=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}} (Recipe)|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]] | |Recipe=[[{{{item|}}}|{{#simple-tooltip:{{{item|}}} (Recipe)|{{ItemDetails|{{{item|}}}|tooltip=yes}}}}]] | ||
Line 6: | Line 15: | ||
|Card=[[{{{item|{{PAGENAME}} Card}}}]] | |Card=[[{{{item|{{PAGENAME}} Card}}}]] | ||
|#default= | |#default= | ||
}}{{#if:{{{special|}}}| {{{special|}}}}} | }}{{#if:{{{special|}}}| {{{special|}}}}}</td> | ||
</td><td style="text-align:center;">{{{quantity|}}}</td><td>{{Chancedisplay|{{{droprate|}}}}}</td></tr>}}</includeonly><noinclude>[[category:Table templates]]</noinclude> | <td style="text-align:center;">{{{quantity|}}}</td> | ||
<td>{{Chancedisplay|{{{droprate|}}}}}</td> | |||
</tr>}}</includeonly><noinclude>[[category:Table templates]]</noinclude> |