Modèle:ItemLink

De ARK: Survival Evolved Wiki
Aller à : navigation, rechercher
Template-info.png Documentation

Link to an item page with an item image in front: Pierre

Also supports an optional quantity in front: 5 ×  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}} = Pierre

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

Lowercase link:

{{ItemLink|Pierre|text=pierre}} = pierre
{{ItemLink|Pierre|pierre}} = pierre

Plural link:

{{ItemLink|Pierre|text=Pierres}} = Pierres
Alternative: {{ItemLink|Pierre}}s = Pierres

Quantity:

{{ItemLink|Pierre|quantity=5}} = 5 ×  Pierre
{{ItemLink|Pierre|quantity=5-10}} = 5-10 ×  Pierre

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

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