Template:Weapon type count
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Weapon type count/doc. (edit | history)
[purge]
This template prints a standardized sentence about the number of items that belong to a certain weapon or tool type.
Usage
{{ weapon type count | <weapon type> (optional) }}
It should be placed directly below the "Types" heading.
All information will be gathered automatically via cargo. See the template's source code for the supported weapon/tool types.
- First unnamed parameter
Specify the weapon type for which the information is to be displayed. Defaults to the page name (for language wikis: the English translation of the page name as determined by {{pagename2en}}).
Notes
- The template defines a variable for one of its internal cargo queries called
that can be used externally. It should be used as the constraint (thewtcount:where_total
parameter) in the cargo query of the types table.where