Template:AreaList: Difference between revisions

From Archaelund Wiki
No edit summary
No edit summary
 
Line 42: Line 42:
-->{{:Hall of Justice|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Hall of Justice|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Imperial Manor|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Imperial Manor|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Shark Grotto|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:The Blue House|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:The Blue House|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
--></includeonly></onlyinclude>
--></includeonly></onlyinclude>
{{Documentation}}
{{Documentation}}
[[Category:Area Templates]]
[[Category:Area Templates]]

Latest revision as of 11:31, 27 September 2025

Description

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

Usage (for constructing overview tables)

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

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

How to add new areas

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


View/Edit documentation page