Module:Shop/doc: Difference between revisions
From Inkipedia, the Splatoon wiki
Yoshifan52 (talk | contribs) m (Protected "Module:Shop/doc" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
(→Parameters: updated Shelly/Donny icon) |
||
Line 10: | Line 10: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>name</code>||Named, required.||The English name of the shop. | |<code>name</code>||Named, required.||The English name of the shop. | ||
* <code>Ammo Knights (Inkopolis)</code> (while <code>game=S3</code>) for Shelly and Donny icon | * <code>Ammo Knights (Inkopolis)</code> (while <code>game=S3</code>) for Shelly/Donny solo icon. | ||
* <code>Ammo Knights (Duo)</code> (while <code>game=S3</code>) for Shelly and Donny pair icon. | |||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>icononly</code>||Named, optional.||If present and "true", the link text will be omitted. | |<code>icononly</code>||Named, optional.||If present and "true", the link text will be omitted. |
Latest revision as of 13:39, 27 February 2024
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}}