ARK: Survival Evolved Wiki
Will130Bot (discussion | contributions)
Will130Bot (discussion | contributions)
Ligne 113 : Ligne 113 :
 
</templatedata>
 
</templatedata>
 
-->
 
-->
<noinclude>{{MissingTranslations|pl|it|de|es|pt-br|ru|ja}}</noinclude>
+
<noinclude>{{MissingTranslations|pl|it|de|es|pt-br|ru|ja}}</noinclude><noinclude>
  +
[[Catégorie:Documentation de modèles]]
  +
</noinclude>

Version du 25 septembre 2020 à 18:30

Template-info Documentation

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

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

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

Lowercase link:

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

Plural link:

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

Quantity:

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

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

{{ItemLink|Sable (Scorched Earth)}} = Sable (Scorched Earth) Sable (Scorched Earth)
{{ItemLink|Sable (Scorched Earth)|Sable}} = Sable (Scorched Earth) Sable

Ceci est une page documentaire, elle devrait être transcluse dans le modèle principal. Voir Modèle:Doc pour de plus amples renseignements.