Template:Disambigentry/sandbox

From Team Fortress Wiki
Jump to: navigation, search

Documentation for Disambigentry/sandbox

Usage

{{Disambigentry|1|icon-override=<image name>.jpg/png|size=<number>px|link=<article link>}}

Pictogram comment.png {{de}} also works!
For usage on disambiguations, automatically adds link + item icon.

Parameters

1
Name of the entry, if the link parameter is used then 1 is not used for the link but only the displayed text. It defaults to using {{item link}}. By default also used for the displayed text, the item icon filename, and the icon's link.
l1
Optional, used to override the displayed text for the text link. Only use if link is not used, otherwise the first parameter serves this purpose.
icon-override
Optional, used to override the default item icon (for usage on non-items). If used, adds {{if lang}} to the end of the 1 parameter.
size
Optional, determines the size of the icon, defaults to 64px. See Help:Style guide/Disambiguations#Images for some pre-determined images on certain entries (e.g. maps, unusual effects) with their size.
link
Optional, used when the linked item is not compatible with {{item link}}. Additionally, determines link on the icon and the link next to it.
whitespace
Optional, used to put space between the icon and the text to line the text up. Should only contain &aaaaanbsp; (can be more than one). Useful for when an icon contains no blank space next to it.

Example

{{Disambigentry|Bat}} generates Item icon Bat.png Bat.

{{Disambigentry|icon-override=Standard icon RED Bat.png|link=Bat/nl|size=70px}} generates Standard icon RED Bat.png Bat