Difference between revisions of "Template:RItem List"

From Project Alfheim Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{simple|}}} | https://irowiki.org/images/db/item/{{{id}}}.png {{ #if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }}...")
 
Line 1: Line 1:
<includeonly>{{#if: {{{simple|}}} | https://irowiki.org/images/db/item/{{{id}}}.png {{ #if:{{{num|}}} | {{{num}}} }} {{Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #if:{{{slots|}}} | [{{{slots}}}&#93; }} {{ #if:{{{postfix|}}} | {{{postfix}}} }} }} | {{{!}} style="background:none; padding:1px; border-spacing:0px;"
+
<includeonly>{{#if: {{{simple|}}} | https://irowiki.org/images/db/item/{{{id}}}.png {{ #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;" {{!}} https://irowiki.org/images/db/item/{{{id}}}.png
 
{{!}} style="text-align:center; width:30px; border:none;" {{!}} https://irowiki.org/images/db/item/{{{id}}}.png
{{!}} style="border:none; white-space:nowrap;" {{!}} {{ #if:{{{num|}}} | {{{num}}} }} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{Re Item |id={{{id}}} {{ #if:{{{prefix|}}} | {{{prefix}}} }} {{{item}}} {{ #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__
Line 20: Line 20:
 
|-
 
|-
 
| <code><nowiki>{{RItem List |id=2285 |item=Apple of Archer}}</nowiki></code>
 
| <code><nowiki>{{RItem List |id=2285 |item=Apple of Archer}}</nowiki></code>
| {{Item List |id=2285 |item=Apple of Archer}}
+
| {{RItem List |id=2285 |Ritem=Apple of Archer}}
 
|-
 
|-
 
| <code><nowiki>{{RItem List |id=914 |item=Fluff |num=3}}</nowiki></code>
 
| <code><nowiki>{{RItem List |id=914 |item=Fluff |num=3}}</nowiki></code>
| {{Item List |id=914 |item=Fluff |num=3}}
+
| {{RItem List |id=914 |Ritem=Fluff |num=3}}
 
|-
 
|-
 
| <code><nowiki>{{RItem List |id=2229 |item=Helm |slots=1}}</nowiki></code>
 
| <code><nowiki>{{RItem List |id=2229 |item=Helm |slots=1}}</nowiki></code>
| {{Item List |id=2229 |item=Helm |slots=1}}
+
| {{RItem List |id=2229 |Ritem=Helm |slots=1}}
 
|-
 
|-
 
| <code><nowiki>{{RItem List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code>
 
| <code><nowiki>{{RItem List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code>
| {{Item List |id=1550 |item=Book |slots=3 |num=2}}
+
| {{RItem List |id=1550 |Ritem=Book |slots=3 |num=2}}
 
|-
 
|-
 
| <code><nowiki>* {{RItem List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)</nowiki></code>
 
| <code><nowiki>* {{RItem List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)</nowiki></code>
 
|
 
|
* {{RItem List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
+
* {{RItem List |id=5164 |Ritem=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
 
|}
 
|}
  
Line 41: Line 41:
 
| The ID of the item as seen in the itemdesctables.
 
| The ID of the item as seen in the itemdesctables.
 
|-
 
|-
! item
+
! Ritem
| The name of the item to be used and displayed.
+
| The name of the Renewal item to be used and displayed.
 
|-
 
|-
 
! num
 
! num

Revision as of 17:46, 27 September 2022

Description

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

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

Usage

{{RItem List |id=<id> |item=<name>}}
{{RItem List |id=<id> |item=<name> |num=<num>}}
{{RItem List |id=<id> |item=<name> |slots=<slots>}}
Example Output
{{RItem List |id=2285 |item=Apple of Archer}}
2285.png Apple of Archer
{{RItem List |id=914 |item=Fluff |num=3}}
914.png 3 Fluff
{{RItem List |id=2229 |item=Helm |slots=1}}
2229.png Helm [1]
{{RItem List |id=1550 |item=Book |slots=3 |num=2}}
1550.png 2 Book [3]
* {{RItem List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
  • 5164.png Tiara [1] with an Elder Willow Card (INT +3)

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