Template:Weapon index/doc

Given a weapon type name, this template return a number that indicates its standard sorting position among all weapon types, which we refer to as its index. It will return nothing if the weapon type name is not listed in Weapon names.

Usage:

Where  should be replaced with the desired weapon type name.

This template also declares and populates the WeaponIndex Cargo table in its  section. This is handled directly on this template page, so the template does not need to be used anywhere to generate this table.