Template:Salmon Run/Wildcard rotations/Item: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Copying newline fix from Template:WeaponList/ItemEx)
(making into module invocation (stand back, I'm trying science))
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>This is a chained template, only meant to be used inside [[:Template:Salmon Run/Wildcard rotations]]</noinclude><includeonly>{{#if:{{#if:{{{rare_weapon_filter|}}}|{{#ifeq:{{{rare_weapon_filter}}}|{{{rare_weapon}}}||1}}}}||<i></i>
<includeonly>{{#invoke:SalmonRunWildCard|main}}</includeonly><noinclude>
{{!}}-
Template invocation of [[Module:SalmonRunWildCard]].
{{!}}{{{time}}}
 
{{!}}[[{{{stage}}}]]
{{:Module:SalmonRunWildCard/doc}}
{{!}}{{Weapon|S2|Main|{{{weapon_1}}}|icononly}}
</noinclude>
{{!}}{{Weapon|S2|Main|{{{weapon_2}}}|icononly}}
{{!}}{{Weapon|S2|Main|{{{weapon_3}}}|icononly}}
{{!}}{{Weapon|S2|Main|{{{weapon_4}}}|icononly}}
{{!}}{{Weapon|S2|Main|{{{rare_weapon}}}}}
}}

Latest revision as of 17:39, 15 September 2023

Template invocation of Module:SalmonRunWildCard.

This is a single item in a Salmon Run and Salmon Run Next Wave Wildcard rotation. It is used by Template:Salmon Run/Wildcard rotations and Template:Salmon Run Next Wave/Wildcard rotations.

The Module takes the following arguments:

Parameter Type Status Description
game Named Optional, defaults to "S2" The game that the weapons belong to. At time of writing, this is either "S2" or "S3".
time Named Required The date value of when the rotation happened.

Something like {{date|2023-02-18}} at {{time|2023-02-18 08:00 UTC}}

stage Named Required The stage the rotation was played on.
weapon_i Named Required The ith weapon in this rotation: weapon_1 to weapon_4 inclusive. Can be ? or ?? to indicate random or random rare, respectively.
rare_weapon Named Optional The Rare weapon, if applicable. Can be Any for a random rare rotation. For regular random rotations, set to Multiple and use available_rares.
bigrun Named Optional If this rotation is a Big Run rotation. Any non-empty value sets this to true (e.g. 'yes').
number_of_rares Named Optional The number of Rare weapons available during rotation. The argument determines which weapons will be shown in "Any", and is necessary to display multiple rares in normal wildcard rotations. For the Salmon Run, there are 4 rare weapons in all the Any rotations. For Salmon Run Next Wave, it should be set to the number of rare weapons that were available during the rotation, with :Any" rotations that occurred before the addition of the Grizzco Dualies having 6 available weapons.
available_rares Named Optional The number of rare weapons available during a regular random rotation. The parser checks the string for "Grizzco" (case-sensitive), followed by a single space, followed by zero or more letters. For consistency, the argument should be formatted as "Grizzco Weapon, Grizzco Weapon, Grizzco Weapon".