Template: Item List

From Xeliki
Jump to: navigation, search
m (Undo revision 26660 by Stalker-ness (talk))
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{simple|}}} | http://db.irowiki.org/image/item/{{{id}}}.png {{ #if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | <nowiki>[</nowiki>{{{slots}}}<nowiki>]</nowiki> }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
+
<includeonly>{{#if: {{{simple|}}} | https://xellie.com/RO/wiki/small/{{{id}}}.gif {{ #if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | <nowiki>[</nowiki>{{{slots}}}<nowiki>]</nowiki> }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
{{!}} style="align:center; width:30px; border: none;" {{!}} http://db.irowiki.org/image/item/{{{id}}}.png
+
{{!}} style="align:center; width:30px; border: none;" {{!}}https://xellie.com/RO/wiki/small/{{{id}}}.gif
 
{{!}} style="border: none;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | <nowiki>[</nowiki>{{{slots}}}<nowiki>]</nowiki> }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
 
{{!}} style="border: none;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | <nowiki>[</nowiki>{{{slots}}}<nowiki>]</nowiki> }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
 
{{!}}}
 
{{!}}}

Latest revision as of 23:49, 3 January 2024

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}}
2285.gif Apple of Archer
{{Item List |id=914 |item=Fluff |num=3}}
914.gif 3 Fluff
{{Item List |id=2229 |item=Helm |slots=1}}
2229.gif Helm 1
{{Item List |id=1550 |item=Book |slots=3 |num=2}}
1550.gif 2 Book 3
*{{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (+3 [[INT]])

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