Template:Disambigentry/sandbox
![]() | This template is very complex. If you have questions about this template, feel free to ask on the IRC. GrampaSwood has offered to maintain this template, you may contact them if you need further assistance. |
Documentation for Disambigentry/sandbox
Usage
{{Disambigentry|1|icon-override=<image name>.jpg/png|size=<number>px|link=<article link>}}
{{de}}
also works!
For usage on disambiguations, automatically adds link + item icon.
Parameters
- 1
- Name of the entry, if the
link
parameter is used then1
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 the1
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
&
(can be more than one). Useful for when an icon contains no blank space next to it. nbsp;
Example
{{Disambigentry|Bat}}
generates Bat.
{{Disambigentry|icon-override=Standard icon RED Bat.png|link=Bat/nl|size=70px}}
generates Bat