Template:GearIntroTextEx: Difference between revisions
From Inkipedia, the Splatoon wiki
(Adding cataloglocked parameter and fixing capitalization error) |
(Adding support for split amiibo gear names (e.g. School Uniform).) |
||
Line 3: | Line 3: | ||
|S2=''Splatoon 2'' | |S2=''Splatoon 2'' | ||
|S3=''Splatoon 3'' | |S3=''Splatoon 3'' | ||
|#default=''{{{1}}}''}}, {{#ifeq:{{{3|}}}|pl|they are|it is}}}} | |#default=''{{{1}}}'' | ||
}}, {{#if:{{{name_a|}}} | |||
|they are | |||
|{{#ifeq:{{{3|}}}|pl|they are|it is}} a | |||
}} {{{stars}}}-star item{{#if:{{{name_a|}}}|s|}} produced by [[{{{4}}}]]{{#if:{{{name_a|}}} | |||
|, each | |||
| and | |||
}} come{{#ifeq:{{{3|}}}|pl||s}} with {{#if:{{{ability|}}}|the primary [[ability]] {{#ifeq:{{{ability}}}|Recon|[[Recon (ability)|Recon]]|[[{{{ability}}}]]}}|a random primary [[ability]] generated when {{#if:{{{name_a|}}} | |||
|they are | |||
|{{#ifeq:{{{3|}}}|pl|they are|it is}} | |||
}} received}}. | |||
{{#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]]{{#ifeq:{{{1}}}|S2|{{#switch:{{{amiibo}}} | |"amiibo"={{#if:{{{name_a|}}} | ||
|They are | |||
|{{#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]] | ||
Line 16: | Line 29: | ||
|S3 =[[Return of the Mammalians]] | |S3 =[[Return of the Mammalians]] | ||
|#default =a [[Hero Mode]] campaign}}. | |#default =a [[Hero Mode]] campaign}}. | ||
|"Mem cake"={{#ifeq:{{{3|}}}|pl|They are|It is}} obtained from the | |"Mem cake"={{#ifeq:{{{3|}}}|pl|They are|It is}} obtained from the {{OE}} by talking to [[Iso Padre]] after collecting {{{mem_sets|zero}}} set{{#ifeq:{{{mem_sets|}}}|one||s}} of [[mem cake]]s (including grayscale mem cakes). {{#ifeq:{{{3|}}}|pl|They|It}} must then be claimed from a box in [[Inkopolis Square]] after completing the ''Octo Expansion''. | ||
|"Level"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from Judd for reaching [[Level]] {{{level}}}. | |"Level"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from Judd for reaching [[Level]] {{{level}}}. | ||
|"Salmon Run"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from {{#switch:{{{1|}}} | |"Salmon Run"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from {{#switch:{{{1|}}} | ||
Line 26: | Line 39: | ||
|""={{#if:{{{catalog|}}}|{{#ifeq:{{{3|}}}|pl|They|It}} {{#ifeq:{{{cataloglocked|false}}}|true|must first be unlocked|can be obtained}} through {{#if:{{{cataloglevel|}}}|levelling up the [[{{{catalog}}}]] [[Catalog]] to level {{{cataloglevel}}}|the [[{{{catalog}}}]] [[Catalog]]}}{{#if:{{{price|}}}|, {{#ifeq:{{{cataloglocked|false}}}|true|then|or}} {{#ifeq:{{{3|}}}|pl|they|it}} can be purchased from [[{{ShopFromCategory|{{{1|S}}}|{{{2}}}}}]] for {{Cost|{{{1|S}}}|{{{price}}}|cash|link}}}}|{{#if:{{{price|}}}|{{#ifeq:{{{3|}}}|pl|They|It}} can be purchased from [[{{ShopFromCategory|{{{1|S}}}|{{{2}}}}}]] for {{Cost|{{{1|S}}}|{{{price}}}|cash|link}}}}{{#if:{{{sn2_price|{{{sn3_price|}}}}}}| or}}|{{#ifeq:{{{3|}}}|pl|They are|It is}} available as starting gear{{#if:{{{sn2_price|{{{sn3_price|}}}}}}|. {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|{{{sn3_price|}}}}}}| from {{#if:{{{sn2_price|}}}|[[SplatNet 2#Shop|SplatNet 2 Gear Shop]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}{{#if:{{{sn3_price|}}}|[[SplatNet 3#Shop|SplatNet 3 Shop]] for {{Cost|S3|{{{sn3_price}}}|cash|link}}}}}}.|#default={{{availability}}}{{#if:{{{sn2_price|}}}| {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased from [[SplatNet 2#Shop|SplatNet Gear Shop]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}.}}{{#if:{{{sn3_price|}}}| {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased from [[SplatNet 3#Shop|SplatNet 3 Shop]] for {{Cost|S3|{{{sn3_price}}}|cash|link}}.}}}}{{#if:{{{availability|}}}|{{#if:{{{sn2_price|{{{sn3_price|}}}}}}{{{canorder|}}}|| {{#ifeq:{{{3|}}}|pl|They|It}} cannot be ordered{{#switch:{{{1|S}}} | |""={{#if:{{{catalog|}}}|{{#ifeq:{{{3|}}}|pl|They|It}} {{#ifeq:{{{cataloglocked|false}}}|true|must first be unlocked|can be obtained}} through {{#if:{{{cataloglevel|}}}|levelling up the [[{{{catalog}}}]] [[Catalog]] to level {{{cataloglevel}}}|the [[{{{catalog}}}]] [[Catalog]]}}{{#if:{{{price|}}}|, {{#ifeq:{{{cataloglocked|false}}}|true|then|or}} {{#ifeq:{{{3|}}}|pl|they|it}} can be purchased from [[{{ShopFromCategory|{{{1|S}}}|{{{2}}}}}]] for {{Cost|{{{1|S}}}|{{{price}}}|cash|link}}}}|{{#if:{{{price|}}}|{{#ifeq:{{{3|}}}|pl|They|It}} can be purchased from [[{{ShopFromCategory|{{{1|S}}}|{{{2}}}}}]] for {{Cost|{{{1|S}}}|{{{price}}}|cash|link}}}}{{#if:{{{sn2_price|{{{sn3_price|}}}}}}| or}}|{{#ifeq:{{{3|}}}|pl|They are|It is}} available as starting gear{{#if:{{{sn2_price|{{{sn3_price|}}}}}}|. {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|{{{sn3_price|}}}}}}| from {{#if:{{{sn2_price|}}}|[[SplatNet 2#Shop|SplatNet 2 Gear Shop]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}{{#if:{{{sn3_price|}}}|[[SplatNet 3#Shop|SplatNet 3 Shop]] for {{Cost|S3|{{{sn3_price}}}|cash|link}}}}}}.|#default={{{availability}}}{{#if:{{{sn2_price|}}}| {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased from [[SplatNet 2#Shop|SplatNet Gear Shop]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}.}}{{#if:{{{sn3_price|}}}| {{#ifeq:{{{3|}}}|pl|They|It}} can also be purchased from [[SplatNet 3#Shop|SplatNet 3 Shop]] for {{Cost|S3|{{{sn3_price}}}|cash|link}}.}}}}{{#if:{{{availability|}}}|{{#if:{{{sn2_price|{{{sn3_price|}}}}}}{{{canorder|}}}|| {{#ifeq:{{{3|}}}|pl|They|It}} cannot be ordered{{#switch:{{{1|S}}} | ||
|S= through [[Spyke]] | |S= through [[Spyke]] | ||
|S2 | |S2 | ||
|S3= through [[Murch]] | |S3= through [[Murch]] | ||
|#default=}}.}}|}}</includeonly><noinclude>A chained template, to be used only inside [[:Template:GearIntroText]]. | |#default=}}.}}|}}</includeonly><noinclude>A chained template, to be used only inside [[:Template:GearIntroText]]. | ||
==Usage== | ==Usage== | ||
{{t|GearIntroTextEx|game|category|plural|brand|stars{{=}}STARS|ability{{=}}ABILITY|price{{=}}PRICE|sn2_price{{=}}PRICE|availability{{=}}AVAILABILITY|level{{=}}LEVEL|amiibo{{=}}AMIIBO|amiibo2{{=}}AMIIBO| | {{t|GearIntroTextEx|game|category|plural|brand|stars{{=}}STARS|ability{{=}}ABILITY|price{{=}}PRICE|sn2_price{{=}}PRICE|availability{{=}}AVAILABILITY|level{{=}}LEVEL|amiibo{{=}}AMIIBO|amiibo2{{=}}AMIIBO|catalog{{=}}SEASON|cataloglevel{{=}}LEVEL|name{{=}}NAME|euocname{{=}}NAME|name_a{{=}}NAME}} | ||
{| class="wikitable" | {| class="wikitable" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" |
Revision as of 16:15, 11 December 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>|<catalog=SEASON>|<cataloglevel=LEVEL>|<name=NAME>|<euocname=NAME>|<name_a=NAME>}}
game |
Unnamed, required. | The game this info is for. Must be S for Splatoon, S2 for Splatoon 2, or S3 for Splatoon 3.
|
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:
|
catalog |
Named, optional. | The season (e.g. "Drizzle Season 2022") whose catalog unlocks this gear. |
cataloglevel |
Named, optional. | The catalog level that unlocks this gear. Ignored if catalog is not set.
|
cataloglocked |
Named, optional. | Is this gear locked behind the catalog or not. If present and set to true , will indicate that this gear is only available in shops after getting it from the catalog. Ignored if catalog is not set.
|
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.
|
mem_sets |
Named, optional. | The number (in letters, e.g. "one") of mem cake sets required to obtain this piece of gear from Iso Padre in Octo Expansion. Required if availability=Mem cake and ignored otherwise.
|
nogame |
Named, optional. | If present and equal to true , the first sentence will not mention the game name.
|