Template:GearIntroTextEx: Difference between revisions
From Inkipedia, the Splatoon wiki
m (-) |
GloverMist (talk | contribs) (Fixed links in template and description.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{nogame}}}|true|{{#ifeq:{{{3|}}}|pl|They are|It is}}|In {{#ifeq:{{{1|S}}}|S2|''Splatoon 2''|''Splatoon''}}, {{#ifeq:{{{3|}}}|pl|they are|it is}}}} a {{{stars}}}-star item produced by [[{{{4}}}]] and come{{#ifeq:{{{3|}}}|pl||s}} with {{#if:{{{ability|}}}|the primary [[ability]] [[{{{ability}}}]]|a random primary [[ability]] generated when {{#ifeq:{{{3|}}}|pl|they are|it is}} received}}. | <includeonly>{{#ifeq:{{{nogame}}}|true|{{#ifeq:{{{3|}}}|pl|They are|It is}}|In {{#ifeq:{{{1|S}}}|S2|''Splatoon 2''|''Splatoon''}}, {{#ifeq:{{{3|}}}|pl|they are|it is}}}} a {{{stars}}}-star item produced by [[{{{4}}}]] and come{{#ifeq:{{{3|}}}|pl||s}} with {{#if:{{{ability|}}}|the primary [[ability]] [[{{{ability}}}]]|a random primary [[ability]] generated when {{#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"={{#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]]. | |"amiibo"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available from the {{{amiibo}}} {{#if:{{{amiibo2|}}}|or the ''Splatoon 2'' series {{{amiibo2}}} }}[[amiibo]]. | ||
|"CoroCoro Comic"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a | |"CoroCoro Comic"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a CoroCoro Comic promotion in Japan. | ||
|"Hero Mode"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from [[Octo {{#ifeq:{{{1|S}}}|S2|Canyon|Valley}}]]. | |"Hero Mode"={{#ifeq:{{{3|}}}|pl|They are|It is}} only available as a reward from [[Octo {{#ifeq:{{{1|S}}}|S2|Canyon|Valley}}]]. | ||
|"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}}}. | ||
Line 9: | Line 9: | ||
|"Splatfest"={{#ifeq:{{{3|}}}|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:{{{3|}}}|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:{{{price|}}}|{{#ifeq:{{{3|}}}|pl|They|It}} can be purchased from [[{{ShopFromCategory|{{{1|S}}}|{{{2}}}}}]] for {{Cost|{{{1|S}}}|{{{price}}}|cash|link}}{{#if:{{{sn2_price|}}}| or}}|{{#ifeq:{{{3|}}}|pl|They are|It is}} available as starting gear{{#if:{{{sn2_price|}}}|. {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|}}}| from [[SplatNet Gear Shop]] for {{Cost|{{{1|S}}}|{{{sn2_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|}}}| or}}|{{#ifeq:{{{3|}}}|pl|They are|It is}} available as starting gear{{#if:{{{sn2_price|}}}|. {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased }}}}{{#if:{{{sn2_price|}}}| from [[SplatNet 2#Shop|SplatNet Gear Shop]] for {{Cost|{{{1|S}}}|{{{sn2_price}}}|cash|link}}}}. | ||
|#default={{{availability}}}{{#if:{{{sn2_price|}}}| {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased from [[SplatNet Gear Shop]] for {{Cost|{{{1|S}}}|{{{sn2_price}}}|cash|link}}.}}}} | |#default={{{availability}}}{{#if:{{{sn2_price|}}}| {{#ifeq:{{{2|}}}|pl|They|It}} can also be purchased from [[SplatNet 2#Shop|SplatNet Gear Shop]] for {{Cost|{{{1|S}}}|{{{sn2_price}}}|cash|link}}.}}}} | ||
{{#if:{{{availability|}}}|{{#if:{{{sn2_price}}}{{{canorder}}}||{{#ifeq:{{{3|}}}|pl|They|It}} cannot be ordered through [[{{#switch:{{{1|S}}} | {{#if:{{{availability|}}}|{{#if:{{{sn2_price}}}{{{canorder}}}||{{#ifeq:{{{3|}}}|pl|They|It}} cannot be ordered through [[{{#switch:{{{1|S}}} | ||
|S2=Murch | |S2=Murch | ||
|S | |S | ||
|#default=Spyke}}]].}}}}</includeonly><noinclude>A chained template, to be used only inside [[:Template:GearIntroText]]. | |#default=Spyke}}]].}}}}</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|name{{=}}NAME|euocname{{=}}NAME}} | {{t|GearIntroTextEx|game|category|plural|brand|stars{{=}}STARS|ability{{=}}ABILITY|price{{=}}PRICE|sn2_price{{=}}PRICE|availability{{=}}AVAILABILITY|level{{=}}LEVEL|amiibo{{=}}AMIIBO|amiibo2{{=}}AMIIBO|name{{=}}NAME|euocname{{=}}NAME}} | ||
Line 39: | Line 40: | ||
|<code>price</code>||Named, optional.||The gear's price in the shops. | |<code>price</code>||Named, optional.||The gear's price in the shops. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>sn2_price</code>||Named, optional.||The gear's price in ''Splatoon 2'', when purchased through | |<code>sn2_price</code>||Named, optional.||The gear's price in ''Splatoon 2'', when purchased through [[SplatNet 2#Shop|SplatNet Gear Shop]]. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>availability</code>||Named, optional.||If this gear cannot be obtained by normal means ([[ | |<code>availability</code>||Named, optional.||If this gear cannot be obtained by normal means ([[shop]]s or [[Spyke]] / [[Murch]]), must specify where is it obtainable from. Can be: | ||
*<code>7-Eleven</code>, <code>CoroCoro Comic</code> - Japan-only promotions | *<code>7-Eleven</code>, <code>CoroCoro Comic</code> - Japan-only promotions | ||
*<code>amiibo</code> - Obtained from an amiibo. Requires <code>amiibo</code> parameter to be set, and enables <code>amiibo2</code> parameter. | *<code>amiibo</code> - Obtained from an amiibo. Requires <code>amiibo</code> parameter to be set, and enables <code>amiibo2</code> parameter. | ||
*<code>Hero Mode</code> - Gotten from [[Octo Valley]] or [[Octo Canyon]]. | *<code>Hero Mode</code> - Gotten from [[Octo Valley (mode)|Octo Valley]] or [[Octo Canyon (mode)|Octo Canyon]]. | ||
*<code>Level</code> - Gotten as a reward for reaching a certain level, specified in <code>level</code>. | *<code>Level</code> - Gotten as a reward for reaching a certain level, specified in <code>level</code>. | ||
*<code>Salmon Run</code> - Gotten from Salmon Run | *<code>Salmon Run</code> - Gotten from Salmon Run |
Revision as of 13:31, 6 April 2020
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>|<name=NAME>|<euocname=NAME>}}
game |
Unnamed, required. | The game this info is for. Must be S for Splatoon or S2 for Splatoon 2.
|
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:
|
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.
|
nogame |
Named, optional. | If present and equal to true , the first sentence will not mention the game name.
|