Difference between revisions of "Template:Hungarian settlement rank/doc"
imported>SimonTrew m (moved Template:Hungarian settlement rank name/doc to Template:Hungarian settlement rank/doc: Delete superfluous "name") |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
Translates [[Hungarian language|Hungarian-language]] words used to denote the size of a settlement into English. The input is not case-sensitive. The output has an initial capital (which can be easily made lowercase with <code><nowiki>{{lc:}}</nowiki></code>). Valid values are: | Translates [[Hungarian language|Hungarian-language]] words used to denote the size of a settlement into English. The input is not case-sensitive. The output has an initial capital (which can be easily made lowercase with <code><nowiki>{{lc:}}</nowiki></code>). Valid values are: | ||
| − | { | + | {| class="wikitable sortable" |
| − | | | + | ! Hungarian "rang" !! English "rank" |
| − | + | |- | |
| − | | | + | | község || Village |
| − | | | + | |- |
| − | | | + | | nagyközség || Town |
| − | | | + | |- |
| − | | | + | | megyeszékhely || County town |
| − | | | + | |- |
| − | | | + | | város || City |
| − | | | + | |- |
| − | | | + | | megyei jogú város || City with county rights |
| − | + | |- | |
| + | | főváros || Capital city (Essentially, [[Budapest]]) | ||
| + | |- | ||
| + | | kisterség || Subregion | ||
| + | |- | ||
| + | | megye || County | ||
| + | |- | ||
| + | | régió || Region | ||
| + | |} | ||
These values may also be supplied as input in <code><nowiki>[[square brackets]]</nowiki></code>. This is allowed because they are frequently so written in the Hugarian Wikipédia, so it allows easy copy and paste. The English Wikipedia does not have these topics as such, so it needs to be "unlinked". By allowing the square brackets, this can be done automatically by an English template that transcludes this template. The output is ''not'' then surrounded in square brackets. | These values may also be supplied as input in <code><nowiki>[[square brackets]]</nowiki></code>. This is allowed because they are frequently so written in the Hugarian Wikipédia, so it allows easy copy and paste. The English Wikipedia does not have these topics as such, so it needs to be "unlinked". By allowing the square brackets, this can be done automatically by an English template that transcludes this template. The output is ''not'' then surrounded in square brackets. | ||
| Line 41: | Line 49: | ||
* [[Template:Hungarian region name]] | * [[Template:Hungarian region name]] | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Hungary geographical name conversion templates]] | [[Category:Hungary geographical name conversion templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:06, 25 April 2020
| This is a documentation subpage for Template:Hungarian settlement rank. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
{{{Hungarian settlement rank name|rang}}
Translates Hungarian-language words used to denote the size of a settlement into English. The input is not case-sensitive. The output has an initial capital (which can be easily made lowercase with {{lc:}}). Valid values are:
| Hungarian "rang" | English "rank" |
|---|---|
| község | Village |
| nagyközség | Town |
| megyeszékhely | County town |
| város | City |
| megyei jogú város | City with county rights |
| főváros | Capital city (Essentially, Budapest) |
| kisterség | Subregion |
| megye | County |
| régió | Region |
These values may also be supplied as input in [[square brackets]]. This is allowed because they are frequently so written in the Hugarian Wikipédia, so it allows easy copy and paste. The English Wikipedia does not have these topics as such, so it needs to be "unlinked". By allowing the square brackets, this can be done automatically by an English template that transcludes this template. The output is not then surrounded in square brackets.
Example
[[Telekes]] is a {{lc:{{Hungarian settlement rank name|község}}}} in [[{{Hungarian county name|Vas}}]].
produces:
Telekes is a village in Vas County.
Maintenance
The choice to include an initial capital letter in the output is made from the fact it is easier to remove them it than to insert it. It also matches the standard case conventions for Wikipedia page names.
This template is actively maintained by User:SimonTrew. To request a change, please write a message at his talk page. Discussion can continue on the template talk page.
See also