Template:Brand

From Inkipedia, the Splatoon wiki
Revision as of 10:11, 14 February 2018 by Inkrid (talk | contribs) (Made this function like the other templates. Added a helper category for quicker fixing of the issues this change will cause.)

Displays an inline Brand icon with a text link.
If a page named "<name>_(brand)" exists, the link will point to that page, but will still only show <name> as the text.

{{Brand|<game>|<name>|<size>|<icononly>}}

Parameters

game Unnamed The game that the Brand belongs to. Must be one of the following:
  • S for Splatoon
  • S2 for Splatoon 2
name Unnamed. The English name of the Brand. Can be either a gear brand or a weapon brand.
size Unnamed, optional. The size of the icon. The default size is 24.
icononly Unnamed, Optional. If present, the text label will be omitted.

Examples

Markup

{{Brand|S|Krak-On}}<br />
{{Brand|S|Krak-On|48}}<br />
{{Brand|S2|Krak-On}}<br />
{{Brand|S|Krak-On|icononly}}<br />
{{Brand|S2|Krak-On|48|icononly}}<br />
{{Brand|S|amiibo}}<br />
{{Brand|S|Custom}}

Output

Krak-On Krak-On
Krak-On Krak-On
Krak-On Krak-On
Krak-On
Krak-On
amiibo amiibo
Custom Custom