Template:GearIntroTextEx: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) m (Add support for Catalog and Wandercrust Tour) |
m (removed the mention of Octo Canyon if the game isn't S2 (for Callie and Marie amiibo)) |
||
Line 6: | Line 6: | ||
{{#switch:"{{{availability|}}}" | {{#switch:"{{{availability|}}}" | ||
|"7-Eleven"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a 7-Eleven promotion in Japan. | |"7-Eleven"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a 7-Eleven promotion in Japan. | ||
|"amiibo"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available from the {{{amiibo}}} {{#if:{{{amiibo2|}}}|or the ''Splatoon 2'' series {{{amiibo2}}} }}[[amiibo]]{{#switch:{{{amiibo}}} | |"amiibo"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available from the {{{amiibo}}} {{#if:{{{amiibo2|}}}|or the ''Splatoon 2'' series {{{amiibo2}}} }} [[amiibo]]{{#ifeq:{{{1}}}|S2|{{#switch:{{{amiibo}}} | ||
|Callie | |Callie | ||
|Marie= after completing [[Octo Canyon (mode)|Octo Canyon]] | |Marie= after completing [[Octo Canyon (mode)|Octo Canyon]] | ||
|#default=}}. | |#default=}}|}}. | ||
|"CoroCoro Comic"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a CoroCoro Comic promotion in Japan. | |"CoroCoro Comic"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a CoroCoro Comic promotion in Japan. | ||
|"Hero Mode"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from {{#switch:{{{1|}}}|S=[[Octo Valley (mode)|Octo Valley]]|S2=[[Octo Canyon (mode)|Octo Canyon]]|S3=[[Return of the Mammalians]]|#default=}}. | |"Hero Mode"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from {{#switch:{{{1|}}}|S=[[Octo Valley (mode)|Octo Valley]]|S2=[[Octo Canyon (mode)|Octo Canyon]]|S3=[[Return of the Mammalians]]|#default=}}. |
Revision as of 03:26, 30 September 2022
A chained template, to be used only inside Template:GearIntroText.
Usage
{{GearIntroTextEx|<game>|<category>|<plural>|<brand>|<stars=STARS>|<ability=ABILITY>|<price=PRICE>|<sn2_price=PRICE>|<availability=AVAILABILITY>|<level=LEVEL>|<amiibo=AMIIBO>|<amiibo2=AMIIBO>|<name=NAME>|<euocname=NAME>}}
game |
Unnamed, required. | The game this info is for. Must be S for Splatoon or S2 for Splatoon 2.
|
category |
Unnamed, required. | The type of gear. Must be one of the following:
|
plural |
Unnamed, required. | Is the gear singular (e.g. a shirt) or plural (e.g. shoes, glasses, headphones)? Must be one of the following:
|
brand |
Unnamed, required. | The gear's brand. |
stars |
Named, optional. | The gear's star rating. Must be 1 , 2 or 3 .
|
ability |
Named, optional. | The gear's main ability. If excluded (e.g. Grizzco Equipment), the text will indicate this gear does not have a default main ability. |
price |
Named, optional. | The gear's price in the shops. |
sn2_price |
Named, optional. | The gear's price in Splatoon 2, when purchased through SplatNet Gear Shop. |
availability |
Named, optional. | If this gear cannot be obtained by normal means (shops or Spyke / Murch), must specify where is it obtainable from. Can be:
|
level |
Named, optional. | The level requirement for unlocking this gear. Required if availability=Level and ignored otherwise.
|
amiibo |
Named, optional. | The amiibo that grants this piece of gear. Required if availability=amiibo and ignored otherwise.
|
amiibo2 |
Named, optional. | An additional amiibo that grants this piece of gear. Optional if availability=amiibo and ignored otherwise.
|
nogame |
Named, optional. | If present and equal to true , the first sentence will not mention the game name.
|