Template:Infobox: Difference between revisions

744 bytes added ,  01:37, 25 May 2023
Add alternate way of entering star path item info that could be used to force standardized formatting. Requires providing params: from, tier, premium, eventTokens. Has no impact on all existing items.
No edit summary
(Add alternate way of entering star path item info that could be used to force standardized formatting. Requires providing params: from, tier, premium, eventTokens. Has no impact on all existing items.)
Line 192: Line 192:
   {{!}} id="infobox-label" {{!}} Event Cost:
   {{!}} id="infobox-label" {{!}} Event Cost:
   {{!}} {{price|{{{eventprice|}}}}}
   {{!}} {{price|{{{eventprice|}}}}}
}}{{#if:{{{eventTokens|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} Event Cost:
  {{!}} {{#switch:{{{from|}}}
    |Pixar Fest Star Path={{price|{{{eventTokens|}}}|pixartoken}}
    |Villains' Star Path={{price|{{{eventTokens|}}}|villaintoken}}
    |Festive Star Path={{price|{{{eventTokens|}}}|festivetoken}}
    |Centennial Star Path={{price|{{{eventTokens|}}}|centennialtoken}}
    |Disney Parks Star Path={{price|{{{eventTokens|}}}|parkstoken}}
    |#default={{{eventTokens|}}} Tokens}}
}}{{#if:{{{buyprice|}}}|<nowiki/>
}}{{#if:{{{buyprice|}}}|<nowiki/>
   {{!}}-
   {{!}}-
Line 245: Line 255:
           |[[Premium Bundle]]={{inlineIcon|Premium Bundle|link=Premium Shop}}
           |[[Premium Bundle]]={{inlineIcon|Premium Bundle|link=Premium Shop}}
           |Scrooge's Catalog, Scrooge's Store={{inlineIcon|Scrooge's Catalog|link=Scrooge's Store#Catalog}}[[Category:Catalog]]<br>{{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
           |Scrooge's Catalog, Scrooge's Store={{inlineIcon|Scrooge's Catalog|link=Scrooge's Store#Catalog}}[[Category:Catalog]]<br>{{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
          |Pixar Fest Star Path
          |Villains' Star Path
          |Festive Star Path
          |Centennial Star Path
          |Disney Parks Star Path={{name|{{{from|}}}}} (T{{{tier|}}}{{#ifeq:{{{premium|}}}|yes|&nbsp;Premium||}})
           |#default={{{from|}}}}}</span>
           |#default={{{from|}}}}}</span>
}}{{#if:{{{respawnLocation|}}}|<nowiki/>
}}{{#if:{{{respawnLocation|}}}|<nowiki/>
moderator
27,186

edits