Template:ItemList: Difference between revisions
From Archaelund Wiki
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
-->{{:Brem's Key|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | -->{{:Brem's Key|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | ||
-->{{:Broken Armor|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | -->{{:Broken Armor|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | ||
-->{{:Broken Item|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | |||
-->{{:Broken Weapon|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | -->{{:Broken Weapon|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | ||
-->{{:Bronze Insignia|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | -->{{:Bronze Insignia|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!-- | ||
Latest revision as of 18:23, 24 June 2025
Description
This template contains a list of all items and is necessary for populating the respective overview tables (e.g. Items) with information from the individual item pages.
Usage (for constructing overview tables)
{{ItemList|TableEntry|<param1>|<param2>}}
This generates the body of a table with information from specific items, defined by the selection parameters <param1> & <param2>. If a selector is specified in <param1> (e.g., Type • Attribute), output is only generated for items matching the respective value of <param2>. If no selector is specified, all items are included in the output.
How to add new items
In order to add a new item to the list, you have to insert the following line in the template's code (only parts indicated by <...> may be edited):
-->{{:<pagename>|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
Here, <pagename> is the name of an individual item page.
View/Edit documentation page