Відмінності між версіями «Шаблон:Місто»
Перейти до навігації
Перейти до пошуку
Рядок 6: | Рядок 6: | ||
<pre> | <pre> | ||
− | {{ | + | {{Локація |
|назва = | |назва = | ||
|місцева_назва = | |місцева_назва = | ||
Рядок 34: | Рядок 34: | ||
<!-- You have to specify in which ''країна'' the location is. Other parameters are optional. You can use ''штат'' and ''регіон''. | <!-- You have to specify in which ''країна'' the location is. Other parameters are optional. You can use ''штат'' and ''регіон''. | ||
For specifying different administrative divisions such a province, county etc. use parameters ''subdivision_type'' with ''subdivision назва'' (considered smaller than ''штат'' and bigger than ''регіон'') and ''тип_регіону'' with ''назва_регіону'' (considered smaller than регіон). All of the above parameters are used for page categorization and breadcrumb navigation so write them correctly and as a plain text. You don't have to use <code><nowiki>[[Category:somearea]]</nowiki></code> nor <code><nowiki>{{IsIn|somearea}}</nowiki></code> in a page itself. In fact it's better to delete them from a page if template works as intended. | For specifying different administrative divisions such a province, county etc. use parameters ''subdivision_type'' with ''subdivision назва'' (considered smaller than ''штат'' and bigger than ''регіон'') and ''тип_регіону'' with ''назва_регіону'' (considered smaller than регіон). All of the above parameters are used for page categorization and breadcrumb navigation so write them correctly and as a plain text. You don't have to use <code><nowiki>[[Category:somearea]]</nowiki></code> nor <code><nowiki>{{IsIn|somearea}}</nowiki></code> in a page itself. In fact it's better to delete them from a page if template works as intended. | ||
− | + | ||
Рядок 45: | Рядок 45: | ||
''hitchbase'' = ID of the city at [http://hitchbase.com Hitchbase]; ''links'' = other links. Use last 2 parameters only if there is '''useful''' and '''english written''' information which is not already at hitchwiki. | ''hitchbase'' = ID of the city at [http://hitchbase.com Hitchbase]; ''links'' = other links. Use last 2 parameters only if there is '''useful''' and '''english written''' information which is not already at hitchwiki. | ||
− | + | --> | |
== Приклади == | == Приклади == |
Версія за 19:59, 29 серпня 2016
Цей шаблон може бути використаний для отримання Infobox для населених пунктів (міст, селищ, сіл, громад), а також інших адміністративних округів, округів, провінцій і т.д.
Як використовувати цей шаблон?
Для використання цього шаблону, скопіюйте та вставте наступний код в зверху статті, яку необхідно змінити. Ви можете видалити невикористані параметри. Щоб краще зрозуміти, як використовувати його,продивіться приклади.
{{Локація |назва = |місцева_назва = |symbol = |країна = |штат = |герб_штату = |subdivision_type = |subdivision_назва = |subdivision_symbol = |регіон = |регіон_symbol = |тип_регіону = |назва_регіону = |subdivision2_symbol = |мапа = |населення = |номерні_знаки = |дороги = |hitchbase = |links = }}
Ви повинні вказати, в якій країні знаходиться описане місце. Інші параметри не є обов'язковими. Ви можете використовувати штат і регіон.
Приклади
Code | Result | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
In page назваd Bruges:{{Інфо Розташування |країна = Belgium |місцева_назва = Brugge |регіон = Vlaanderen |тип_регіону = province |назва_регіону = West-Vlaanderen |мапа = <map lat='51.2' lng='3.2' zoom='11' /> |населення = 117073 |дороги = {{Abe|17}} {{E|40}} }} |
| ||||||||||||||||||||
{{Інфо Розташування |країна = USA |штат = Texas |герб_штату = Flag of Texas.svg }} |
| ||||||||||||||||||||
{{Інфо Розташування |назва = Nuremberg |місцева_назва = Nürnberg |symbol = Wappen von Nürnberg.svg |країна = Germany |мапа = <map lat='49.417' lng='11.1' zoom='10' /> |населення = 502491 |штат = Bavaria |герб_штату = Coat of arms of Bavaria.png |номерні_знаки = N |дороги = {{Ade|3}} {{Ade|6}} {{Ade|9}} {{Ade|73}} |hitchbase = 34 |links = [http://examplelink Link1] [http://somelink Link2] }} |
|