Template:Disambigentry

From Team Fortress Wiki
Revision as of 15:35, 13 August 2024 by GrampaSwood (talk | contribs) (Parameters)
Jump to: navigation, search

[[File:Item icon {{{1}}}.png|link={{{1}}}|64px]] [[{{{1}}}|{{dictionary/items/{{{1}}}|null=|list=}}]]

Documentation for Disambigentry

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 "link" or "icon-override" is used, this parameter is not used for the link (only the displayed text). It defaults to using {{item link}}. By default also used for the displayed text, the item icon filename, the icon's link, and the default displayed text when using the "link" parameter.
l1
Optional, used to override the displayed text for the text link.
icon-override
Optional, used to override the default item icon (for usage on non-items).
size
Optional, same as size argument from {{item icon}}, defaults to 64px.
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.

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