This template returns a index number for a given unit type, typically used for sorting. See Property:Is of type/index for one spot where this is used.
Usage:
{{Unit type index|type}}
Examples:
{{Unit type index|Generic}}
0
{{Unit type index|Green}}
3
{{Unit type index|Blue-red}}
8
The above documentation is transcluded from Template:Unit type index/doc. (edit | history)