Difference between revisions of "Template:Item List"
From Project Einherjar
Line 4: | Line 4: | ||
− | {{ #ifeq: {{{num|}}} | 1 | | + | {{( #ifeq: {{{num|}}} | 1 | {{{num}}} | WAWAWA}}) |
Revision as of 22:53, 12 May 2023
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}}
|
File:2285s.png {{{num}}} Apple of Archer |
{{Item List |id=914 |item=Fluff |num=3}}
|
File:914s.png 3 Fluff |
{{Item List |id=2229 |item=Helm |slots=1}}
|
File:2229s.png {{{num}}} Helm |
{{Item List |id=1550 |item=Book |slots=3 |num=2}}
|
File:1550s.png 2 Book |
* {{Item List |id=5164 |item=Tiara |slots=1 |simple=yes}} with an Elder Willow Card (INT +3)
|
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 |