Template:Item List: Difference between revisions

From Ragnarok Plus Wiki
Riunia (talk | contribs)
mNo edit summary
Riunia (talk | contribs)
m .png to .webp changes
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{simple|}}} | {{#if:{{{noicon|}}}||https://ragnarok.plus/data/item/{{{id}}}.webp}} {{ #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|}}} | {{#if:{{{noicon|}}}||https://ragnarok.plus/item-db/{{{id}}}.webp}} {{ #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;"
{{!}} style="text-align:center; {{#if:{{{noicon|}}}||width:30px;}} border:none;" {{!}} {{#if:{{{noicon|}}}||https://ragnarok.plus/data/item/{{{id}}}.webp}}
{{!}} style="text-align:center; {{#if:{{{noicon|}}}||width:30px;}} border:none;" {{!}} {{#if:{{{noicon|}}}||https://ragnarok.plus/item-db/{{{id}}}.webp}}
{{!}} 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="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}}} }} }}
{{!}}}
{{!}}}

Latest revision as of 22:33, 15 February 2026

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 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}}
https://ragnarok.plus/item-db/2285.webp Apple of Archer
{{Item List |id=914 |item=Fluff |num=3}}
https://ragnarok.plus/item-db/914.webp 3 Fluff
{{Item List |id=2229 |item=Helm |slots=1}}
https://ragnarok.plus/item-db/2229.webp Helm [1]
{{Item List |id=1550 |item=Book |slots=3 |num=2}}
https://ragnarok.plus/item-db/1550.webp 2 Book [3]
{{Item List |id=1550 |item=Book |slots=3 |noicon=yes}}
Book [3]
* {{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
refine The refine value number of the item
noicon If set to "yes" then the item is not going to display the icon.