Diferencia entre revisiones de «Plantilla:Item List2»
De PowRO - Wiki
Ir a la navegaciónIr a la búsqueda
Sin resumen de edición Etiqueta: Reversión manual |
Sin resumen de edición |
||
(No se muestran 2 ediciones intermedias del mismo usuario) | |||
Línea 1: | Línea 1: | ||
<includeonly>{{#if: {{{simple|}}} | {{ #if:{{{num|}}} | {{{num}}}x }} https:// | <includeonly>{{#if: {{{simple|}}} | {{ #if:{{{num|}}} | {{{num}}}x }} https://powroarchangels.com/panel/data/items/icons/{{{id}}}.png {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}] }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;" | ||
{{!}} style="text-align:center; width:30px; border:none;" {{!}} https://irowiki.org/images/db/item/{{{id}}}.png | {{!}} style="text-align:center; width:30px; border:none;" {{!}} https://irowiki.org/images/db/item/{{{id}}}.png | ||
{{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}] }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}] }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | ||
Línea 20: | Línea 20: | ||
|- | |- | ||
| <code><nowiki>{{Item List |id=2285 |item=Apple of Archer}}</nowiki></code> | | <code><nowiki>{{Item List |id=2285 |item=Apple of Archer}}</nowiki></code> | ||
| {{Item | | {{Item List2 |id=2285 |item=Apple of Archer}} | ||
|- | |- | ||
| <code><nowiki>{{Item List |id=914 |item=Fluff |num=3}}</nowiki></code> | | <code><nowiki>{{Item List |id=914 |item=Fluff |num=3}}</nowiki></code> | ||
| {{Item | | {{Item List2 |id=914 |item=Fluff |num=3}} | ||
|- | |- | ||
| <code><nowiki>{{Item List |id=2229 |item=Helm |slots=1}}</nowiki></code> | | <code><nowiki>{{Item List |id=2229 |item=Helm |slots=1}}</nowiki></code> | ||
| {{Item | | {{Item List2 |id=2229 |item=Helm |slots=1}} | ||
|- | |- | ||
| <code><nowiki>{{Item List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code> | | <code><nowiki>{{Item List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code> | ||
| {{Item | | {{Item List2 |id=1550 |item=Book |slots=3 |num=2}} | ||
|- | |- | ||
| <code><nowiki>* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)</nowiki></code> | | <code><nowiki>* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)</nowiki></code> | ||
| | | | ||
* {{Item | * {{Item List2 |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3) | ||
|} | |} | ||
Revisión actual - 10:43 24 ene 2024
Description
The purpose of this template is to link an item, complete with icon.
Note: The correct capitalization is Item List. Do not forget the second capitalized letter!
Usage
{{Item List2 |id=<id> |item=<name>}} {{Item List2 |id=<id> |item=<name> |num=<num>}} {{Item List2 |id=<id> |item=<name> |slots=<slots>}}
Example | Output | ||
---|---|---|---|
{{Item List |id=2285 |item=Apple of Archer}}
|
| ||
{{Item List |id=914 |item=Fluff |num=3}}
|
| ||
{{Item List |id=2229 |item=Helm |slots=1}}
|
| ||
{{Item List |id=1550 |item=Book |slots=3 |num=2}}
|
| ||
* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
|
|
Fields
id | The ID of the item as seen in the itemdesctables. |
---|---|
item | The name of the item to be used and displayed. |
num | The number of the item |
slots | The number of slots in the item |