Jump to content

Template:Item List

From EthernalRO Wiki

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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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://ethernalro.com/database/data/items/icons/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.

See Also