Template:GemshopData: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Tag: Reverted
Line 6: Line 6:
   |name=String
   |name=String
   |mtxName=String
   |mtxName=String
  |itemDisplayName=String
   |description=Wikitext
   |description=Wikitext
   |cost=Integer
   |cost=Integer
Line 16: Line 17:
--><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={{#switch:{{#sub:{{{name|}}}|0|3}}
   |name={{#if:{{{itemDisplayName|}}}|{{{itemDisplayName}}}|{{{mtxName|Not yet}}}}}
    |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 00:55, 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
}}