CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules

This is the documentation page for Module:Codenat

The module gets a 3-byte ISO language code and returns the corresponding full English name of the nation.

The data, more than 200 code → nation items, is taken from Template:{{Olympic teams}}.

Invocation example: {{#invoke:Codenat|codnat|GER}} will return "Germany".

When necessary, the table can easily be expanded that it serves not only the ISO 639-2/B codes but also the ISO 639-2/T, e.g.

  • COD and also DRC
  • CZE and also CES
  • GER and also DEU
  • GRE and also ELL
  • NED and also NLD

Flag icon templates will need an article for all plural forms, as e.g.

  • British Virgin Islands,
  • Cayman Islands,
  • Faroe Islands,
  • Marshall Islands,
  • Netherlands,
  • Philippines,
  • United Arab Emirates,
  • United States of America,
  • United States Virgin Islands,
  • Federated States of Micronesia.

But it can be used also for nation names as e.g.

  • Czech Republic,
  • Democratic Republic of the Congo,
  • Dominican Republic,
  • People's Republic of China,
  • Republic of Ireland,
  • Republic of the Congo>
  • State of Palestine.

and it is not the same in all languages!