User:Heddy/Test/1: Difference between revisions
From Inkipedia, the Splatoon wiki
< User:Heddy | Test
No edit summary Tags: mobile edit mobile web edit |
No edit summary |
||
Line 1: | Line 1: | ||
[ | <includeonly>The '''{{{name|{{PAGENAME}}}}}'''{{#if:{{{euocname|}}}|{{NA}}, or '''{{{euocname}}}'''{{EUOC}}}} {{#ifeq:{{{2|}}}|pl|are|is}} [[{{#switch:{{{1}}} | ||
|Headgear=headgear | |||
|Clothing=clothing | |||
|Shoes=shoes | |||
|#default={{{1}}}}}]] in {{#if:{{{s_stars|}}}|''[[Splatoon]]''{{#if:{{{s2_stars|}}}| and }}}}{{#if:{{{s2_stars|}}}|''[[Splatoon 2]]''}}. {{#if:{{{s_stars|}}}|<br />{{User:Heddy/Test/2|S|{{{1|}}}|{{{2|sg}}}|{{{s_brand|{{{3}}}}}}|stars={{{s_stars}}}|ability={{{s_ability|}}}|price={{{s_price|}}}|availability={{{s_availability|{{#if:{{{s_price|}}}||{{{availability|}}}}}}}}|canorder={{{s_canorder|{{{canorder|}}}}}}|level={{{s_level|}}}|amiibo={{{amiibo|}}}|amiibo2={{{amiibo_sonly}}}|nogame={{#if:{{{s2_stars|}}}|false|true}}}}}} {{#if:{{{s2_stars|}}}|<br />{{User:Heddy/Test/2|S2|{{{1|}}}|{{{2|sg}}}|{{{s2_brand|{{{3}}}}}}|stars={{{s2_stars}}}|ability={{{s2_ability|}}}|price={{{s2_price|}}}|sn2_price={{{sn2_price|}}}|availability={{{s2_availability|{{#if:{{{s2_price|}}}||{{#if:{{{amiibo|}}}|amiibo|{{{availability|}}}}}}}}}}|canorder={{{s2_canorder|{{{canorder|}}}}}}|amiibo={{{amiibo|}}}|nogame={{#if:{{{s_stars|}}}|false|true}}}}}}</includeonly><noinclude> | |||
Prints out the introduction text for a gear item's page. | |||
==Parameters== | |||
{{t|User:Heddy/Test/1|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|canorder{{=}}true{{!}}|s_level{{=}}LEVEL|amiibo{{=}}AMIIBO|amiibo_sonly{{=}}AMIIBO|name{{=}}NAME|euocname{{=}}NAME}} | |||
{| class="wikitable" | |||
|- style="vertical-align: top;" | |||
|<code>category</code>||Unnamed, required.||The type of gear. Must be one of the following: | |||
*<code>Headgear</code> | |||
*<code>Clothing</code> | |||
*<code>Shoes</code> | |||
|- style="vertical-align: top;" | |||
|<code>plural</code>||Unnamed, required.||Is the gear singular (e.g. a shirt) or plural (e.g. shoes, glasses, headphones)? Must be one of the following: | |||
*<code>sg</code> for singular | |||
*<code>pl</code> for plural | |||
|- style="vertical-align: top;" | |||
|<code>brand</code>||Unnamed, required.||The gear's brand. Use <code>s_brand</code> and <code>s2_brand</code> to override the value for one of the games. | |||
|- style="vertical-align: top;" | |||
|<code>s_stars</code>||Named, optional.||The gear's star rating in ''Splatoon''. Must be <code>1</code>, <code>2</code> or <code>3</code>. | |||
|- style="vertical-align: top;" | |||
|<code>s_ability</code>||Named, optional.||The gear's main ability in ''Splatoon''. | |||
|- style="vertical-align: top;" | |||
|<code>s_price</code>||Named, optional.||The gear's price in the shops in ''Splatoon''. | |||
|- style="vertical-align: top;" | |||
|<code>s2_stars</code>||Named, optional.||The gear's star rating in ''Splatoon 2''. Must be <code>1</code>, <code>2</code> or <code>3</code>. | |||
|- style="vertical-align: top;" | |||
|<code>s2_ability</code>||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. | |||
|- style="vertical-align: top;" | |||
|<code>s2_price</code>||Named, optional.||The gear's price in the shops in ''Splatoon 2''. | |||
|- style="vertical-align: top;" | |||
|<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;" | |||
|<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. Use <code>s_availability</code> and <code>s2_availability</code> to override the value for one of the games. Can be: | |||
*<code>7-Eleven</code>, <code>CoroCoro Comic</code> - Japan-only promotions | |||
*<code>amiibo</code> - Obtained from an amiibo in both games. Requires <code>amiibo</code> parameter to be set, and enables <code>amiibo-sonly</code> parameter. | |||
*<code>Hero Mode</code> - Gotten from [[Octo Valley]] or [[Octo Canyon]]. If <code>amiibo</code> parameter is also set, it will be mentioned as the source for the item in ''Splatoon 2''. | |||
*<code>Level</code> - Gotten as a reward for reaching a certain level, specified in <code>s_level</code> in ''Splatoon''. If <code>amiibo</code> parameter is also set, it will be mentioned as the source for the item in ''Splatoon 2''. | |||
*<code>Salmon Run</code> - Gotten from Salmon Run | |||
*<code>(any other value)</code> - The text provided will be displayed as-is, and the note on not being purchasable from the sea urchins will be added afterwards. | |||
|- style="vertical-align: top;" | |||
|<code>canorder</code>||Named, optional.||If the gear has an <code>availability</code> value, by default it will be indicated that it cannot be ordered through Murch or Spyke. Add this parameter and set it to any value except an empty string to remove this warning. Use <code>s_canorder</code> or <code>s2_canorder</code> to set this value for just one of the games. | |||
|- style="vertical-align: top;" | |||
|<code>s_level</code>||Named, optional.||The level requirement for unlocking this gear in ''Splatoon''. Required if <code>availability=level</code> and ignored otherwise. | |||
|- style="vertical-align: top;" | |||
|<code>amiibo</code>||Named, optional.||The amiibo that grants this piece of gear. Required if <code>availability=amiibo</code>, optional if <code>availability=level</code> and ignored otherwise. | |||
|- style="vertical-align: top;" | |||
|<code>amiibo_sonly</code>||Named, optional.||An additional ''Splatoon 2'' amiibo that grants this piece of gear only in ''Splatoon''. Optional if <code>availability=amiibo</code> and ignored otherwise. | |||
|- style="vertical-align: top;" | |||
|<code>name</code>||Named, optional.||If included, the value will replace the current page name as the gear's name. Default value: <code><nowiki>{{PAGENAME}}</nowiki></code> | |||
|- style="vertical-align: top;" | |||
|<code>euocname</code>||Named, optional.||If included, the text will indicate that this piece of gear has a different name in the EU/OC regions | |||
|} | |||
==Markup== | |||
<nowiki>{| class="wikitable sitecolor-generic" | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|sg|s_brand=Cuttlegear|s_stars=3|s_ability=Damage Up|availability=Level|s_level=50|s2_brand=Grizzco|s2_stars=3|s2_availability=Salmon Run|name=Cap of Legend''', formerly '''Legendary Cap}} | |||
|- | |||
|{{User:Heddy/Test/1|Clothing|sg|Enperry|s2_stars=3|s2_ability=Run Speed Up|availability=CoroCoro Comic|name=Milky Eminence Jacket}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|pl|amiibo|s2_stars=2|s2_ability=Opening Gambit|availability=amiibo|amiibo=Inkling Girl 2|name=Squid Clip-Ons}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|Clothing|sg|Annaki|s2_stars=2|s2_ability=Haunt|s2_price=4,800|sn2_price=9,600|name=Annaki Red Cuff}} | |||
|- | |||
|{{User:Heddy/Test/1|Shoes|pl|Krak-On|s_stars=1|s_ability=Bomb Sniffer|s_price=400|name=Banana Basics}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|sg|Cuttlegear|s2_stars=2|s2_ability=Special Saver|availability=Hero Mode|name=Hero Headphones Replica}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|}</nowiki> | |||
==Output== | |||
{| class="wikitable sitecolor-generic" | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|sg|s_brand=Cuttlegear|s_stars=3|s_ability=Damage Up|availability=Level|s_level=50|s2_brand=Grizzco|s2_stars=3|s2_availability=Salmon Run|name=Cap of Legend''', formerly '''Legendary Cap}} | |||
|- | |||
|{{User:Heddy/Test/1|Clothing|sg|Enperry|s2_stars=3|s2_ability=Run Speed Up|availability=CoroCoro Comic|name=Milky Eminence Jacket}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|pl|amiibo|s2_stars=2|s2_ability=Opening Gambit|availability=amiibo|amiibo=Inkling Girl 2|name=Squid Clip-Ons}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|Clothing|sg|Annaki|s2_stars=2|s2_ability=Haunt|s2_price=4,800|sn2_price=9,600|name=Annaki Red Cuff}} | |||
|- | |||
|{{User:Heddy/Test/1|Shoes|pl|Krak-On|s_stars=1|s_ability=Bomb Sniffer|s_price=400|name=Banana Basics}} | |||
|- | |||
|{{User:Heddy/Test/1|Headgear|sg|Cuttlegear|s2_stars=2|s2_ability=Special Saver|availability=Hero Mode|name=Hero Headphones Replica}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|- | |||
|{{User:Heddy/Test/1|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}} | |||
|}</noinclude> |
Revision as of 04:47, 29 October 2019
Prints out the introduction text for a gear item's page.
Parameters
{{User:Heddy/Test/1|<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>|<canorder=true|>|<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:
|
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. Use s_brand and s2_brand to override the value for one of the games.
|
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 Spyke / Murch), must specify where is it obtainable from. Use s_availability and s2_availability to override the value for one of the games. Can be:
|
canorder |
Named, optional. | If the gear has an availability value, by default it will be indicated that it cannot be ordered through Murch or Spyke. Add this parameter and set it to any value except an empty string to remove this warning. Use s_canorder or s2_canorder to set this value for just one of the games.
|
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" |{{User:Heddy/Test/1|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}} |- |{{User:Heddy/Test/1|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}} |- |{{User:Heddy/Test/1|Headgear|sg|s_brand=Cuttlegear|s_stars=3|s_ability=Damage Up|availability=Level|s_level=50|s2_brand=Grizzco|s2_stars=3|s2_availability=Salmon Run|name=Cap of Legend''', formerly '''Legendary Cap}} |- |{{User:Heddy/Test/1|Clothing|sg|Enperry|s2_stars=3|s2_ability=Run Speed Up|availability=CoroCoro Comic|name=Milky Eminence Jacket}} |- |{{User:Heddy/Test/1|Headgear|pl|amiibo|s2_stars=2|s2_ability=Opening Gambit|availability=amiibo|amiibo=Inkling Girl 2|name=Squid Clip-Ons}} |- |{{User:Heddy/Test/1|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}} |- |{{User:Heddy/Test/1|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}} |- |{{User:Heddy/Test/1|Clothing|sg|Annaki|s2_stars=2|s2_ability=Haunt|s2_price=4,800|sn2_price=9,600|name=Annaki Red Cuff}} |- |{{User:Heddy/Test/1|Shoes|pl|Krak-On|s_stars=1|s_ability=Bomb Sniffer|s_price=400|name=Banana Basics}} |- |{{User:Heddy/Test/1|Headgear|sg|Cuttlegear|s2_stars=2|s2_ability=Special Saver|availability=Hero Mode|name=Hero Headphones Replica}} |- |{{User:Heddy/Test/1|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}} |- |{{User:Heddy/Test/1|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. |
The Crazy Arrows are shoes in Splatoon and Splatoon 2. |
The Cap of Legend, formerly Legendary Cap is headgear in Splatoon and Splatoon 2. |
The Milky Eminence Jacket is clothing in Splatoon 2. |
The Squid Clip-Ons are headgear in Splatoon 2. |
The Samurai Jacket is clothing in Splatoon and Splatoon 2. |
The Armor Boot Replicas are shoes in Splatoon and Splatoon 2. |
The Annaki Red Cuff is clothing in Splatoon 2. |
The Banana Basics are shoes in Splatoon. |
The Hero Headphones Replica is headgear in Splatoon 2. |
The Hero Runner Replicas are shoes in Splatoon and Splatoon 2. |
The Octo Tee is clothing in Splatoon and Splatoon 2. |