Template:ItemLink

From Parallel Wiki
Jump to navigation Jump to search
[view] [edit] [history] [⧼smw purge⧽]Documentation
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 Bread (Vanilla)Bread
{{ItemLink|Apple}} ItemSprite apple.png: Sprite image for apple in Minecraft linking to Apple (Vanilla)Apple
{{ItemLink|Sugar}} ItemSprite sugar.png: Sprite image for sugar in Minecraft linking to Sugar (Vanilla)Sugar
{{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 es:Plantilla:ItemLink fr:Modèle:LienObjet ja:テンプレート:ItemLink ru:Шаблон:Ссылка/Предмет th:แม่แบบ:ItemLink

[view] [edit] [history] [⧼smw purge⧽]The above documentation is transcluded from Template:ItemLink/doc.