Template:GearIntroText: Difference between revisions

From Inkipedia, the Splatoon wiki
(Some items sold in shops in Splatoon 2 version 3 were available through level-up previously. Changed the template to support this.)
(Use Template:Shop for SplatNet 2)
Line 11: Line 11:
|"CoroCoro Comic"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a {{Availability|CoroCoro Comic}} promotion in Japan.
|"CoroCoro Comic"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a {{Availability|CoroCoro Comic}} promotion in Japan.
|"Hero Mode"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Availability|Octo {{#if:{{{s_stars|}}}|Valley|Canyon}}}}{{#if:{{{amiibo|}}}|  in ''Splatoon'' or through the {{amiibo|{{{amiibo}}}}} [[amiibo]] in ''Splatoon 2''}}.
|"Hero Mode"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Availability|Octo {{#if:{{{s_stars|}}}|Valley|Canyon}}}}{{#if:{{{amiibo|}}}|  in ''Splatoon'' or through the {{amiibo|{{{amiibo}}}}} [[amiibo]] in ''Splatoon 2''}}.
|"Level"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Character|S2|Judd}} for reaching [[Level]] {{{s_level}}}{{#if:{{{amiibo|}}}{{{s2_price|}}}|  in ''Splatoon'' or {{#if:{{{amiibo|}}}|through the {{amiibo|{{{amiibo}}}}} [[amiibo]]|{{#if:{{{s2_price|}}}|from {{Shop|{{ShopFromCategory|S2|{{{1}}}}}|game=Splatoon 2}} for {{Cost|S2|{{{s2_price}}}|cash|link}}{{#if:{{{sn2_price|}}}| and [[SplatNet 2]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}}}}} in ''Splatoon 2''}}.
|"Level"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Character|S2|Judd}} for reaching [[Level]] {{{s_level}}}{{#if:{{{amiibo|}}}{{{s2_price|}}}|  in ''Splatoon'' or {{#if:{{{amiibo|}}}|through the {{amiibo|{{{amiibo}}}}} [[amiibo]]|{{#if:{{{s2_price|}}}|from {{Shop|{{ShopFromCategory|S2|{{{1}}}}}|game=Splatoon 2}} for {{Cost|S2|{{{s2_price}}}|cash|link}}{{#if:{{{sn2_price|}}}| and {{Shop|SplatNet Gear Shop|game=Splatoon 2}} for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}}}}} in ''Splatoon 2''}}.
|"Salmon Run"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Availability|Salmon Run}} as the monthly gear or in a [[File:S2 Salmon Run pink capsule.png|24px]] Pink Capsule.
|"Salmon Run"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available as a reward from {{Availability|Salmon Run}} as the monthly gear or in a [[File:S2 Salmon Run pink capsule.png|24px]] Pink Capsule.
|"Splatfest"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available between the announcement and conclusion of a [[Splatfest]], and requires the players to pick a side in the Splatfest.
|"Splatfest"={{#ifeq:{{{2|}}}|pl|They are|It is}} only available between the announcement and conclusion of a [[Splatfest]], and requires the players to pick a side in the Splatfest.
|""={{#if:{{{s_price|}}}{{{s2_price|}}}|{{#ifeq:{{{2|}}}|pl|They|It}} can be purchased from {{#if:{{{s_stars|}}}|{{Shop|{{ShopFromCategory|S|{{{1}}}}}|game=Splatoon}}{{#ifeq:{{{s_price}}}|{{{s2_price}}}|| for {{Cost|S|{{{s_price}}}|cash|link}}}}{{#if:{{{s2_stars|}}}|{{#ifeq:{{{sn2_price|1}}}{{#ifeq:{{{s_price}}}|{{{s2_price}}}|use and}}|{{{sn2_price|2}}}|,| and}} from }}}}{{#if:{{{s2_stars|}}}|{{Shop|{{ShopFromCategory|S2|{{{1}}}}}|game=Splatoon 2}} for {{Cost|S2|{{{s2_price}}}|cash|link}}{{#if:{{{sn2_price|}}}| or}}}}|{{#ifeq:{{{2|}}}|pl|They are|It is}} available at the start of {{#if:{{{s_stars|}}}|{{#if:{{{s2_stars|}}}|both games|''Splatoon''}}|''Splatoon 2''}} as starting gear{{#if:{{{sn2_price|}}}|. {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|}}}| from [[SplatNet 2]] for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}.
|""={{#if:{{{s_price|}}}{{{s2_price|}}}|{{#ifeq:{{{2|}}}|pl|They|It}} can be purchased from {{#if:{{{s_stars|}}}|{{Shop|{{ShopFromCategory|S|{{{1}}}}}|game=Splatoon}}{{#ifeq:{{{s_price}}}|{{{s2_price}}}|| for {{Cost|S|{{{s_price}}}|cash|link}}}}{{#if:{{{s2_stars|}}}|{{#ifeq:{{{sn2_price|1}}}{{#ifeq:{{{s_price}}}|{{{s2_price}}}|use and}}|{{{sn2_price|2}}}|,| and}} from }}}}{{#if:{{{s2_stars|}}}|{{Shop|{{ShopFromCategory|S2|{{{1}}}}}|game=Splatoon 2}} for {{Cost|S2|{{{s2_price}}}|cash|link}}{{#if:{{{sn2_price|}}}| or}}}}|{{#ifeq:{{{2|}}}|pl|They are|It is}} available at the start of {{#if:{{{s_stars|}}}|{{#if:{{{s2_stars|}}}|both games|''Splatoon''}}|''Splatoon 2''}} as starting gear{{#if:{{{sn2_price|}}}|. {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|}}}| from {{Shop|SplatNet Gear Shop|game=Splatoon 2}} for {{Cost|S2|{{{sn2_price}}}|cash|link}}}}.
|#default={{{availability}}}}}
|#default={{{availability}}}}}
{{#if:{{{availability|}}}|{{#ifeq:{{{2|}}}|pl|They|It}} cannot be ordered through {{#if:{{{s_stars|}}}|{{Character|S|Spyke}}{{#if:{{#if:{{{s2_price|}}}||{{{s2_stars|}}}}}|&#32;or&#32;}}}}{{#if:{{#if:{{{s2_price|}}}||{{{s2_stars|}}}}}|{{Character|S2|Murch}}}}.}}</includeonly><noinclude>
{{#if:{{{availability|}}}|{{#ifeq:{{{2|}}}|pl|They|It}} cannot be ordered through {{#if:{{{s_stars|}}}|{{Character|S|Spyke}}{{#if:{{#if:{{{s2_price|}}}||{{{s2_stars|}}}}}|&#32;or&#32;}}}}{{#if:{{#if:{{{s2_price|}}}||{{{s2_stars|}}}}}|{{Character|S2|Murch}}}}.}}</includeonly><noinclude>
Line 45: Line 45:
|<code>s2_price</code>||Named, optional.||The gear's price in the shops in ''Splatoon 2''.
|<code>s2_price</code>||Named, optional.||The gear's price in the shops in ''Splatoon 2''.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>sn2_price</code>||Named, optional.||The gear's price in ''Splatoon 2'', when purchased through [[SplatNet 2]].
|<code>sn2_price</code>||Named, optional.||The gear's price in ''Splatoon 2'', when purchased through {{Shop|SplatNet Gear Shop|game=Splatoon 2}}.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>availability</code>||Named, optional.||If this gear cannot be obtained by normal means ([[Shops]] or {{Character|S|Spyke}} / {{Character|S2|Murch}}), must specify where is it obtainable from. Can be:
|<code>availability</code>||Named, optional.||If this gear cannot be obtained by normal means ([[Shops]] or {{Character|S|Spyke}} / {{Character|S2|Murch}}), must specify where is it obtainable from. Can be:

Revision as of 18:04, 26 April 2018

Prints out the introduction text for a gear item's page.

Parameters

{{GearIntroText|<category>|<plural>|<brand>|<s_stars=STARS>|<s_ability=ABILITY>|<s_price=PRICE>|<s2_stars=STARS>|<s2_ability=ABILITY>|<s2_price=PRICE>|<sn2_price=PRICE>|<availability=AVAILABILITY>|<s_level=LEVEL>|<amiibo=AMIIBO>|<amiibo_sonly=AMIIBO>|<name=NAME>|<euocname=NAME>}}

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.
s_stars Named, optional. The gear's star rating in Splatoon. Must be 1, 2 or 3.
s_ability Named, optional. The gear's main ability in Splatoon.
s_price Named, optional. The gear's price in the shops in Splatoon.
s2_stars Named, optional. The gear's star rating in Splatoon 2. Must be 1, 2 or 3.
s2_ability Named, optional. The gear's default main ability in Splatoon 2. If excluded (e.g. Grizzco Equipment), the text will indicate this gear does not have a default main ability.
s2_price Named, optional. The gear's price in the shops in Splatoon 2.
sn2_price Named, optional. The gear's price in Splatoon 2, when purchased through Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value)..
availability Named, optional. If this gear cannot be obtained by normal means (Shops or S Icon Spyke.png Spyke / S2 Icon Murch.png Murch), must specify where is it obtainable from. Can be:
  • 7-Eleven, CoroCoro Comic - Japan-only promotions
  • amiibo - Obtained from an amiibo in both games. Requires amiibo parameter to be set, and enables amiibo-sonly parameter.
  • Hero Mode - Gotten from Octo Valley or Octo Canyon. If amiibo parameter is also set, it will be mentioned as the source for the item in Splatoon 2.
  • Level - Gotten as a reward for reaching a certain level, specified in s_level in Splatoon. If amiibo parameter is also set, it will be mentioned as the source for the item in Splatoon 2.
  • Salmon Run - Gotten from Salmon Run
  • (any other value) - The text provided will be displayed as-is, and the note on not being purchasable from the sea urchins will be added afterwards.
s_level Named, optional. The level requirement for unlocking this gear in Splatoon. Required if availability=level and ignored otherwise.
amiibo Named, optional. The amiibo that grants this piece of gear. Required if availability=amiibo, optional if availability=level and ignored otherwise.
amiibo_sonly Named, optional. An additional Splatoon 2 amiibo that grants this piece of gear only in Splatoon. Optional if availability=amiibo and ignored otherwise.
name Named, optional. If included, the value will replace the current page name as the gear's name. Default value: {{PAGENAME}}
euocname Named, optional. If included, the text will indicate that this piece of gear has a different name in the EU/OC regions

Markup

{| class="wikitable sitecolor-generic"
|{{GearIntroText|Headgear|sg|SquidForce|s_stars=1|s_ability=Ink Recovery Up|s2_stars=1|s2_ability=Ink Recovery Up|sn2_price=750|name=White Headband}}
|-
|{{GearIntroText|Shoes|pl|Takoroka|s_stars=3|s_ability=Stealth Jump|s_price=9,000|s2_stars=2|s2_ability=Stealth Jump|s2_price=4,500|sn2_price=9,000|name=Crazy Arrows}}
|-
|{{GearIntroText|Headgear|sg|Cuttlegear|s_stars=3|s_ability=Damage Up|availability=Level|s_level=50|name=Legendary Cap}}
|-
|{{GearIntroText|Clothing|sg|Enperry|s2_stars=3|s2_ability=Run Speed Up|availability=CoroCoro Comic|name=Milky Eminence Jacket}}
|-
|{{GearIntroText|Headgear|pl|amiibo|s2_stars=2|s2_ability=Opening Gambit|availability=amiibo|amiibo=Inkling Girl 2|name=Squid Clip-Ons}}
|-
|{{GearIntroText|Clothing|sg|amiibo|s_stars=2|s_ability=Special Charge Up|s2_stars=2|s2_ability=Special Charge Up|availability=amiibo|amiibo=Inkling Boy|amiibo_sonly=Inkling Boy 2|name=Samurai Jacket}}
|-
|{{GearIntroText|Shoes|pl|Cuttlegear|s_stars=3|s_ability=Ink Saver (Main)|s2_stars=2|s2_ability=Ink Saver (Main)|availability=Level|s_level=35|amiibo=Marie|name=Armor Boot Replicas}}
|-
|{{GearIntroText|Clothing|sg|Annaki|s2_stars=2|s2_ability=Haunt|s2_price=4,800|sn2_price=9,600|name=Annaki Red Cuff}}
|-
|{{GearIntroText|Shoes|pl|Krak-On|s_stars=1|s_ability=Bomb Sniffer|s_price=400|name=Banana Basics}}
|-
|{{GearIntroText|Headgear|sg|Cuttlegear|s2_stars=2|s2_ability=Special Saver|availability=Hero Mode|name=Hero Headphones Replica}}
|-
|{{GearIntroText|Shoes|pl|Cuttlegear|s_stars=2|s_ability=Quick Super Jump|s2_stars=2|s2_ability=Quick Super Jump|availability=Hero Mode|amiibo=Callie|name=Hero Runner Replicas}}
|-
|{{GearIntroText|Clothing|sg|Cuttlegear|s_stars=3|s_ability=Haunt|availability=Level|s_level=45|s2_stars=3|s2_ability=Haunt|s2_price=8,888|sn2_price=13,332|name=Octo Tee}}
|}

Output

The White Headband is headgear in Splatoon and Splatoon 2.

It is a 1-star item produced by SquidForce SquidForce and comes with the primary ability S2 Ability Ink Recovery Up.png Ink Recovery Up.

It is available at the start of both games as starting gear. It can also be purchased from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 750.

The Crazy Arrows are shoes in Splatoon and Splatoon 2.

They are a 3-star item in Splatoon and a 2-star item in Splatoon 2, produced by Takoroka Takoroka and come with the primary ability S2 Ability Stealth Jump.png Stealth Jump.

They can be purchased from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 9,000, from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 4,500 or from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 9,000.

The Legendary Cap is headgear in Splatoon.

It is a 3-star item produced by Cuttlegear Cuttlegear and comes with the primary ability S Ability Damage Up.png Damage Up.

It is only available as a reward from S2 Icon Judd.png Judd for reaching Level 50. It cannot be ordered through S Icon Spyke.png Spyke.

The Milky Eminence Jacket is clothing in Splatoon 2.

It is a 3-star item produced by Enperry Enperry and comes with the primary ability S2 Ability Run Speed Up.png Run Speed Up.

It is only available as a CoroCoro Comic CoroCoro Comic promotion in Japan. It cannot be ordered through S2 Icon Murch.png Murch.

The Squid Clip-Ons are headgear in Splatoon 2.

They are a 2-star item produced by amiibo amiibo and come with the primary ability S2 Ability Opening Gambit.png Opening Gambit.

They are only available from the Inkling Girl 2 Inkling Girl (Splatoon 2) amiibo. They cannot be ordered through S2 Icon Murch.png Murch.

The Samurai Jacket is clothing in Splatoon and Splatoon 2.

It is a 2-star item produced by amiibo amiibo and comes with the primary ability S2 Ability Special Charge Up.png Special Charge Up.

It is only available from the Inkling Boy Inkling Boy (Splatoon) amiibo. In Splatoon, it is also available from the Splatoon 2 series Inkling Boy 2 Inkling Boy (Splatoon 2) amiibo. It cannot be ordered through S Icon Spyke.png Spyke or S2 Icon Murch.png Murch.

The Armor Boot Replicas are shoes in Splatoon and Splatoon 2.

They are a 3-star item in Splatoon and a 2-star item in Splatoon 2, produced by Cuttlegear Cuttlegear and come with the primary ability S2 Ability Ink Saver (Main).png Ink Saver (Main).

They are only available as a reward from S2 Icon Judd.png Judd for reaching Level 35 in Splatoon or through the Marie Marie amiibo in Splatoon 2. They cannot be ordered through S Icon Spyke.png Spyke or S2 Icon Murch.png Murch.

The Annaki Red Cuff is clothing in Splatoon 2.

It is a 2-star item produced by Annaki Annaki and comes with the primary ability S2 Ability Haunt.png Haunt.

It can be purchased from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 4,800 or from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 9,600.

The Banana Basics are shoes in Splatoon.

They are a 1-star item produced by Krak-On Krak-On and come with the primary ability S Ability Bomb Sniffer.png Bomb Sniffer.

They can be purchased from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 400.

The Hero Headphones Replica is headgear in Splatoon 2.

It is a 2-star item produced by Cuttlegear Cuttlegear and comes with the primary ability S2 Ability Special Saver.png Special Saver.

It is only available as a reward from Octo Canyon Octo Canyon. It cannot be ordered through S2 Icon Murch.png Murch.

The Hero Runner Replicas are shoes in Splatoon and Splatoon 2.

They are a 2-star item produced by Cuttlegear Cuttlegear and come with the primary ability S2 Ability Quick Super Jump.png Quick Super Jump.

They are only available as a reward from Octo Valley Octo Valley in Splatoon or through the Callie Callie amiibo in Splatoon 2. They cannot be ordered through S Icon Spyke.png Spyke or S2 Icon Murch.png Murch.

The Octo Tee is clothing in Splatoon and Splatoon 2.

It is a 3-star item produced by Cuttlegear Cuttlegear and comes with the primary ability S2 Ability Haunt.png Haunt.

It is only available as a reward from S2 Icon Judd.png Judd for reaching Level 45 in Splatoon or from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 8,888 and Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for Cash 13,332 in Splatoon 2. It cannot be ordered through S Icon Spyke.png Spyke.