Vorlage:Infobox Ort im Vereinigten Königreich/Doku

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen

Diese Vorlage (basierend auf dem englischsprachigen Original) erzeugt eine Infobox für Orte im Vereinigten Königreich. Sie kann für alle Landesteile und die Isle of Man verwendet werden. Einige hier beschriebenen Eingabemöglichkeiten sind noch nicht voll implementiert. Die wichtigsten Funktionen sind umgesetzt.

Die Vorlage kann aus dem jeweiligen Artikel der englischen Wikipedia nahezu unverändert kopiert werden. Hierbei sind

  1. Name der Vorlage zu ändern
  2. Tausenderkomma bei der Einwohnerzahl zu entfernen
  3. ggf. Meilen in Kilometer zu konvertieren
  4. Lemmata von Gemeinden (parishes) und anderen Verwaltungseinheiten sowie die Wahlkreislemmata anzupassen (vor allem Klammererweiterungen)
TODO:
  • os_grid_reference=
  • irish_grid_reference=
  • map_type=
  • scale=
  • postcode_area=
  • postcode_area1=
  • postcode_area2=
  • hide_services=

Kopiervorlage[Quelltext bearbeiten]

Kopiervorlage für England[Quelltext bearbeiten]

{{Infobox Ort im Vereinigten Königreich
<!-- BASISDATEN -->
| official_name                     = 
| local_name                        = 
| country                           = 
| region                            = 
| region1                           = 
| historic county                   =
| static_image                      = 
| static_image_name                 = 
| static_image_width                = 
| static_image_caption              = 
| static_image_alt                  = 
<!-- STATISTIK -->
| area_total_km2                    = 
| area_footnotes                    = 
| urban_area_code                   = 
| population                        = {{Metadaten Einwohnerzahl GB-ENG|[[Urban Area Code]]}}
| population_date                   = {{EWD|GB-ENG|[[Urban Area Code]]}}
| population_ref                    = 
| population_density                = 
<!-- KARTE & LAGE -->
| os_grid_reference                 = 
| map_type                          = 
| map_alt                           = 
| latitude                          = 
| longitude                         = 
| label_position                    = 
| iso_region                        = 
| scale                             = 
| post_town                         = 
| post_town1                        = 
| post_town2                        = 
| postcode_area                     = 
| postcode_area1                    = 
| postcode_area2                    = 
| postcode_district                 = {{subst:#invoke:Wikidata|claim|P281}}
| postcode_district1                = 
| postcode_district2                = 
| dial_code                         = {{subst:#invoke:Wikidata|claim|P473}}
| dial_code1                        = 
| dial_code2                        = 
| ons_code                          = 
<!-- REGIERUNG -->
| constituency_westminster          = 
| constituency_westminster1         = 
| constituency_westminster2         = 
| constituency_westminster3         = 
| civil_parish                      = 
| civil_parish1                     = 
<!-- ENTFERNUNGEN -->
| london_distance_mi                = 
| london_distance_km                = 
| london_distance                   = 
| london_direction                  = 
<!-- ENGLAND -->
| metropolitan_borough              = 
| metropolitan_borough1             = 
| metropolitan_county               = 
| metropolitan_county1              = 
| shire_district                    = 
| shire_district1                   = 
| shire_county                      = 
| shire_county1                     = 
| unitary_england                   = 
| unitary_england1                  = 
| lieutenancy_england               = 
| lieutenancy_england1              = 
| london_borough                    = 
| london_borough1                   = 
| london_borough2                   = 
| london_borough3                   = 
| london_borough4                   = 
| cornish_name                      = 
| other_language_name               = 
| other_language                    = 
| language                          = 
| language1                         = 
| language2                         = 
<!-- ALLE GEBIETE -->
| website                           = 
| hide_services                     = 
}}

Alle Parameter, kommentiert[Quelltext bearbeiten]


{{Infobox Ort im Vereinigten Königreich
<!-- BASISDATEN -->
| official_name                     = <!-- falls nicht angegeben wird, wird {{{PAGENAME}}} verwendet -->
| local_name                        = 
| country                           = <!-- England, Nordirland, Wales, Schottland - nicht verlinkt (erzeugt künftig auch Link zum EU-Wahlkreis) -->
| crown_dependency                  = <!-- Isle of Man - nicht verlinkt (entfernt Hinweise auf das Vereinigte Königreich ) -->
| region                            = <!-- (nur England) – nicht verlinkt (erzeugt künftig Verlinkung zum EU-Wahlkreis) -->
| region1                           = <!-- für Orte in England, die in zwei verschiedenen Regionen liegen -->
| historic county                   = <!-- traditionelle Grafschaft -->
<!-- BILDER -->
| static_image                      = <!-- Name der Bilddatei, die angezeigt werden soll, wird als filename.jpg angeben -->
| static_image_name                 = <!-- erzeugt derzeit einen Fehler. -->
| static_image_width                = <!-- ermöglicht die Angabe der Bildbreite, sollte normalerweise weggelassen werden -->
| static_image_caption              = <!-- Angabe einer Bildunterschrift (<small>verwenden</small>) -->
| static_image_alt                  = <!-- für eine Beschreibung des Bildes  (''mouse-over'') -->
| static_image_2                    = <!-- für ein zweites Bild, siehe oben-->
| static_image_2_name               = <!-- für ein zweites Bild, derzeit nicht implementiert? -->
| static_image_2_width              = <!-- Bildbreite, nicht größer als 270px -->
| static_image_2_caption            = <!-- Bildunterschrift des zweiten Bildes -->
| static_image_2_alt                = <!-- alternative Beschreibung des zweiten Bildes (''mouse-over'') -->
<!-- STATISTIK -->
| area_total_km2                    = <!-- Gesamtfläche in Quadratkilometern als Zahl, wird automatisch auch in Quadratmeilen angezeigt -->
| area_footnotes                    = <!-- alphanumerische Ergänzung. In der Regel als Beleglink zu verwenden, mit  <ref> </ref> -->
| urban_area_code                   = <!-- Gemeindeschlüssel, der zur automatischen Aktualisierung der Bevölkerungszahlen verwendet wird -->
| population                        = <!-- Ganzzahl ohne Tausendertrennung -->
| population_date                   = <!-- numerische Jahreszahl oder Datum, wird angezeigt bspw. als: (Stand: 2001) -->
| population_ref                    = <!-- dient als Beleg, etwa <ref>Census, 2001</ref>, ggf. verlinken.  -->
| population_density                = <!-- dient der Eingabe der Bevölkerungsdichte. Wird keine eingebeben wird diese berechnet, wenn Gesamtfläche und Einwohnerzahl angegeben sind. -->
<!-- MAP & LOCATION -->
| os_grid_reference                 = <!-- Das auf den Karten des britischen Ordnance Survey verwendete Koordinatensystem (BNG). -->
| map_type                          = <!-- Name der Kartenbilddatei, normalerweise ohne Eintrag -->
| map_alt                           = <!-- alternativer Text der Kartenbenennung (''mouse over'') -->
| latitude                          = <!-- Breitengrad des Ortes -->
| longitude                         = <!-- Längengrad des Ortes -->
| label_position                    = <!-- Einstellung der Beschriftung in der Karte. Standard ist rechts vom Punkt. -->
| iso_region                        = <!-- ISO-3166-2-Code -->
| scale                             = <!-- optionaler Maßstab im Koordinatenlink (umgesetzt?) -->
| post_town                         = <!-- bspw. UXBRIDGE - wird automatisch in Großbuchstaben konvertiert, falls nicht so angegeben -->
| post_town1                        = <!-- Orte in mehr als einer ''post town'' erhalten einen zweiten Parameter -->
| post_town2                        = <!-- ... oder einen Dritten -->
| postcode_area                     = <!-- bspw. UB -->
| postcode_area1                    = <!-- für Orte in mehr als einem Postcodegebiet -->
| postcode_area2                    = <!-- für Orte in mehr als einem Postcodegebiet -->
| postcode_district                 = <!-- bspw. UB1 (kann ggf. aus Wikidata mit {{#invoke:Wikidata|claim|P281}} importiert werden) -->
| postcode_district1                = <!-- für Orte in mehr als einem Postcodebezirk -->
| postcode_district2                = <!-- für Orte in mehr als einem Postcodebezirk -->
| dial_code                         = <!-- bspw. 020, 0161 or 01332 - NICHT +44... (kann ggf. mit {{#invoke:Wikidata|claim|P473}} importiert werden) -->
| dial_code1                        = <!-- Orte mit mehr als einer Vorwahl -->
| dial_code2                        = <!-- Orte mit mehr als zwei Vorwahlen -->
| ons_code                          = <!-- ONS-Code -->
<!-- REGIERUNG -->
| constituency_westminster          = <!-- Wahlbezirk für das britische Parlament, verlinken, etwa [[Chiltern Hundreds]]
| constituency_westminster1         = <!-- zusätzlicher Wahlbezirk für das britische Parlament, verlinken -->
| constituency_westminster2         = <!-- zusätzlicher Wahlbezirk für das britische Parlament, verlinken -->
| constituency_westminster3         = <!-- zusätzlicher Wahlbezirk für das britische Parlament, verlinken -->
| civil_parish                      = <!-- für Orte innerhalb eines ''parish''. Verlinken. [[Odd Rode]] -->
| civil_parish1                     = <!-- bei Orten, die zwei Parishes angehören, verlinken -->
<!-- ENTFERNUNGEN -->
| london_distance_mi                = <!-- noch nicht implementiert -->
| london_distance_km                = 
| london_distance                   = 
| london_direction                  = 
| belfast_distance_mi               = <!-- noch nicht implementiert -->
| belfast_distance_km               = 
| belfast_distance                  = 
| belfast_direction                 = 
| cardiff_distance_mi               = <!-- noch nicht implementiert -->
| cardiff_distance_km               = 
| cardiff_distance                  = 
| cardiff_direction                 = 
| dublin_distance_mi                = <!-- noch nicht implementiert -->
| dublin_distance_km                = 
| dublin_distance                   = 
| dublin_direction                  = 
| edinburgh_distance_mi             = <!-- noch nicht implementiert -->
| edinburgh_distance_km             = 
| edinburgh_distance                = 
| edinburgh_direction               = 
| douglas_distance_mi               = <!-- noch nicht implementiert -->
| douglas_distance_km               = 
| douglas_distance                  = 
| douglas_direction                 = 
| charingX_distance_mi              = <!-- noch nicht implementiert -->
| charingX_distance_km              = 
| charingX_distance                 = 
| charingX_direction                = 
<!-- SCHOTTLAND -->
| gaelic_name                       = 
| scots_name                        = 
| unitary_scotland                  = 
| unitary_scotland1                 = <!-- für Orte in mehr als einem -->
| lieutenancy_scotland              = 
| lieutenancy_scotland1             = <!-- für Orte in mehr als einem -->
| constituency_scottish_parliament  = <!-- Wahlbezirk zum schottischen Parlament -->
| constituency_scottish_parliament1 = <!-- für Orte in mehr als einem Wahlbezirk -->
| constituency_scottish_parliament2 = <!-- für Orte in mehr als einem Wahlbezirk -->
<!-- WALES -->
| welsh_name                        = 
| community_wales                   = <!-- verlinken, bspw. [[Eglwyscummin]] -->
| unitary_wales                     = 
| unitary_wales1                    = <!-- für Orte in mehr als einem -->
| lieutenancy_wales                 = 
| lieutenancy_wales1                = <!-- für Orte in mehr als einem -->
| constituency_welsh_parliament     = <!-- Wahlbezirk zum walisischen Parlament -->
| constituency_welsh_parliament1    = <!-- für Orte in mehr als einem Wahlbezirk -->
| constituency_welsh_parliament2    = <!-- für Orte in mehr als einem Wahlbezirk -->
<!-- NORDIRLAND -->
| irish_name                        = 
| irish_grid_reference              = 
| unitary_northern_ireland          = 
| unitary_northern_ireland1         = <!-- für Orte in mehr als einem -->
| unitary_northern_ireland2         = <!-- für Orte in mehr als einem -->
| lieutenancy_northern_ireland      = 
| lieutenancy_northern_ireland1     = <!-- für Orte in mehr als einem -->
| lieutenancy_northern_ireland2     = <!-- für Orte in mehr als einem -->
| constituency_ni_assembly          = <!-- Wahlbezirk Nordirlands -->
| constituency_ni_assembly1         = <!-- für Orte in mehr als einem Wahlbezirk Nordirlands -->
<!-- ISLE OF MAN -->
| manx_name                         = 
| manx_parish                       = <!-- Parish -->
| manx_shedding                     = <!-- Shedding (implementiert?) -->
| constituency_manx_parliament      = <!-- Wahlbezirk für das House of Keys -->
<!-- ENGLAND -->
| metropolitan_borough              = 
| metropolitan_borough1             = <!-- für Orte in mehr als einem -->
| metropolitan_county               = <!-- bspw. [[Tyne and Wear]] -->
| metropolitan_county1              = <!-- für Orte in mehr als einem -->
| shire_district                    = 
| shire_district1                   = <!-- für Orte in mehr als einem -->
| shire_county                      = <!-- bspw. [[Devon]] -->
| shire_county1                     = <!-- für Orte in mehr als einem -->
| unitary_england                   = 
| unitary_england1                  = <!-- für Orte in mehr als einem -->
| lieutenancy_england               = <!-- nicht erforderlich, wenn shire oder metropolitan county gleich sind -->
| lieutenancy_england1              = <!-- für Orte in mehr als einem -->
| london_borough                    = <!-- sollte nicht verlinkt werden: z.B. Bromley NICHT [[London Borough of Bromley]], erzeugt Wahlkreislink zur London Assembly    -->
<!-- (also produces London Assembly constituency) -->
| london_borough1                   = <!-- für Stadtteile, die in mehr als einem Borough Londons liegen, Spezialfall, erzeugt Wahlkreislink zur London Assembly  -->
| london_borough2                   = <!-- für Stadtteile, die in mehr als einem Borough Londons liegen, Spezialfall, erzeugt Wahlkreislink zur London Assembly -->
| london_borough3                   = <!-- Spezialfall, erzeugt keinen Wahlkreislink zur London Assembly -->
| london_borough4                   = <!-- Spezialfall, erzeugt keinen Wahlkreislink zur London Assembly -->
| cornish_name                      = 
| other_language_name               = <!-- Sprache, in der der folgende andere Alternativname gilt  -->
| other_language                    = <!-- Alternativname in der frei wählbaren Sprache -->
| language                          = <!-- örtlich gesprochene Sprache -->
| language1                         = <!-- weitere örtlich gesprochene Sprache -->
| language2                         = <!-- weitere örtlich gesprochene Sprache -->
| website                           = <!-- Amtliche Website der Verwaltung -->
<!-- ALLE GEBIETE -->
| hide_services                     = <!-- noch nicht implementiert (Original: Links zu Police etc verstecken ja/nein) -->
}}

Die nicht benötigten landesteilspezifischen Parameter sollten aus dem Artikelquelltext gelöscht werden.

Parameter[Quelltext bearbeiten]

… Beschreibung wird noch erstellt.

Beispiele[Quelltext bearbeiten]

BEISPIEL: City of Glasgow
schottisch-gälisch Glaschu
Scots: Glesga
St. Mungo’s Cathedral
St. Mungo’s Cathedral
St. Mungo’s Cathedral
Koordinaten 55° 51′ N, 4° 16′ WKoordinaten: 55° 51′ N, 4° 16′ W
OS National Grid NS590655
BEISPIEL: City of Glasgow (Schottland)
BEISPIEL: City of Glasgow (Schottland)
BEISPIEL: City of Glasgow
Traditionelle Grafschaft Lanarkshire
Einwohner 592.820 (Schätzung 2010)
Fläche 175,5 km² (67,76 mi²)
Bevölke­rungs­dichte: 3378 Einw. je km²
Metro 2.550.000
Sprachen Englisch
Scots
Verwaltung
Post town GLASGOW
Postleitzahlen­abschnitt G1–G80
Vorwahl 0141
Landesteil Schottland
Lieutenancy Area Glasgow
Council area Glasgow
Britisches Parlament Glasgow Central
Glasgow East
Glasgow North
Glasgow North East
Glasgow North West
Glasgow South
Glasgow South West
Schottisches Parlament Glasgow Anniesland
Glasgow Cathcart
Glasgow Kelvin
Glasgow Maryhill and Springburn
Glasgow Pollok
Glasgow Provan
Glasgow Shettleston
Glasgow Southside
Rutherglen
Website: …
{{Infobox Ort im Vereinigten Königreich
| official_name      = BEISPIEL: City of Glasgow
| gaelic_name        = Glaschu
| local_name         = [[Scots]]: Glesga
| country            = Schottland
| historic county    = Lanarkshire
| static_image       = Glasgowcathedral.jpg
| static_image_caption= <small>St. Mungo’s Cathedral</small>
| map_type           = Scotland
| population         = 592820
| population_ref     = (Schätzung 2010)
| statistic2         = 2.550.000
| statistic_title2   = [[Metropolregion|Metro]]
| population_density = 
| os_grid_reference  = NS590655
| language           = Englisch
| language1          = [[Scots]]
| area_footnotes     = 
| area_total_km2     = 175.5
| latitude           = 55.858
| longitude          = -4.259
| post_town          = GLASGOW
| postcode_area      = G
| postcode_district  = G1–G80
| dial_code          = 0141
| unitary_scotland   = Glasgow
| lieutenancy_scotland = Glasgow
| website            = …
| constituency_westminster = [[Wahlkreis Glasgow Central (House of Commons)|Glasgow Central]]<br />[[Wahlkreis Glasgow East|Glasgow East]]<br />[[Wahlkreis Glasgow North|Glasgow North]]<br />[[Wahlkreis Glasgow North East|Glasgow North East]]<br />[[Wahlkreis Glasgow North West|Glasgow North West]]<br />[[Wahlkreis Glasgow South|Glasgow South]]<br />[[Wahlkreis Glasgow South West|Glasgow South West]]
| constituency_scottish_parliament = [[Wahlkreis Glasgow Anniesland (Schottisches Parlament)|Glasgow Anniesland]]<br />[[Wahlkreis Glasgow Cathcart (Schottisches Parlament)|Glasgow Cathcart]]<br />[[Wahlkreis Glasgow Kelvin (Schottisches Parlament)|Glasgow Kelvin]]<br />[[Wahlkreis Glasgow Maryhill and Springburn|Glasgow Maryhill and Springburn]]<br />[[Wahlkreis Glasgow Pollok (Schottisches Parlament)|Glasgow Pollok]]<br />[[Wahlkreis Glasgow Provan (Schottisches Parlament)|Glasgow Provan]]<br />[[Wahlkreis Glasgow Shettleston (Schottisches Parlament)|Glasgow Shettleston]]<br />[[Wahlkreis Glasgow Southside|Glasgow Southside]]<br />[[Wahlkreis Rutherglen (Schottisches Parlament)|Rutherglen]]
| iso_region         = GB-GLG
}}

Wartung[Quelltext bearbeiten]