Ҳуҷҷатгузорӣ

Usage

{{Hungarian county name|megye}}

Converts a Hungarian county name to its equivalent in English simply by appending a space and the word " County". However, Budapest is mapped to itelf. The input is not case-sensitive, the output has an initial capital on " County".

The standard names of Hungarian county articles is the county name and " County". Deprecated names are " county". Using this template assures the correct usage; if editors decide in future to change the standard form, it can be changed once in this template and everything will still work.

The output is not defined if the input is not the name of a Hungarian county. See the testcases for what actually happens, but it is not defined and could change.

Example

{{{Hungarian county name|Pest}}}
{{{Hungarian county name|Budapest}}}

produces:

Pest County
Budapest

Maintenance

This template is actively maintained by User:SimonTrew. To request a change, please write a message at talk page. Discussion can continue on the template talk page.

In future this may be augmented to handle Hungarian compound words with "megye" in them.

See also