Template:Availability: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) m (Adding 7-Eleven option because that's what the world is coming to.) |
GuyPerfect (talk | contribs) m (Adding link for 7-Eleven) |
||
Line 7: | Line 7: | ||
|Splatoon 2 = S2 Splatfest Logo.svg | |Splatoon 2 = S2 Splatfest Logo.svg | ||
|#default = Splatfest Logo.png}}|{{#if:{{{2|}}}|{{{2}}}|24px}}|Splatfest|link=Splatfest]]{{#ifeq:{{{icononly|}}}|true|| [[Splatfest]]}} | |#default = Splatfest Logo.png}}|{{#if:{{{2|}}}|{{{2}}}|24px}}|Splatfest|link=Splatfest]]{{#ifeq:{{{icononly|}}}|true|| [[Splatfest]]}} | ||
|7-Eleven = [[File:7-Eleven Logo.png|{{#if:{{{2|}}}|{{{2}}}|24px}}|7-Eleven|link=]] 7-Eleven | |7-Eleven = [[File:7-Eleven Logo.png|{{#if:{{{2|}}}|{{{2}}}|24px}}|7-Eleven|link=Gear#7-Eleven Promotional Gear]] [[Gear#7-Eleven Promotional Gear|7-Eleven]] | ||
|#default = {{#if:{{{1|}}}|{{{1}}}}} | |#default = {{#if:{{{1|}}}|{{{1}}}}} | ||
}}</includeonly><noinclude>__NOTOC__ | }}</includeonly><noinclude>__NOTOC__ |
Revision as of 17:09, 8 August 2017
Displays an inline item availability icon with a text link.
Parameters
availability |
Unnamed. | The means by which an item is available. Must be one of the following:
|
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:
|
icononly |
Optional. | If present and "true", the text label will be omitted. |
Examples
Markup
{{Availability|Octo Canyon}}<br /> {{Availability|Octo Valley|48px}}<br /> {{Availability|Splatfest|game=Splatoon 2}}<br /> {{Availability|Salmon Run|icononly=true}}
Output
Octo Canyon
Octo Valley
Splatfest