Template:Brand: Difference between revisions

From Inkipedia, the Splatoon wiki
(Created page with "<includeonly>[[File:Brand_{{{1}}}.png|30px|link=Category:{{{1}}}|{{{1}}}] [[Category:{{{1}}}|{{{1}}}]</includeonly>")
 
m (Undo revision 290782 by GuyPerfect (talk) That's not what needs to be neutral)
Tag: Undo
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>[[File:Brand_{{{1}}}.png|30px|link=Category:{{{1}}}|{{{1}}}] [[Category:{{{1}}}|{{{1}}}]</includeonly>
<includeonly>[[File:{{{1|S}}}_Brand_{{{2}}}.png|{{#iferror:{{#expr:{{{3|24}}}}}|24}}px|{{{2}}}|link={{{2|SquidForce}}}{{#switch:{{{2}}}
|amiibo
|Amiibo
|Ammo Knights
|Custom
|Nintendo
|Sheldon's Picks
|"Splat"
|Splat=_(brand)
|#default=}}]]{{#ifeq:{{{3|}}}|icononly||{{#ifeq:{{{4|}}}|icononly||
&#32;[[{{{2}}}{{#switch:{{{2}}}
|amiibo
|Amiibo
|Ammo Knights
|Custom
|Nintendo
|Sheldon's Picks
|"Splat"
|Splat=_(brand)
|#default=}}|{{{2}}}]]}}}}</includeonly><noinclude>{{Brand/doc}}</noinclude>

Latest revision as of 14:12, 7 September 2022

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.

Usage

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

Parameters

Parameter Type Status Description
game Unnamed Required The shortened game form that the brand belongs to:
  • S for Splatoon.
  • S2 for Splatoon 2.
  • S3 for Splatoon 3.
name Unnamed Required 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}}
* {{Brand|S|Krak-On|48}}
* {{Brand|S2|Krak-On}}
* {{Brand|S|Krak-On|icononly}}
* {{Brand|S2|Krak-On|48|icononly}}
* {{Brand|S|amiibo}}
* {{Brand|S|Custom}}
* {{Brand|S3|Emberz|36}}

Output