Template:UserSplashtag: Difference between revisions

From Inkipedia, the Splatoon wiki
(Supporting multiple sizes, adding documentation)
mNo edit summary
Line 14: Line 14:
|<code>badge3</code>||Optional.||The name of the third badge, or <code>empty</code>
|<code>badge3</code>||Optional.||The name of the third badge, or <code>empty</code>
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>size</code>||Named, Optional.||The number of pixels for the height of the badge images. The default is 24.
|<code>size</code>||Named, Optional.||The number of pixels for the size of the badge images. The default is 24.
|}
|}



Revision as of 16:26, 27 September 2022

Displays a friendly splashtag graphic for a user context.

Parameters

banner Required. The numeric ID of the banner image.
badge1 Optional. The name of the first badge, or empty
badge2 Optional. The name of the second badge, or empty
badge3 Optional. The name of the third badge, or empty
size Named, Optional. The number of pixels for the size of the badge images. The default is 24.

If badges are omitted, they are simply not added to the output. If an empty space is desired, use empty for the badge name.

Example

Markup:

{{UserSplashtag|11027|N-ZAP '85 4|Stinger 100|Catalog 50|size=32}}

Output:

S3 Banner 11027.png
S3 Badge N-ZAP '85 4.pngS3 Badge Stinger 100.pngS3 Badge Catalog 50.png