Template:WeaponList: Difference between revisions

From Archaelund Wiki
No edit summary
No edit summary
Line 51: Line 51:
-->{{:Orran's Hunting Bow|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Orran's Hunting Bow|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Quarterstaff|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Quarterstaff|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Pilum|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Red Battleaxe|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Red Battleaxe|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Ruffian's Blade|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Ruffian's Blade|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
Line 60: Line 61:
-->{{:Shocking Rod|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Shocking Rod|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Silvery Mace|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Silvery Mace|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Skirmisher Bow|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Spatha|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Spear|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Spear|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Spiked Club|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Spiked Club|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
Line 69: Line 72:
-->{{:Sword of the Betrayed|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Sword of the Betrayed|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Sword of the Seafarer|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Sword of the Seafarer|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Targeteer Bow|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Torch|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Torch|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Verdant Staff|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->{{:Verdant Staff|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--

Revision as of 18:19, 10 June 2025

Description

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

Usage (for constructing overview tables)

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

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

How to add new weapons

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


View/Edit documentation page