Template:Availability: Difference between revisions

From Inkipedia, the Splatoon wiki
(making into module invocation)
Tag: Replaced
(Removed extra space, added category)
 
Line 1: Line 1:
<includeonly>{{#invoke:Availability|main}}</includeonly><noinclude>
<includeonly>{{#invoke:Availability|main}}</includeonly><noinclude>
Template invocation of [[Module:Availability]].
Template invocation of [[Module:Availability]].
{{:Module:Availability/doc}}


{{:Module:Availability/doc}}
[[Category:Inline templates]]
</noinclude>
</noinclude>

Latest revision as of 21:12, 13 July 2024

Template invocation of Module:Availability.

Displays an inline item availability icon with a text link.

Parameters

availability Unnamed. The means by which an item is available. Pre-made options are:
  • Octo Canyon
  • Octo Valley
  • Salmon Run
  • Splatfest
  • 7-Eleven
  • Octo Expansion
  • Catalog
  • Wandercrust

However, it need not be one of these. If something not in this list is used, it is the caller's responsibility to handle the icon and link.

size Unnamed, optional. A Mediawiki image size parameter for the icon.
game Optional. The game that the Brand belongs to. The default value is "Splatoon". Must be one of the following:
  • Splatoon
  • Splatoon 2
  • Splatoon 3
icononly Optional. If present and "true", the text label will be omitted.

Examples

Markup

{{Availability}}
{{Availability|Octo Canyon}}
{{Availability|Octo Valley|48px}}
{{Availability|Splatfest|game=Splatoon 2}}
{{Availability|Salmon Run|icononly=true}}
{{Availability|{{NS}} [[Custom]] example}}

Output

Splatfest Splatfest

Octo Canyon Octo Canyon

Octo Valley Octo Valley

Splatfest Splatfest

Salmon Run

Nintendo Switch Custom example