Template:CareerList: Difference between revisions

From Archaelund Wiki
No edit summary
No edit summary
Line 6: Line 6:
-->{{:Burglar|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Burglar|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Charmer|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Charmer|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Hunter|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Initiate|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
--></includeonly></onlyinclude>
--></includeonly></onlyinclude>
{{Documentation}}
{{Documentation}}
[[Category:Career Templates]]
[[Category:Career Templates]]

Revision as of 20:39, 22 February 2024

Description

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

Usage (for constructing overview tables)

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

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

How to add new careers

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


View/Edit documentation page