Template:Item List: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (Updating deprecated HTML to modern equivalent)
 
Line 1: Line 1:
<includeonly>
<includeonly>|style="text-align:center"|{{{1}}}
|<center>{{{1}}}</center>
|{{{2}}}
|{{{2}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>

Latest revision as of 18:16, 11 January 2024

Purpose

Used to create sortable tables for use on Item Listing pages, using both a header template and multiple row templates. Template:Item List/Header is placed at the top of the table, and the table must be closed by appending |} on the following line.

Usage

Parameter Description
1 The linked name of the item, corresponding to whatever the listed name is in-game.
2 A brief description of the item's general effect.

Code

{{Item List/Header}}
{{Item List|1|2}}
|}

Examples

{{Item List/Header}}
{{Item List|[[Life Stone]]|Recovers one ally's HP by 25%.}}
{{Item List|[[Bead]]|Fully restores one ally's HP.}}
|}
Name Effect
Life Stone Recovers one ally's HP by 25%.
Bead Fully restores one ally's HP.