Template:Type

From Official Temtem Wiki
Jump to navigation Jump to search
Template-info.png Documentation

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

Usage

{{type|typename|size|label}}

Parameters

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. 1 adds the type name as a label. 2 adds the type name along with "-type" afterwards. 3 adds the type name but not add a link to it. By default, doesn't add a label.

Example

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

{{type|typename|size=#px}} Shows resized icon of specified type.
{{type|neutral|size=25}} produces neutral
{{type|neutral|25}} produces neutral

{{type|typename|size=#px|label=0/1/2}} Shows resized icon of specified type followed by a label link.
{{type|neutral|size=25|label=1}} produces Neutral
{{type|neutral|25|1}} produces Neutral

{{type|neutral|size=25|label=2}} produces Neutral type
{{type|neutral|25|2}} produces Neutral type

{{type|neutral|25|3}} produces Neutral