Template:Disambigentry

From Team Fortress Wiki
Revision as of 11:51, 21 October 2023 by GrampaSwood (talk | contribs) (Moved "if lang" from inside {{{link}}} to outside it, meaning it will now automatically translate non-English links if it uses the link override parameter)
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=<page name>}}

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

Parameters

1
Uses {{item link}}, anything that can be used with that can be used with this.
icon-override
Optional, used to override the default item icon (for usage on non-items). If used, removes the usage of {{item link}}.
size
Optional, same as size argument from {{item icon}}, defaults to 64px.
link
Optional, used to add a link to the image (for usage on non-items). Automatically links to non-English pages.

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