Template:Brand: Difference between revisions
From Inkipedia, the Splatoon wiki
(Yesss!!! Made it work if you just put in "amiibo" for the only param. Thanks, {{ability}} and Recon. :y) |
GuyPerfect (talk | contribs) m (Undo revision 290782 by GuyPerfect (talk) That's not what needs to be neutral) Tag: Undo |
||
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>[[File:{{{1|S}}}_Brand_{{{2}}}.png|{{#iferror:{{#expr:{{{3|24}}}}}|24}}px|{{{2}}}|link={{{2|SquidForce}}}{{#switch:{{{2}}} | ||
| | |amiibo | ||
|#default = | |Amiibo | ||
}}]] | |Ammo Knights | ||
| | |Custom | ||
|# | |Nintendo | ||
}}| | |Sheldon's Picks | ||
|"Splat" | |||
|Splat=_(brand) | |||
|#default=}}]]{{#ifeq:{{{3|}}}|icononly||{{#ifeq:{{{4|}}}|icononly|| | |||
 [[{{{2}}}{{#switch:{{{2}}} | |||
|amiibo | |||
|Amiibo | |||
|Ammo Knights | |||
|Custom | |||
|Nintendo | |||
|Sheldon's Picks | |||
|"Splat" | |||
|Splat=_(brand) | |||
|#default=}}|{{{2}}}]]}}}}</includeonly><noinclude>{{Brand/doc}}</noinclude> | |||
{{ | |||
{{Brand | |||
</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:
|
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}}