Template:ArmorList/doc: Difference between revisions

From Archaelund Wiki
(Created page with "== Description == This template contains a list of all armors and is necessary for populating the respective overview tables (e.g. Armors) with information from the individual armor pages. == Usage (for constructing overview tables) == <pre> {{ArmorList|TableEntry|<param1>|<param2>}} </pre> This generates the body of a table with information from specific armors, defined by the selection parameters <param1> & <param2>. If a selector is specified in <param1> (e.g., {...")
 
No edit summary
 
Line 1: Line 1:
== Description ==
== Description ==
This template contains a list of all armors and is necessary for populating the respective overview tables (e.g. [[Armors]]) with information from the individual armor pages.
This template contains a list of all armors and is necessary for populating the respective overview tables (e.g. [[Armor]]) with information from the individual armor pages.


== Usage (for constructing overview tables) ==
== Usage (for constructing overview tables) ==

Latest revision as of 17:47, 15 January 2025

Description

This template contains a list of all armors and is necessary for populating the respective overview tables (e.g. Armor) with information from the individual armor pages.

Usage (for constructing overview tables)

{{ArmorList|TableEntry|<param1>|<param2>}}

This generates the body of a table with information from specific armors, defined by the selection parameters <param1> & <param2>. If a selector is specified in <param1> (e.g., Type • Attribute), output is only generated for armors matching the respective value of <param2>. If no selector is specified, all armors are included in the output.

How to add new armors

In order to add a new armor 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 armor page.