Fyrimynd:FraAbbr
Appearance
The {{FraAbbr}} template attempts to generate the ISO 3166-2 suffix for a named département or overseas territory of France, for use in the region:
parameter of {{Coord}}.
Usage
[rætta wikitekst]The first template parameter specifies the name of the département or overseas territory, such as "Somme" or "Pas-de-Calais", thus:
If the first parameter is not the name of the département or overseas territory, the transclusion will yield an empty string.
Attempts have been made to recognize variations commonly seen in infoboxes, such as:
- [[Somme (département)|Somme]]
- [[Pas-de-Calais]]
So far, however, the template has failed to keep up with the ingenuity of infobox creators.
Verður brúkt í
[rætta wikitekst]- {{CountryAbbr}}
- {{Infobox French commune}}
Sí eisini
[rætta wikitekst]- ISO 3166-2:FR - list of codes
Dokumentatiónin omanfyri er tikin frá Fyrimynd:FraAbbr/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. |