Plantilla:ItemLink
Enlace a una página de elemento con una imagen del elemento: Piedra
También admite una cantidad opcional en el frente: 5 × Piedra
Uso
{{ItemLink|Piedra}}
Nombre | Tipo | Requerido | Por Defecto |
---|---|---|---|
0
|
string
|
true
|
|
text
|
string
|
false
|
The value of the first positional parameter |
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
|
Ejemplos
Ambas lineas producen la misma salida:
{{ItemLink|Piedra}}
= Piedra
{{ItemLink|Piedra|text=Piedra|link=Piedra|image=Stone.png|size=20px|quantity=}}
= Piedra
Enlace singular:
{{ItemLink|Piedra|text=Piedra}}
= Piedra
Enlace plural:
{{ItemLink|Piedra|text=Piedras}}
= Piedras
Cantidad:
{{ItemLink|Piedra|quantity=5}}
= 5 × Piedra
{{ItemLink|Piedra|quantity=5-10}}
= 5-10 × Piedra
DLC-suffices Se convierten automáticamente en el icono correspondiente, Si no se da ningún texto de enlace explícito
{{ItemLink|Arena}}
= Arena
Esta documentación está transcluida desde Plantilla:ItemLink/doc. (editar | historial)