Plantilla:Type

De Official Temtem Wiki
Ir a la navegación Ir a la búsqueda

UnknownType.png

Template-info.png Documentación

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 LargeNeutral.png

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 LargeNeutral.png
{{type|Neutral|25}} produces LargeNeutral.png

{{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 LargeNeutral.pngTipo Neutral
{{type|Neutral|25|y}} produces LargeNeutral.pngTipo 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 LargeFire.png

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 LargeFire.png
{{type|Fuego|25}} produces LargeFire.png

{{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 LargeFire.pngTipo Fuego
{{type|Fuego|25|y}} produces LargeFire.pngTipo 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 LargeToxic.png {{type|Toxico}} produces UnknownType.png

Notice that the results are the same.

Example 4[editar]

In this example, an short label is generated instead

{{type|Tóxico|c}} produces LargeToxic.pngTóxico