Template:CanProvName/doc

This template converts the names of Canadian provinces to their two-letter codes or vice versa. This is useful because some templates ask for province names as input and others ask for province code, so one type of template could not be nested in the other without translation between the two formats.

Usage
Use the province name in the first parameter to get the code. Put  in the second parameter to get the full province name. For example: