Template:Item List: Difference between revisions
Created page with "<includeonly>{{#if: {{{simple|}}} | {{#if:{{{noicon|}}}||https://ethernalro.com/database/data/items/icons/{{{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:{{{n..." Tag: Recreated |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{simple|}}} | {{#if:{{{noicon|}}}||https:// | <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|}}}||https:// | {{!}} style="text-align:center; {{#if:{{{noicon|}}}||width:30px;}} border:none;" {{!}} {{#if:{{{noicon|}}}||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}}} }} }} | ||
{{!}}} | {{!}}} | ||
Revision as of 18:46, 28 July 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}}
|
{{#if: | {{{num}}} }} [[[:Template:Database]]/item-info/{{#sub: 2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|{{#pos:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;" | style="text-align:center; {{#if: | {{#if: | https://irowiki.org/images/db/item/2285.png}} | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|{{#pos:2285 {{ #if: | {{{prefix}}} }} Apple of Archer {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}] |
}}
|-
| {{Item List |id=914 |item=Fluff |num=3}}
| {{#if: | {{#if:||https://irowiki.org/images/db/item/914.png}} {{ #if:3 | 3 }} [[[:Template:Database]]/item-info/{{#sub: 914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|{{#pos:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; {{#if:||width:30px;}} border:none;" | {{#if:||https://irowiki.org/images/db/item/914.png}}
| style="border:none; white-space:nowrap;" | {{ #if:3 | 3 }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}|{{#pos:914 {{ #if: | {{{prefix}}} }} Fluff {{ #if: | [{{{slots}}}] }} {{ #if: | {{{postfix}}} }}| }}}}]
|}
}}
|-
| {{Item List |id=2229 |item=Helm |slots=1}}
| {{#if: | {{#if:||https://irowiki.org/images/db/item/2229.png}} {{ #if: | {{{num}}} }} [[[:Template:Database]]/item-info/{{#sub: 2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|{{#pos:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; {{#if:||width:30px;}} border:none;" | {{#if:||https://irowiki.org/images/db/item/2229.png}}
| style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|{{#pos:2229 {{ #if: | {{{prefix}}} }} Helm {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}]
|}
}}
|-
| {{Item List |id=1550 |item=Book |slots=3 |num=2}}
| {{#if: | {{#if:||https://irowiki.org/images/db/item/1550.png}} {{ #if:2 | 2 }} [[[:Template:Database]]/item-info/{{#sub: 1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; {{#if:||width:30px;}} border:none;" | {{#if:||https://irowiki.org/images/db/item/1550.png}}
| style="border:none; white-space:nowrap;" | {{ #if:2 | 2 }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}]
|}
}}
|-
| {{Item List |id=1550 |item=Book |slots=3 |noicon=yes}}
| {{#if: | {{#if:yes||https://irowiki.org/images/db/item/1550.png}} {{ #if: | {{{num}}} }} [[[:Template:Database]]/item-info/{{#sub: 1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; {{#if:yes||width:30px;}} border:none;" | {{#if:yes||https://irowiki.org/images/db/item/1550.png}}
| style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}|{{#pos:1550 {{ #if: | {{{prefix}}} }} Book {{ #if:3 | [3] }} {{ #if: | {{{postfix}}} }}| }}}}]
|}
}}
|-
| * {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
|
- {{#if: yes | {{#if:||https://irowiki.org/images/db/item/5164.png}} {{ #if: | {{{num}}} }} [[[:Template:Database]]/item-info/{{#sub: 5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|{{#pos:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}] | {| style="background:none; padding:1px; border-spacing:0px;"
| style="text-align:center; {{#if:||width:30px;}} border:none;" | {{#if:||https://irowiki.org/images/db/item/5164.png}} | style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} [[[:Template:Database]]/item-info/{{#sub: 5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|0|{{#pos:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}/ {{#sub:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}|{{#pos:5164 {{ #if: | {{{prefix}}} }} Tiara {{ #if:1 | [1] }} {{ #if: | {{{postfix}}} }}| }}}}] |} }} 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. |