Template:Infobox mountain/Berg/doc

From blackwiki
< Template:Infobox mountain‎ | Berg
Revision as of 19:22, 13 February 2010 by imported>Bermicourt (→‎Parameters: translation stage)
Jump to navigation Jump to search

Use

This template enables data on mountains imported from German Wikipedia (using Infobox Berg) to be translated and displayed in English Wikipedia. This saves the enormous amount of work otherwise entailed in translating parameters and data into en.wiki templates. Some of this translation involves technical terms that may not be obvious to some translators. In addition, en.wiki templates are not capable of displaying all the information provided here.

The template is still being developed and, once ready, will be available for the hundreds of articles on German, Austrian and Swiss mountains being translated into English Wikipedia that will be able to take full advantage of its features.

When translating an article from German Wikipedia, just import the infobox and translate any free text. It is worth previewing the result first as data in several parameters will be automatically translated if recognised; otherwise it defaults to the entered text. This feature is being enhanced continually. Blank parameters are ignored. The parameter text is shown below; their use is explained in the next section.

{{Infobox Berg
|NAME=
|BILD=
|BILDBESCHREIBUNG=
|HÖHE=
|HÖHE-BEZUG=
|LAGE=
|GEBIRGE=
|BREITENGRAD=
|LÄNGENGRAD=
|REGION-ISO=
|TYP=
|GESTEIN=
|ALTER=
|ERSTBESTEIGUNG=
|NORMALWEG=
|BESONDERHEITEN=
}}

The following parameters are relevant for isolation and prominence information:

|DOMINANZ=
|SCHARTENHÖHE=
|DOMINANZ-BEZUG=
|SCHARTE=
|SCHARTE-BEZUG=

Parameters

This section is under translation.

Parameter Meaning Type Explanation
NAME Name optional Name in the header of the infobox; default is the article name.
NEBENBOX Additional box (Value equal) If this parameter is set the creation of article sections outside the box is suppressed, for example the article coordinates. This is necessary if more than one box is used in an article. All boxes apart from one must then be marked with NEBENBOX. If, in addition, the location map is to be suppressed, because it is the same for several boxes, the code POSKARTE=none must also be set (see below)
BILD Image optional Name of an image with a view of the mountain.
Landscape views work better than portrait views and should be preferred.
Images that show the whole mountain should be preferred over those with just a shot of the summit. Images that do not show the mountain, but are simply a view from the mountain, or just a map, are better entered under BILD1 to BILD5, because these parameters are used for checking missing images.
BILD-BREITE Image width optional Used for entering the width of the image at BILD; inevitably this has an impact on the image height as well. The default is 324x300px. This defines the largest surrounding rectangle, images will not be cropped.
BILDBESCHREIBUNG Caption optional The caption underneath the image.
It should be clear from the text, which (of several) mountains in an image is the subject of the article. Entering the following information in the text is useful: direction of shot ("from the north", The north face of the XXX, …), location (seen from YYY) and time of year if relevant. At the least this information should be available in detail at the image page itself.
HÖHE Height optional Height as a number without thousend separator, e.g 4321. It will be automatically formatted by the template e.g. 4,321. Entries with decimal places must use a decimal point not a comma, e.g. 1234.5 in order to be displayed correctly 1,234.5.

Based on the height the category from Category:One-thousandersCategory:Eight-thousenders will be entered, i. e. the category does not have to be entered manually.

HÖHE-BEZUG Height datum optional Entry of the mountain's height datum, on which the height is based

If the height datum is not known, do not enter anything in this parameter! This will automatically generate "m" (for metres). Entering "m" or "metres" is counter-productive and should not be done.

HÖHE-ANMERKUNG Height remarks optional Eine Anmerkung zur HÖHE, die in derselben Zeile der Infobox ausgegeben wird. Kann weitere Messungen anführen, die für die Infobox wichtig genug sind, oder bei Grenzgipfeln unterschiedliche Höhenangaben bei unterschiedlichen Bezugssystemen (HÖHE-BEZUG).

Beispiele:

|HÖHE=3401
|HÖHE-BEZUG=AT
|HÖHE-ANMERKUNG=({{Höhe|3402|CH}} (Schweiz) bzw. {{Höhe|3399|IT}} (Italien))

expandiert in der Infobox zu Höhe: 3,401 m (AA) (3'402 m ü. M. (Schweiz) bzw. 3.399 m s.l.m. (Italien))

|HÖHE=3401
|HÖHE-BEZUG=AT
|HÖHE-ANMERKUNG=(nach anderen Angaben {{Höhe|3399|AT}})

expandiert in der Infobox zu Höhe: 3,401 m (AA) (nach anderen Angaben 3.399 m ü. A.).

LAGE Location optional Die Lage der Berges, z. B. „Tirol, Österreich“ oder auch „Grenze Tirol, Österreich / Italien“, die Bestandteile sollten verlinkt werden.
GEBIRGE Range optional Das Gebirge in dem der Berg liegt, z. B. „Berner Alpen“.
DOMINANZ Isolation optional, Zahl Die Dominanz gibt die Distanz (in Kilometern) zum nächst höheren Berg an.
DOMINANZ-BEZUG Isolation datum optional Der nächst höhere Berg, Kann verlinkt werden
SCHARTENHÖHE Prominence optional, Zahl Die Schartenhöhe (Prominenz) ist ein Maß (in Meter) für die Eigenständigkeit eines Berges.
SCHARTE-BEZUG Prominence datum optional Der höhere Berg, der mit dem geringsten Höhenverlust erreicht werden kann. Dieser Berg muss nicht mit dem nächst dominanteren Berg identisch sein. Er ist ein dominanterer Berg, aber nicht zwingend der nächstgelegene. Kann verlinkt werden.
SCHARTE Wind-gap optional Name der Scharte zu obiger SCHARTENHÖHE
BREITENGRAD und LÄNGENGRAD Latitude and Longitude optional Die WGS84-Koordinaten für den (höchsten) Berg(gipfel). Siehe auch Vorlage:Coordinate#NS und EW.
REGION-ISO ISO region optional Eine Kombination aus den relevanten ISO 3166-1-Codes bzw. ISO-3166-2-Codes. Gerade bei Bergen, die oft an einer Grenze liegen, besteht der Wert aus mehreren ISO Codes, diese sind dann durch "/" zu trennen. z. B. AT-7/DE-BY für einen Berg an der Tiroler-Bayerischen-Grenze. Siehe auch Vorlage:Coordinate#region.

Aus dem ersten Teil eines mehrteiligen ISO Codes wird die default Postitionskarte hergeleitet. Insofern ist die Reihenfolge der Codes relevant.

KARTE Map optional Name einer Bilddatei für eine Karte. Wird dieser Parameter angegeben, so wird diese Karte statt der sonst automatisch erzeugten Positionskarte hergenommen.
POSKARTE Location map optional Name einer alternativen Positionskarte. Damit kann die standardmäßig aus REGION-ISO gewonnene Positionskarte überschrieben werden. Mit dem Sonderwert „none“ kann die Ausgabe einer Positionskarte unterdrückt werden.
ALTERNATIVKARTE Alternative map optional Alternative Karte (Bild) im durch POSKARTE oder REGION-ISO festgelegten Bezugsrahmen
TOPO-KARTE Topographical map optional Angabe eines Links zu einer topografischen Karte.
TYP Type of mountain optional Der Typ des Berges, mögliche Einträge sind: „Vulkan, „Felsgipfel“, „Kegelberg“, „Tafelberg“, „Bergrücken“, „eiszeitliche Moräne“, „Trümmerberg“ (als künstlich aufgeschütteter Hügel) usw.
GESTEIN Rock optional Das Gestein des Berges, z. B. „Sandstein mit Basaltdurchbruch“.
ALTER Age optional Das geologische Alter des Gesteins, z. B. „Turon“.
LETZTE ERUPTION Last eruption optional Die letzte Eruption (nur bei Vulkanen).
ERSTBESTEIGUNG First climbed optional Datum und Personen der Erstbesteigung. Bei wichtigen Erstbesteigungen wird das Datum verlinkt. Bei wichtigen Personen, werden diese ebenso verlinkt.
ERSCHLIESSUNG Access optional Die Erschließung des Berges, wie z. B. Bau einer Seilbahn, eines Aussichtsturmes oder Ähnlichem.
NORMALWEG Normal route optional Angabe des Normalweges; z. B. „Südgrat“ mit Angabe der alpinen Schwierigkeit, es kann aber auch z. B. „Wanderung“ angegeben werden (nur bei alpinen Bergen)
BESONDERHEITEN Remarks optional Zusätzliche Besonderheiten, z. B. „Höchster Berg der Hohen Tatra“
BILD1 bis BILD5 Image1 to Image5 optional Optionale Bilder unten an die Infobox anfügen
BILD1-BREITE bis BILD5-BREITE Image1 width to Image2 width optional Angabe der Breite des Bildes von BILD1 bis BILD5, hat natürlich auch Auswirkungen auf die Höhe. Standard sind 324x300px. Dies definiert das größte umschriebene Rechteck, Bilder werden jedoch nie verzerrt.
BILD1-BESCHREIBUNG bis BILD5-BESCHREIBUNG Caption1 to Caption5 optional Angabe einer Bildbeschreibung

Example

In this example all parameters are completed to give a feel for the functionality of the infobox.

test
Script error: No such module "If empty".
Testbild (langer Text mit viel bla bla und hoffentlich mindestens einem Zeilenumbruch, um die Abstände besser zu sehen)
Weltkarte.jpg

Weltkarte.jpg

Weltkarte
Highest point
ElevationScript error: No such module "If empty".
ProminenceScript error: No such module "If empty".
IsolationScript error: No such module "If empty".
ListingTest
CoordinatesScript error: No such module "If empty".Script error: No such module "If empty".
Dimensions
LengthScript error: No such module "If empty". Script error: No such module "If empty".
WidthScript error: No such module "If empty". Script error: No such module "If empty".
AreaScript error: No such module "If empty".
VolumeScript error: No such module "If empty".
Geography
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Parent rangeTestgebirge
Topo mapScript error: No such module "If empty".
Geology
Age of rocktest
Mountain typetest
Script error: No such module "If empty".
Last eruption2000
Climbing
First ascent17. März 1875 durch Hans Müller
Normal routevon Berghütte über Ostgrat
AccessBau der …

Template:Wikidata image

{{Infobox Berg
|NAME=Test
|BILD=test.jpg
|BILDBESCHREIBUNG=Testbild
|HÖHE=999.9
|HÖHE-ANMERKUNG=(wäre {{Höhe|1000.2|DE-HNH}})
|LAGE=Im Süden von Testland
|GEBIRGE=Testgebirge
|DOMINANZ=0.1
|SCHARTENHÖHE=20000
|DOMINANZ-BEZUG=[[Montblanc]]
|SCHARTE=[[Malojapass]]
|SCHARTE-BEZUG=[[Großglockner]]
|BREITENGRAD=45/40/39
|LÄNGENGRAD=6.5059
|REGION-ISO=FR
|TYP=test
|GESTEIN=
|ALTER=test
|LETZTE ERUPTION=2000
|ERSTBESTEIGUNG=[[17. März]] [[1875]] durch Hans Müller
|ERSCHLIESSUNG=Bau der …
|NORMALWEG=Von Berghütte über Ostgrat
|BESONDERHEITEN=Test
|BILD1=weltkarte.jpg
|BILD2=weltkarte.jpg
|BILD2-BREITE=250px
|BILD2-BESCHREIBUNG=Weltkarte
}}