Template:DropTable/row: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{itemtype|}}}|Divider|{{DropTable/separator|rarity={{{tabletype|TableType Error}}}|{{{item|ItemName Error}}}}}|<tr><td>{{{image|}}}</td><td>{{#switch:{{{itemtype|}}}
<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|link=Coins]]
|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>

Latest revision as of 23:09, 8 October 2024