Modèle:Type/doc

De Official Temtem Wiki
Aller à la navigation Aller à la recherche
Template-info.png Documentation

/!\ Pour la version française du Wiki, utiliser Modèle:Type/fr /!\

This template provides a shorthand design for Temtem types where ever they are needed.

Usage[modifier]

{{type|typename|size|label}}

Parameters[modifier]

Parameters can be set either numerically or named.

typename
Self explanatory, Case-Insensitive. When not used, automatically displays as Unknown.
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[modifier]

{{type|typename}} Shows largest size icon of specified type.
{{type|Neutral}} produces UnknownType.png

{{type|typename|size=#px}} Shows resized icon of specified type.
{{type|Neutral|size=25}} produces UnknownType.png
{{type|Neutral|25}} produces UnknownType.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 UnknownType.pngNeutral Type
{{type|Neutral|25|y}} produces UnknownType.pngNeutral Type