Template:GearIntroTextEx: Difference between revisions

From Inkipedia, the Splatoon wiki
(fix sentence opening when `nogame=true` to be the same style as `nogame=false`)
m (Forgot to change "ordered via urchin" to "ordered from another player" in doc. Also specified "orderable from another player" in regards to catalog-exclusive items.)
Line 83: Line 83:
*<code>Salmon Run</code> - Gotten from Salmon Run
*<code>Salmon Run</code> - Gotten from Salmon Run
*<code>Wandercrust Tour</code> - Gotten from Wandercrust Tour
*<code>Wandercrust Tour</code> - Gotten from Wandercrust Tour
*<code>(any other value)</code> - The text provided will be displayed as-is. Unless if <code>canorder</code> is set, the note on not being purchasable from the respective sea urchin character will be added afterwards.
*<code>(any other value)</code> - The text provided will be displayed as-is. Unless if <code>canorder</code> is set, the note of the item being unavailable for order from another player will be added afterwards.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>catalog</code>||Named, optional.||The season (e.g. "Drizzle Season 2022") whose catalog unlocks this gear.
|<code>catalog</code>||Named, optional.||The season (e.g. "Drizzle Season 2022") whose catalog unlocks this gear.
Line 89: Line 89:
|<code>cataloglevel</code>||Named, optional.||The catalog level that unlocks this gear. Ignored if <code>catalog</code> is not set.
|<code>cataloglevel</code>||Named, optional.||The catalog level that unlocks this gear. Ignored if <code>catalog</code> is not set.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>cataloglocked</code>||Named, optional.||Is this gear locked behind the catalog or not. If present and set to <code>true</code>, will indicate that this gear is only available in shops after getting it from the catalog. Ignored if <code>catalog</code> is not set.
|<code>cataloglocked</code>||Named, optional.||Is this gear item locked behind the catalog? If present and set to <code>true</code>, will indicate that the first instance of the item must be obtained from the catalog before further copies of the item appear on the shop or can be ordered from another player. Ignored if <code>catalog</code> is not set.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>level</code>||Named, optional.||The level requirement for unlocking this gear. Required if <code>availability=Level</code> and ignored otherwise.
|<code>level</code>||Named, optional.||The level requirement for unlocking this gear. Required if <code>availability=Level</code> and ignored otherwise.

Revision as of 05:10, 8 April 2023

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:
  • Headgear
  • Clothing
  • Shoes
plural Unnamed, required. Is the gear singular (e.g. a shirt) or plural (e.g. shoes, glasses, headphones)? Must be one of the following:
  • sg for singular
  • pl for plural
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:
  • 7-Eleven, CoroCoro Comic - Japan-only promotions
  • amiibo - Obtained from an amiibo. Requires amiibo parameter to be set, and enables amiibo2 parameter.
  • Hero Mode - Gotten from Octo Valley or Octo Canyon.
  • Level - Gotten as a reward for reaching a certain level, specified in level.
  • Salmon Run - Gotten from Salmon Run
  • Wandercrust Tour - Gotten from Wandercrust Tour
  • (any other value) - The text provided will be displayed as-is. Unless if canorder is set, the note of the item being unavailable for order from another player will be added afterwards.
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 item locked behind the catalog? If present and set to true, will indicate that the first instance of the item must be obtained from the catalog before further copies of the item appear on the shop or can be ordered from another player. 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.