Template:AbilitiesExcludedByAbility: Difference between revisions
From Inkipedia, the Splatoon wiki
(Added Support for Splatoon 3) |
GloverMist (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
|Stealth Jump={{#ifeq:{{{1|S}}}|S|[[Bomb Sniffer]] {{#ifeq:{{{3|}}}|or|or|and}} [[Ink Resistance Up]]|[[Drop Roller]] {{#ifeq:{{{3|}}}|or|or|and}} [[Object Shredder]]}} | |Stealth Jump={{#ifeq:{{{1|S}}}|S|[[Bomb Sniffer]] {{#ifeq:{{{3|}}}|or|or|and}} [[Ink Resistance Up]]|[[Drop Roller]] {{#ifeq:{{{3|}}}|or|or|and}} [[Object Shredder]]}} | ||
|#default=}}</includeonly><noinclude>__NOTOC__ | |#default=}}</includeonly><noinclude>__NOTOC__ | ||
Prints out the [[ | Prints out the [[Gear ability|abilities]] excluded by a specific ability due to being main-only abilities on the same gear slot. | ||
== Parameters == | == Parameters == | ||
Line 25: | Line 25: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>game</code>||Unnamed, required.||The game that the ability and brand belong to. Must be one of the following: | |<code>game</code>||Unnamed, required.||The game that the ability and brand belong to. Must be one of the following: | ||
*<code>S</code> for Splatoon | *<code>S</code> for ''Splatoon'' | ||
*<code>S2</code> for Splatoon 2 | *<code>S2</code> for ''Splatoon 2'' | ||
*<code>S3</code> for Splatoon 3 | *<code>S3</code> for ''Splatoon 3'' | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>ability</code>||Unnamed, required.||The ability that will exclude others. Naming an ability that is not main-only (or any other string) will result in empty output. Must be one of the | |<code>ability</code>||Unnamed, required.||The ability that will exclude others. Naming an ability that is not main-only (or any other string) will result in empty output. Must be one of the following: | ||
*[[Headgear]]-only | *[[Headgear]]-only | ||
**<code>Comeback</code> | **<code>Comeback</code> | ||
Line 140: | Line 140: | ||
|{{AbilitiesExcludedByAbility|S3|Stealth Jump}} | |{{AbilitiesExcludedByAbility|S3|Stealth Jump}} | ||
|} | |} | ||
== Examples == | == Examples == |
Revision as of 12:08, 26 February 2023
Prints out the abilities excluded by a specific ability due to being main-only abilities on the same gear slot.
Parameters
{{AbilitiesExcludedByAbility|<game>|<ability>|<or>}}
game |
Unnamed, required. | The game that the ability and brand belong to. Must be one of the following:
|
ability |
Unnamed, required. | The ability that will exclude others. Naming an ability that is not main-only (or any other string) will result in empty output. Must be one of the following:
|
or |
Unnamed, required. | If included, the last item in the list is separated with "or". Otherwise, it is separated with "and" |
Values
Examples
Markup
{{AbilitiesExcludedByAbility|S|Cold-Blooded}}<br /> "{{AbilitiesExcludedByAbility|S2|Cold-Blooded}}"<br /> {{AbilitiesExcludedByAbility|S2|Haunt|or}}<br /> "{{AbilitiesExcludedByAbility|S2|Special Saver}}"
Output
Haunt, Ninja Squid, and Recon
""
Ability Doubler, Ninja Squid, Respawn Punisher, or Thermal Ink
""