Votre wiki a fait l'objet d'une migration vers un nouveau domaine Fandom. En savoir plus

ItemLink

Template-info.png Documentation

Link to an item page with an item image in front: Stone.png Pierre

Also supports an optional quantity in front: 5 ×  Stone.png Pierre

Usage

{{ItemLink|Pierre}}
Parameters
Name Type Required Default
0 string true
text string false The value of the first positional parameter, or the second if given
link string false The value of the first positional parameter
image string false The value of the first positional parameter suffixed with .png
size string false 20px
quantity string false

Examples

Both lines produce the same output:

{{ItemLink|Pierre}} = Stone.png Pierre

{{ItemLink|Pierre|text=Pierre|link=Pierre|image=Pierre.png|size=20px|quantity=}} = Stone.png Pierre

Lowercase link:

{{ItemLink|Pierre|text=pierre}} = Stone.png pierre
{{ItemLink|Pierre|pierre}} = Stone.png pierre

Plural link:

{{ItemLink|Pierre|text=Pierres}} = Stone.png Pierres
Alternative: {{ItemLink|Pierre}}s = Stone.png Pierres

Quantity:

{{ItemLink|Pierre|quantity=5}} = 5 ×  Stone.png Pierre
{{ItemLink|Pierre|quantity=5-10}} = 5-10 ×  Stone.png Pierre

DLC-suffices are converted automatically to the according icon, if no explicit link-text is given

{{ItemLink|Sable (Scorched Earth)}} = Sand (Scorched Earth).png Sable  Scorched Earth Icon.png
{{ItemLink|Sable (Scorched Earth)|Sable}} = Sand (Scorched Earth).png Sable

Sauf mention contraire, le contenu de la communauté est disponible sous licence CC BY-NC-SA 3.0.