Predefinição:ItemLink/doc
Ir para navegação
Ir para pesquisar
Link to an item page with an item image in front: Arquivo:Pedra.png Pedra
Also supports an optional quantity in front: 5 × Stone
Usage
{{ItemLink|Stone}}
Name | Type | Required | Default |
---|---|---|---|
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
|
Examples
Both lines produce the same output:
{{ItemLink|Stone|text=Stone|link=Stone|image=Stone.png|size=20px|quantity=}}
= Stone
Lowercase link:
{{ItemLink|Stone|text=stone}}
= stone
Plural link:
{{ItemLink|Stone|text=Stones}}
= Stones
Quantity:
Esta é uma página de documentação, ele deve ser inserida na página do modelo principal. Veja Predefinição:Doc para maiores informações.
Categorias:
- Páginas com ligações inválidas para arquivos
- Predefinições de documentação