Template:Hungarian county name/doc
![]() | This is a documentation subpage for Template:Hungarian county name. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]{{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
[edit]{{{Hungarian county name|Pest}}} {{{Hungarian county name|Budapest}}}
produces:
Pest County Budapest
Maintenance
[edit]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
[edit]- Template:Hungarian county link
- Template:Hungarian county seat name
- Template:Hungarian region name
- Template:Hungarian settlement rank name