Template:WeaponIntroTextEx: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Removing support for special="") |
m (Changed {{shop}} to {{shop/new}} (temporary name for revamped {{shop}}). Also, what page uses this template anyway?) |
||
Line 6: | Line 6: | ||
|"Octo Canyon"={{#ifeq:{{{2}}}|pl|They|It}} can be unlocked by completing all {{Availability|Octo Canyon}} missions with the {{Weapon|S2|Main|{{{heroweapon}}}}} and reaching [[level]] {{{level}}} | |"Octo Canyon"={{#ifeq:{{{2}}}|pl|They|It}} can be unlocked by completing all {{Availability|Octo Canyon}} missions with the {{Weapon|S2|Main|{{{heroweapon}}}}} and reaching [[level]] {{{level}}} | ||
|"amiibo"={{#ifeq:{{{2}}}|pl|They|It}} can be unlocked through the {{amiibo|{{{amiibo}}}}} [[amiibo]] and reaching [[level]] {{{level}}} | |"amiibo"={{#ifeq:{{{2}}}|pl|They|It}} can be unlocked through the {{amiibo|{{{amiibo}}}}} [[amiibo]] and reaching [[level]] {{{level}}} | ||
|#default={{{availability}}}}}. {{#if:{{{cost|}}}|{{#ifeq:{{{2}}}|pl|They|It}} can be bought at {{ | |#default={{{availability}}}}}. {{#if:{{{cost|}}}|{{#ifeq:{{{2}}}|pl|They|It}} can be bought at {{shop/new|game={{{1|S}}}|name=Ammo Knights}} for {{Cost|{{{1}}}|{{{cost}}}}}.}}</includeonly><noinclude> | ||
A chained template, to be used only inside [[Template:WeaponIntroText]] | A chained template, to be used only inside [[Template:WeaponIntroText]] | ||
Revision as of 15:47, 9 February 2024
A chained template, to be used only inside Template:WeaponIntroText
Usage
{{WeaponIntroTextEx|<game=S|S2>|<plural=sg|pl>|<sub>|<special>|<level=LEVEL>|<cost=COST>|<availability=AVAILABILITY>|<heroweapon=WEAPON>|<amiibo=AMIIBO>|<nogame=true|false>}}
game
|
Unnamed, required | Which game this paragraph refers to |
|
plural
|
Unnamed, required | Should the weapon be referred to in singular or plural |
|
sub
|
Unnamed, required | The sub weapon associated with this weapon | (depends on game) |
special
|
Unnamed, optional | The special weapon associated with this weapon If excluded, will indicate the weapon comes with a random special |
(depends on game) |
level
|
Named, optional | The level at which this weapon is unlocked | numeric value |
cost
|
Named, optional | The cost, in cash, to buy this weapon from the shop | numeric value |
availability
|
Named, optional | Describes the weapon's unlock conditions. If excluded, the weapon is unlocked by leveling up and paying a cost. |
|
heroweapon amiibo
|
Named, Optional | Required for certain availability values
|
See above |
nogame
|
Named, Optional | If present and equal to true , will exclude the game name from the starting sentence |
|