Predefinição:Item List
Descrição
O propósito desse modelo é atribuir um link a um item, completado pelo seu ícone.
Nota: O correto é Item List. Não esqueça da segunda letra maiúscula!
Uso
{{Item List |id=<id> |item=<nome>}}
{{Item List |id=<id> |item=<nome> |num=<num>}}
{{Item List |id=<id> |item=<nome> |slots=<slots>}}
| Exemplo | Viualização | ||
|---|---|---|---|
| {{Item List |id=2285 |item=Maçã de Guilherme Tell}} | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} Maçã de Guilherme Tell {{ #if: | [{{{slots}}} }} {{ #if: | {{{postfix}}} }}] | {| style="background:none; padding:1px; border-spacing:0px;"
|
|
{{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} {{ #if: | {{{prefix}}} }} Maçã de Guilherme Tell {{ #if: | [{{{slots}}} }} {{ #if: | {{{postfix}}} }}] |
}}
|-
| {{Item List |id=914 |item=Felpa |num=3}} || {{#if: |
{{ #if:3 | 3 }} {{ #if: | {{{prefix}}} }} Felpa {{ #if: | [{{{slots}}} }} {{ #if: | {{{postfix}}} }}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; width:30px; border:none;" |
| style="border:none; white-space:nowrap;" | {{ #if:3 | 3 }} {{ #if: | {{{prefix}}} }} {{ #if: | {{{prefix}}} }} Felpa {{ #if: | [{{{slots}}} }} {{ #if: | {{{postfix}}} }}]
|}
}}
|-
| {{Item List |id=2229 |item=Elmo |slots=1}} || {{#if: |
{{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} Elmo {{ #if:1 | [1 }} {{ #if: | {{{postfix}}} }}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; width:30px; border:none;" |
| style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} {{ #if: | {{{prefix}}} }} Elmo {{ #if:1 | [1 }} {{ #if: | {{{postfix}}} }}]
|}
}}
|-
| {{Item List |id=1550 |item=Livro |slots=3 |num=2}} || {{#if: |
{{ #if:2 | 2 }} {{ #if: | {{{prefix}}} }} Livro {{ #if:3 | [3 }} {{ #if: | {{{postfix}}} }}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; width:30px; border:none;" |
| style="border:none; white-space:nowrap;" | {{ #if:2 | 2 }} {{ #if: | {{{prefix}}} }} {{ #if: | {{{prefix}}} }} Livro {{ #if:3 | [3 }} {{ #if: | {{{postfix}}} }}]
|}
}}
|-
| *{{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} com uma Carta Salgueiro Ancião (+3 [[INT]]) ||
- {{#if: yes |
{{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1 }} {{ #if: | {{{postfix}}} }}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; width:30px; border:none;" |
| style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1 }} {{ #if: | {{{postfix}}} }}]
|}
}} com uma Carta Salgueiro Ancião (+3 INT)
|}
Campos
| id | O ID do item, como visto na descrição do mesmo. |
| item | O nome do item a ser usado e mostrado. |
| num | A quantidade do item. |
| slots | O número de slots no item. |
{{ #if: | {{{num}}} }}