Diferencia entre revisiones de «Plantilla:Item2»

De AtlantisRO
Ir a la navegación Ir a la búsqueda
(Página creada con «<includeonly>{{#if: {{{simple|}}} | {{#if:{{{noicon|}}}||https://irowiki.org/images/db/item/{{{id}}}.png}} {{ #if:{{{num|}}} | {{{num}}} }} {{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; {{#if:{{{noicon|}}}||width:30px;}} border:none;" {{!}} {{#if:{{{noicon|}}}||…»)
 
Sin resumen de edición
 
(No se muestran 14 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
<includeonly>{{#if: {{{simple|}}} | {{#if:{{{noicon|}}}||https://irowiki.org/images/db/item/{{{id}}}.png}} {{ #if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
<includeonly>{{#if:{{{noicon|}}}|<span class="plainlinks">{{#if:{{{num|}}}|{{{num}}}x }}{{#if:{{{refine|}}}|+{{{refine}}} }}[https://www.divine-pride.net/database/item/{{{id}}}/ {{{item}}}{{#if:{{{slots|}}}|[{{{slots}}}]}}]</span>|https://www.atlantis-ro.com/wiki/upload/items/item/{{{id}}}.png<span class="plainlinks"> {{#if:{{{num|}}}|{{{num}}}x }}{{#if:{{{refine|}}}|+{{{refine}}} }}[https://www.divine-pride.net/database/item/{{{id}}}/ {{{item}}}{{#if:{{{slots|}}}|[{{{slots}}}]}}]</span>}}</includeonly>
{{!}} style="text-align:center; {{#if:{{{noicon|}}}||width:30px;}} border:none;" {{!}} {{#if:{{{noicon|}}}||https://irowiki.org/images/db/item/{{{id}}}.png}}
<noinclude>__NOTOC__
{{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
 
{{!}}}
}}</includeonly><noinclude>__NOTOC__
== Uso ==
== Uso ==
<pre>
<pre>
{{Item List |id=<id> |item=<name>}}
{{Item2 |id=2285 |item=Apple of Archer}}
{{Item List |id=<id> |item=<name> |num=<num>}}
{{Item2 |id=2285 |item=Apple of Archer |slots=1}}
{{Item List |id=<id> |item=<name> |slots=<slots>}}
{{Item2 |id=2285 |item=Apple of Archer |num=3}}
{{Item2 |id=2285 |item=Apple of Archer |refine=7}}
{{Item2 |id=2285 |item=Apple of Archer |simple=yes}}
{{Item2 |id=2285 |item=Apple of Archer |noicon=yes}}
</pre>
</pre>


== Ejemplos ==
{{Item2 |id=2285 |item=Apple of Archer}}
{{Item2 |id=2285 |item=Apple of Archer |slots=1}}
{{Item2 |id=2285 |item=Apple of Archer |num=3}}
{{Item2 |id=2285 |item=Apple of Archer |refine=7}}
{{Item2 |id=2285 |item=Apple of Archer |simple=yes}}
{{Item2 |id=2285 |item=Apple of Archer |noicon=yes}}
== Campos ==
{| class="wikitable"
{| class="wikitable"
! Ejemplo !! Resultado
! Campo !! Descripción
|-
| <code><nowiki>{{Item List |id=2285 |item=Apple of Archer}}</nowiki></code>
| {{Item List |id=2285 |item=Apple of Archer}}
|-
| <code><nowiki>{{Item List |id=914 |item=Fluff |num=3}}</nowiki></code>
| {{Item List |id=914 |item=Fluff |num=3}}
|-
|-
| <code><nowiki>{{Item List |id=2229 |item=Helm |slots=1}}</nowiki></code>
| id || ID del item
| {{Item List |id=2229 |item=Helm |slots=1}}
|-
|-
| <code><nowiki>{{Item List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code>
| item || Nombre visible
| {{Item List |id=1550 |item=Book |slots=3 |num=2}}
|-
|-
| <code><nowiki>{{Item List |id=1550 |item=Book |slots=3 |noicon=yes}}</nowiki></code>
| num || Cantidad
| {{Item List |id=1550 |item=Book |slots=3 |noicon=yes}}
|-
|-
| <code><nowiki>* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)</nowiki></code>
| slots || Slots
|
* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
|}
 
=== Fields ===
{| class="wikitable"
! id
| The ID of the item as seen in the itemdesctables.
|-
|-
! item
| refine || Nivel de refine
| The name of the item to be used and displayed.
|-
|-
! num
| prefix || Texto previo
| The number of the item
|-
|-
! slots
| postfix || Texto posterior
| The number of slots in the item
|-
|-
! refine
| noicon || Oculta icono
| The refine value number of the item
|-
|-
! noicon
| simple || Modo inline (texto)
| If set to "yes" then the item is not going to display the icon.
|}
|}
</noinclude>
</noinclude>

Revisión actual - 16:09 16 dic 2025


Uso

{{Item2 |id=2285 |item=Apple of Archer}}
{{Item2 |id=2285 |item=Apple of Archer |slots=1}}
{{Item2 |id=2285 |item=Apple of Archer |num=3}}
{{Item2 |id=2285 |item=Apple of Archer |refine=7}}
{{Item2 |id=2285 |item=Apple of Archer |simple=yes}}
{{Item2 |id=2285 |item=Apple of Archer |noicon=yes}}

Ejemplos

2285.png Apple of Archer

2285.png Apple of Archer[1]

2285.png 3xApple of Archer

2285.png +7Apple of Archer

2285.png Apple of Archer

Apple of Archer


Campos

Campo Descripción
id ID del item
item Nombre visible
num Cantidad
slots Slots
refine Nivel de refine
prefix Texto previo
postfix Texto posterior
noicon Oculta icono
simple Modo inline (texto)