Template:Item List

From
Jump to: navigation, search

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://irowiki.org/images/db/item/2285.png {{ #if: | {{{num}}} }} 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;" https://irowiki.org/images/db/item/2285.png {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} 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: | https://irowiki.org/images/db/item/914.png {{ #if:3 | 3 }} 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; width:30px; border:none;" | https://irowiki.org/images/db/item/914.png | style="border:none; white-space:nowrap;" | {{ #if:3 | 3 }} {{ #if: | {{{prefix}}} }} 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: | https://irowiki.org/images/db/item/2229.png {{ #if: | {{{num}}} }} 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; width:30px; border:none;" | https://irowiki.org/images/db/item/2229.png | style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} 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: | https://irowiki.org/images/db/item/1550.png {{ #if:2 | 2 }} 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; width:30px; border:none;" | https://irowiki.org/images/db/item/1550.png | style="border:none; white-space:nowrap;" | {{ #if:2 | 2 }} {{ #if: | {{{prefix}}} }} 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) |

| style="text-align:center; width:30px; border:none;" | https://irowiki.org/images/db/item/5164.png | style="border:none; white-space:nowrap;" | {{ #if: | {{{num}}} }} {{ #if: | {{{prefix}}} }} 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

See Also