Template:GemshopData: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
Tag: Reverted
m (Undo revision 69322 by Kiokurashi (talk))
Tag: Undo
Line 6: Line 6:
   |name=String
   |name=String
   |mtxName=String
   |mtxName=String
  |itemDisplayName=String
   |description=Wikitext
   |description=Wikitext
   |cost=Integer
   |cost=Integer
Line 17: Line 16:
--><includeonly>{{#ifeq:{{{name|Blank}}}|Blank||{{#cargo_store:_table=GemshopData
--><includeonly>{{#ifeq:{{{name|Blank}}}|Blank||{{#cargo_store:_table=GemshopData
   |section={{{section|Sectionless}}}
   |section={{{section|Sectionless}}}
   |name={{#if:{{{itemDisplayName|}}}|{{{itemDisplayName}}}|{{{mtxName|Not yet}}}}}
   |name={{#switch:{{#sub:{{{name|}}}|0|3}}
    |Gem={{{mtxName|Missing MTX Name}}}
    |Pda=Daily {{#ifeq:{{#sub:{{{name|}}}|-1|1}}|0|Teleports|Minigame Plays}}
    |{{#if:{{{itemDisplayName|}}}|{{{itemDisplayName}}}|Gem}} <!-- default to displaying a Gem -->
  }}
   |mtxName={{{mtxName|Gem Shop MTX Name}}}
   |mtxName={{{mtxName|Gem Shop MTX Name}}}
   |description={{{description|Buy a thing, get a thing!}}}
   |description={{{description|Buy a thing, get a thing!}}}

Revision as of 01:03, 2 April 2023

This template defines the table "GemshopData". View table.

{{GemshopData
 |section=Hats
 |name=Strawbiggy
 |itemName=Strawbiggy
 |desc=This is the ACTUAL strawberry from the Buddhist story about the Tiger and the Strawberry. No wonder the dangling man thought it so tasty!
 |cost=250
 |maxPurchases=100000
 |costIncrement=0
}}