Fyrimynd:StateAbbr
X
This is one of a group of templates used to translate the state name, the abbreviation or the FIPS code from one to the other. These templates are used as follows:
{{FIPSStateName}} – Converts the two-digit FIPS State Code parameter given into the full name of the state, e.g. {{FIPSStateName|32}} returns Nevada
- This template produces the full name of the region for the 2-digit FIPS state code or the EAS Code for the Emergency Alert System. It is called with the two-digit code as the parameter.
{{FIPSStateAbbr}} – Converts the two-digit FIPS State Code parameter given into the 2-letter State Abbr., e.g. {{FIPSStateAbbr|32}} returns NV
- This template produces the two-letter upper case code of the region for the 2-digit FIPS state code or the EAS Code for the Emergency Alert System. It is called with the two-digit code as the parameter. The reverse template is FIPSCode.
{{FIPSCode}} – Converts the 2-letter State Abbr. to the 2-digit FIPS state code, e.g. {{FIPSCode|NV}} returns 32.
- This template produces the two-digit FIPS state code when supplied the two-letter upper case abbreviation for the state. It is called with the two-letter abbreviation as the parameter. The reverse template is FIPSStateAbbr.
{{StateAbbr}} – Convert to two-letter code from full state name, e.g. {{StateAbbr|Nevada}} returns NV
- This template produces the 2-letter State Abbr. when given the full name of the US State. It is called with the state name as the parameter. The reverse template is StateName.
{{StateName}} – Convert to full state name from two-letter code, e.g. {{StateName|NV}} returns Nevada
- This template produces the full name of the US State when given the 2-letter State Abbr.. It is called with the state name as the parameter. The reverse template is StateAbbr.
Note: If you edit any of these templates (because of name changes or new states) you need to change all of them.
See also
[rætta wikitekst]Dokumentatiónin omanfyri er tikin frá Fyrimynd:StateAbbr/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |