Template:ItemLink/doc: Difference between revisions
Jump to navigation
Jump to search
(No difference)
|
Revision as of 15:20, 28 October 2023
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
This template creates a page link with an associated sprite image on the left side using the format from Template:ItemSprite.
Parameters
Name | Usage |
---|---|
|1=
|
Set the defaults for all other parameters |
|id=
|
Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase. Value may be a name or a number, though names are preferred |
|link=
|
Set the page to link, supports internal and external links If set to none , no link will be added
|
|text= or |2=
|
Sets the text to be displayed |
Examples
Code | Result |
---|---|
{{ItemLink|Pickaxe}} |
File:ItemSprite pickaxe.pngPickaxe |
{{ItemLink|Bread}} |
Bread |
{{ItemLink|Apple}} |
Apple |
{{ItemLink|Sugar}} |
Sugar |
{{ItemLink|id=raw-fish|Fish}} |
File:ItemSprite raw-fish.pngFish |
Full list
Here is a full list of entities:
See also
{{ItemSprite}}
{{Item}}
(infobox){{Items}}
(navbox)
- Minecraft
{{BiomeLink}}
{{BlockLink}}
{{EffectLink}}
{{EntityLink}}
{{EnvLink}}
{{InvLink}}
{{ItemLink}}
- Minecraft Dungeons
{{DungeonsLevelLink}}
{{DungeonsEntityLink}}
{{DungeonsItemLink}}
- Other
de:Vorlage:GegenstandLink/Dokumentation
es:Plantilla:ItemLink/doc
fr:Modèle:LienObjet/doc
ja:テンプレート:ItemLink/doc
ru:Шаблон:Ссылка/Предмет/док
th:แม่แบบ:ItemLink/doc