Template:Item List: Difference between revisions

From TimeRO Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{simple|}}} | https://wiki.ragnarok-infinitezero.com.br/images/iten/{{{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: {{{simple|}}} |  
{{!}} style="text-align:center; width:30px; border:none;" {{!}} https://wikires.playragnarokzero.com/item/icon/{{{id}}}.png
    [[File:{{{id}}}.png|link=]] {{#if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{#if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{#if:{{{slots|}}} | [{{{slots}}}&#93; }} {{#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}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
|  
    {{{!}} style="background:none; padding:1px; border-spacing:0px;"
    {{!}} style="text-align:center; width:30px; border:none;" {{!}} [[File:{{{id}}}.png|link=]]
    {{!}} 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__
}}</includeonly>
 
<noinclude>__NOTOC__
== Description ==
== Description ==
The purpose of this template is to link an item, complete with icon.
The purpose of this template is to link an item, complete with icon.
''Note: The correct capitalization is '''I'''tem '''L'''ist. Do not forget the second capitalized letter!''


=== Usage ===
=== Usage ===
Line 32: Line 35:
|-
|-
| <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 List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
|}
|}


Line 45: Line 47:
|-
|-
! num
! num
| The number of the item
| The number of the item.
|-
|-
! slots
! slots
| The number of slots in the item
| The number of slots in the item.
|}
|}



Revision as of 15:15, 2 April 2025


Description

The purpose of this template is to link an item, complete with icon.

Usage

{{Item List |id=<id> |item=<name>}}
{{Item List |id=<id> |item=<name> |num=<num>}}
{{Item List |id=<id> |item=<name> |slots=<slots>}}
Example Output
{{Item List |id=2285 |item=Apple of Archer}}
2285.png Apple of Archer Item #2285 Apple of Archer}


{{Item List |id=914 |item=Fluff |num=3}}
914.png 3 Fluff Item #914 Fluff}


{{Item List |id=2229 |item=Helm |slots=1}}
2229.png Helm [1] Item #2229 Helm [1]}


{{Item List |id=1550 |item=Book |slots=3 |num=2}}
1550.png 2 Book [3] Item #1550 Book [3]}


* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3) * 5164.png Tiara [1] Item #5164 Tiara [1]}
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.

See Also