Jump to content

Template:User ccTLD

From Wikipedia, the free encyclopedia

Usage

[edit]

This utility template converts two-letter internet domain codes to country names and vice versa. It is intended to allow WP:KIS to include a User label template for any nation without needing a different template for each.

The first parameter specifies either a nation or an abbreviation.

Parameter "action":

  • expand - converts the abbreviation to a full state name
  • abbreviate - converts the full state name to an abbreviation
  • omitted - toggles either to the other

Parameter "short":

  • omitted or "no" expands national description in cases of ambiguity (not yet implemented)