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:{...")
 
 
(2 intermediate revisions by the same user not shown)
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}}} }} }}
 
{{!}}}
 
{{!}}}
 
}}</includeonly><noinclude>__NOTOC__
 
}}</includeonly><noinclude>__NOTOC__
 
== Description ==
 
== Description ==
The purpose of this template is to link an item, complete with icon.
+
The purpose of this template is to link an item, complete with icon.<br>
 +
This should be used in case [[Template:Item_List]] and [[Template:RItem_List]] fail.
  
 
''Note: The correct capitalization is '''UI'''tem '''L'''ist. Do not forget the capitalized letters!''
 
''Note: The correct capitalization is '''UI'''tem '''L'''ist. Do not forget the capitalized letters!''
  
 
=== Usage ===
 
=== Usage ===
 +
First you must upload the .gif file in [[Special:Upload]] page, using the following nomenclature: Intem_<id>.gif
 +
 
<pre>
 
<pre>
 
{{UItem List |id=<id> |Ritem=<name>}}
 
{{UItem List |id=<id> |Ritem=<name>}}

Latest revision as of 12:55, 24 May 2023

Description

The purpose of this template is to link an item, complete with icon.
This should be used in case Template:Item_List and Template:RItem_List fail.

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

Usage

First you must upload the .gif file in Special:Upload page, using the following nomenclature: Intem_<id>.gif

{{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