Template:ItemLink/doc

From Parallel Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
This template uses Module:SpriteFile, a script written in Lua.

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}} ItemSprite bread.png: Sprite image for bread in Minecraft linking to mcwiki:BreadBread
{{ItemLink|Apple}} ItemSprite apple.png: Sprite image for apple in Minecraft linking to mcwiki:AppleApple
{{ItemLink|Sugar}} ItemSprite sugar.png: Sprite image for sugar in Minecraft linking to mcwiki:SugarSugar
{{ItemLink|id=raw-fish|Fish}} File:ItemSprite raw-fish.pngFish
{{ItemLink|parallel:Totem of the Void}} ParallelItemSprite totem-of-the-void.png: Sprite image for totem-of-the-void in Minecraft linking to Totem of the VoidTotem of the Void

Full list

Here is a full list of entities:

See also

Minecraft
Minecraft Dungeons
Other


de:Vorlage:GegenstandLink/Dokumentation es:Plantilla:ItemLink/doc fr:Modèle:LienObjet/doc ja:テンプレート:ItemLink/doc ru:Шаблон:Ссылка/Предмет/док th:แม่แบบ:ItemLink/doc