Plantilla:Type
This template provides a shorthand design for Temtem types where ever they are needed. This template specifically is designed for spanish use, meaning spanish type names can be given and Spanish labels and links are assigned
Usage[editar]
{{type|typename|size|label}}
Parameters[editar]
Parameters can be set either numerically or named.
- typename
- Self explanatory, Case-Insensitive. When not used, automatically displays as Unknown. These names can be inputed in spanish and english
- size
- Optional. Resizes the icon to specified square pixel size. Without it, the image will shown in full size.
- label
- Optional. y/n, adds a label after the icon that will also link to the type page. By default, doesn't add a label.
Example[editar]
Example 1[editar]
{{type|typename}}
Shows largest size icon of specified type.
{{type|Neutral}}
produces
Notice that mousing over the type shows the spanish name and clicking on the icon links to the spanish page
{{type|typename|size=#px}}
Shows resized icon of specified type.
{{type|Neutral|size=25}}
produces
{{type|Neutral|25}}
produces
{{type|typename|size=#px|label=y/n}}
Shows resized icon of specified type followed by a label link.
{{type|Neutral|size=25|label=y}}
produces Tipo Neutral
{{type|Neutral|25|y}}
produces Tipo Neutral
Example 2[editar]
In this example, the spanish name for the type is used in the definition.
{{type|typename}}
Shows largest size icon of specified type.
{{type|Fuego}}
produces
Notice that mousing over the type shows the spanish name and clicking on the icon links to the spanish page.
{{type|typename|size=#px}}
Shows resized icon of specified type.
{{type|Fuego|size=25}}
produces
{{type|Fuego|25}}
produces
{{type|typename|size=#px|label=y/n}}
Shows resized icon of specified type followed by a label link.
{{type|Fuego|size=25|label=y}}
produces Tipo Fuego
{{type|Fuego|25|y}}
produces Tipo Fuego
Example 3[editar]
In this example, the spanish name for the type is used in the definition with and without an accent mark (for lazy typing).
{{type|Tóxico}}
produces
{{type|Toxico}}
produces
Notice that the results are the same.
Example 4[editar]
In this example, an short label is generated instead