Template:GearIntroText: Difference between revisions

From Inkipedia, the Splatoon wiki
(Creating a template to replace the text that appears at the start of every gear page (and making fixing that text much easier))
 
m (Fixed capitalization)
Line 1: Line 1:
<includeonly>The '''{{{name|{{PAGENAME}}}}}''' {{#ifeq:{{{2|}}}|pl|are|is}} [[{{{1|Headgear}}}]] in {{#if:{{{s_stars|}}}|''[[Splatoon]]''{{#if:{{{s2_stars|}}}|&#32;and&#32;}}}}{{#if:{{{s2_stars|}}}|''[[Splatoon 2]]''}}.
<includeonly>The '''{{{name|{{PAGENAME}}}}}''' {{#ifeq:{{{2|}}}|pl|are|is}} [[{{#switch:{{{1}}}
{{#ifeq:{{{2|}}}|pl|They are|It is}} a {{#ifeq:{{{s_stars|{{{s2_stars}}}}}}|{{{s2_stars|{{{s_stars}}}}}}|{{{s2_stars|{{{s_stars}}}}}}-star item|{{{s_stars}}}-star item in ''Splatoon'' and a {{{s2_stars}}}-star item in ''Splatoon 2'',}} produced by {{Brand|{{{3}}}|game={{#if:{{{s2_stars|}}}|Splatoon 2|Splatoon}}}} and come{{#ifeq:{{{2|}}}|pl||s}} with {{#if:{{{s_ability|}}}{{{s2_ability|}}}|the Primary [[Ability]] {{#ifeq:{{{s_ability|{{{s2_ability}}}}}}|{{{s2_ability|{{{s_ability}}}}}}|{{Ability|{{#if:{{{s2_stars|}}}|S2|S}}|{{{s2_ability|{{{s_ability}}}}}}}}|{{Ability|S|{{{s_ability}}}}} in ''Splatoon'' and the Primary Ability {{Ability|S2|{{{s2_ability}}}}} in ''Splatoon 2''}}|a random Primary [[Ability]] generated when {{#ifeq:{{{2|}}}|pl|they are|it is}} received}}.
|Headgear=headgear
|Clothing=clothing
|Shoes=shoes
|#default={{{1}}}}}]] in {{#if:{{{s_stars|}}}|''[[Splatoon]]''{{#if:{{{s2_stars|}}}|&#32;and&#32;}}}}{{#if:{{{s2_stars|}}}|''[[Splatoon 2]]''}}.
{{#ifeq:{{{2|}}}|pl|They are|It is}} a {{#ifeq:{{{s_stars|{{{s2_stars}}}}}}|{{{s2_stars|{{{s_stars}}}}}}|{{{s2_stars|{{{s_stars}}}}}}-star item|{{{s_stars}}}-star item in ''Splatoon'' and a {{{s2_stars}}}-star item in ''Splatoon 2'',}} produced by {{Brand|{{{3}}}|game={{#if:{{{s2_stars|}}}|Splatoon 2|Splatoon}}}} and come{{#ifeq:{{{2|}}}|pl||s}} with {{#if:{{{s_ability|}}}{{{s2_ability|}}}|the primary [[ability]] {{#ifeq:{{{s_ability|{{{s2_ability}}}}}}|{{{s2_ability|{{{s_ability}}}}}}|{{Ability|{{#if:{{{s2_stars|}}}|S2|S}}|{{{s2_ability|{{{s_ability}}}}}}}}|{{Ability|S|{{{s_ability}}}}} in ''Splatoon'' and the primary ability {{Ability|S2|{{{s2_ability}}}}} in ''Splatoon 2''}}|a random primary [[ability]] generated when {{#ifeq:{{{2|}}}|pl|they are|it is}} received}}.


{{#switch:"{{{availability|}}}"
{{#switch:"{{{availability|}}}"

Revision as of 22:15, 13 February 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>}}

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 SplatNet 2.
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}}

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}}
|}

Output

The White Headband is headgear in Splatoon and Splatoon 2.

It is a 1-star item produced by [[File:SquidForce_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 SplatNet 2 for File:750 Icon Cash.png.

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 [[File:Takoroka_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 File:9,000 Icon Cash.png, from Lua error in Module:Shop at line 47: attempt to index field '?' (a nil value). for File:4,500 Icon Cash.png or from SplatNet 2 for File:9,000 Icon Cash.png.

The Legendary Cap is headgear in Splatoon.

It is a 3-star item produced by [[File:Cuttlegear_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 [[File:Enperry_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 [[File:amiibo_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 [[File:amiibo_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 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 [[File:Cuttlegear_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 [[File:Annaki_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 File:4,800 Icon Cash.png or from SplatNet 2 for File:9,600 Icon Cash.png.

The Banana Basics are shoes in Splatoon.

They are a 1-star item produced by [[File:Krak-On_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 File:400 Icon Cash.png.

The Hero Headphones Replica is headgear in Splatoon 2.

It is a 2-star item produced by [[File:Cuttlegear_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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 [[File:Cuttlegear_Brand_{{{2}}}.png|24px|{{{2}}}|link=SquidForce]] [[{{{2}}}|{{{2}}}]] 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.