Template:DropTable/row: Difference between revisions

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