Diferencia entre revisiones de «Plantilla:Icono prenda»
De Inkipedia
m (→Output: Upgrade: Template:Gear → Template:InterimGear) |
|||
Línea 34: | Línea 34: | ||
=== Output === | === Output === | ||
{{Gear|Clothing|Basic Tee}}<br /> | {{Gear|Clothing|Basic Tee}}<br /> | ||
{{ | {{Gear|Clothing|Basic Tee|48px}}<br /> | ||
{{ | {{Gear|Clothing|Basic Tee|icononly=true}}<br /> | ||
{{ | {{Gear|Clothing|Basic Tee|game=Splatoon 2}} | ||
</noinclude> | </noinclude> |
Revisión del 05:16 6 dic 2017
Displays an inline gear item icon with a text link.
Parameters
category |
Unnamed. | The type of gear. Must be one of the following:
|
name |
Unnamed. | The English name of the item. |
size |
Unnamed, optional. | A Mediawiki image size parameter for the icon. The default size is 24px. |
game |
Optional. | The game that the item belongs to. The default value is "Splatoon". Must be one of the following:
|
icononly |
Optional. | If present and "true", the text label will be omitted. |
Examples
Markup
{{Gear|Clothing|Basic Tee}}<br /> {{Gear|Clothing|Basic Tee|48px}}<br /> {{Gear|Clothing|Basic Tee|icononly=true}}<br /> {{Gear|Clothing|Basic Tee|game=Splatoon 2}}