Template:Unit type index

From Prismata Wiki
Jump to: navigation, search
Template-info.png Documentation

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