Template:Shop: Difference between revisions
From Inkipedia, the Splatoon wiki
m (→Output: didn't match input example) |
(Changed to Lua module. In the interim, Template:Shop/new was used.) Tag: Replaced |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Shop|main}}</includeonly><noinclude> | ||
Invokes [[Module:Shop]]. | |||
{{:Module:Shop/doc}} | |||
{ | </noinclude> | ||
Revision as of 16:26, 9 February 2024
Invokes Module:Shop.
Displays an inline shop icon with a link text.
Parameters
game |
Named, required. | The abbreviation of icon's game of origin. Must be one of the following:
|
name |
Named, required. | The English name of the shop.
|
icononly |
Named, optional. | If present and "true", the link text will be omitted. |
size |
Named, optional. | The width of the icon in pixels (do not include px ). Defaults to 24 if absent.
|
Examples
Markup
{{Shop|game=S|name=Ammo Knights}}<br /> {{Shop|game=S3|name=Naut Couture}}<br /> {{Shop|game=S3|name=Ammo Knights|icononly=true|size=64}}<br /> {{Shop|game=S3|name=Ammo Knights (Inkopolis)|size=48}}
Output
Script error: The function "main" does not exist.
Script error: The function "main" does not exist.
Script error: The function "main" does not exist.
Script error: The function "main" does not exist.