Difference between revisions of "Template:UItem List"

From Project Alfheim Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{simple|}}} | [[File:Item_{{{1}}}.gif]] {{ #if:{{{num|}}} | {{{num}}} }} {{Ritem |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{Ritem}}} {{ #if:{...")
 
Line 1: Line 1:
<includeonly>{{#if: {{{simple|}}} | [[File:Item_{{{1}}}.gif]] {{ #if:{{{num|}}} | {{{num}}} }} {{Ritem |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{Ritem}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
+
<includeonly>{{#if: {{{simple|}}} | [[File:Item_{{{id}}}.gif]] {{ #if:{{{num|}}} | {{{num}}} }} {{Ritem |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{Ritem}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
{{!}} style="text-align:center; width:30px; border:none;" {{!}} [[File:Item_{{{1}}}.gif]]
+
{{!}} style="text-align:center; width:30px; border:none;" {{!}} [[File:Item_{{{id}}}.gif]]
 
{{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Ritem |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{Ritem}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
 
{{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Ritem |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{Ritem}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }}
 
{{!}}}
 
{{!}}}

Revision as of 12:40, 24 May 2023

Description

The purpose of this template is to link an item, complete with icon.

Note: The correct capitalization is UItem List. Do not forget the capitalized letters!

Usage

{{UItem List |id=<id> |Ritem=<name>}}
{{UItem List |id=<id> |Ritem=<name> |num=<num>}}
{{UItem List |id=<id> |Ritem=<name> |slots=<slots>}}
Example Output
{{UItem List |id=25377 |Ritem=Luxurious Pet Food}}
Item 25377.gif Luxurious Pet Food

Fields

id The ID of the item as seen in the itemdesctables.
Ritem The name of the Renewal item to be used and displayed.
num The number of the item
slots The number of slots in the item

See Also