Difference between revisions of "Template:Infobox mountain/Berg/doc"
imported>Bermicourt (→Parameters: translation stage) |
imported>Bermicourt (translation stage) |
||
| Line 78: | Line 78: | ||
| Height as a number without thousend separator, e.g <code>4321</code>. It will be automatically formatted by the template e.g. <code>4,321</code>. Entries with decimal places '''must''' use a decimal point not a comma, e.g. <code>1234.5</code> in order to be displayed correctly <code>1,234.5</code>. | | Height as a number without thousend separator, e.g <code>4321</code>. It will be automatically formatted by the template e.g. <code>4,321</code>. Entries with decimal places '''must''' use a decimal point not a comma, e.g. <code>1234.5</code> in order to be displayed correctly <code>1,234.5</code>. | ||
| − | Based on the height the category from [[:Category:One-thousanders]] … [[:Category:Eight- | + | Based on the height the category from [[:Category:One-thousanders]] … [[:Category:Eight-thousanders]] will be entered, i. e. the category does not have to be entered manually. |
|- | |- | ||
| '''HÖHE-BEZUG''' | | '''HÖHE-BEZUG''' | ||
| Line 96: | Line 96: | ||
| '''Height remarks''' | | '''Height remarks''' | ||
| optional | | optional | ||
| − | | | + | | Any remarks about the height which are entered on the same line in the infobox. These could be other measurements that are important enough for the infobox or, for mountains on country borders, the different heights in different reference systems (HÖHE-BEZUG). |
| − | + | Examples: | |
<pre><nowiki> | <pre><nowiki> | ||
|HÖHE=3401 | |HÖHE=3401 | ||
|HÖHE-BEZUG=AT | |HÖHE-BEZUG=AT | ||
| − | |HÖHE-ANMERKUNG=({{Höhe|3402|CH}} ( | + | |HÖHE-ANMERKUNG=({{Höhe|3402|CH}} (Switzerland) or {{Höhe|3399|IT}} (Italy)) |
</nowiki></pre> | </nowiki></pre> | ||
| − | + | expands in the infobox to | |
| − | + | Height: {{Höhe|3401|AT|link=true}} (3,402 m above M (Switzerland) or 3,399 m s.l.m. (Italy)) | |
<pre><nowiki> | <pre><nowiki> | ||
|HÖHE=3401 | |HÖHE=3401 | ||
|HÖHE-BEZUG=AT | |HÖHE-BEZUG=AT | ||
| − | |HÖHE-ANMERKUNG=( | + | |HÖHE-ANMERKUNG=(according to other sources {{Höhe|3399|AT}}) |
</nowiki></pre> | </nowiki></pre> | ||
| − | + | expands in the infobox to | |
| − | + | Height: {{Höhe|3401|AT|link=true}} (according to other sources 3,399 m above A.). | |
|- | |- | ||
| '''LAGE''' | | '''LAGE''' | ||
| '''Location''' | | '''Location''' | ||
| optional | | optional | ||
| − | | | + | | The location of the mountain, e. g. "[[Tyrol (state)|Tyrol]], [[Austria]]" or even "Border of [[Tyrol (state)|Tyrol]], [[Austria]] / [[Italy]]", the entries should be linked. |
|- | |- | ||
| '''GEBIRGE''' | | '''GEBIRGE''' | ||
| '''Range''' | | '''Range''' | ||
| optional | | optional | ||
| − | | | + | | The range in which the mountain lies, e. g. "[[Bernese Alps]]". |
|- | |- | ||
| '''DOMINANZ''' | | '''DOMINANZ''' | ||
| '''Isolation''' | | '''Isolation''' | ||
| − | | optional, | + | | optional, numerical |
| − | | | + | | The [[Topographic isolation|isolation]] gives the distance (in kilometres) to the next higher mountain. |
|- | |- | ||
| '''DOMINANZ-BEZUG''' | | '''DOMINANZ-BEZUG''' | ||
| '''Isolation datum''' | | '''Isolation datum''' | ||
| optional | | optional | ||
| − | | | + | | The next higher mountain; can be linked. |
|- | |- | ||
| '''SCHARTENHÖHE''' | | '''SCHARTENHÖHE''' | ||
| '''Prominence''' | | '''Prominence''' | ||
| − | | optional, | + | | optional, numerical |
| − | | | + | | The [[Topographic prominence|prominence]] is a measurement (in metres) for the 'independence' of a mountain. |
|- | |- | ||
| '''SCHARTE-BEZUG''' | | '''SCHARTE-BEZUG''' | ||
| '''Prominence datum''' | | '''Prominence datum''' | ||
| optional | | optional | ||
| − | | | + | | The higher mountain, which can be reached with the least loss of height. This mountain need not be the same as the '''nearest''' dominating mountain. It is '''a''' dominant mountain, but not necessarily the nearest. Can be linked. |
|- | |- | ||
| '''SCHARTE''' | | '''SCHARTE''' | ||
| '''Wind-gap''' | | '''Wind-gap''' | ||
| optional | | optional | ||
| − | | Name | + | | Name of the wind-gap related to the prominence above. |
|- | |- | ||
| '''BREITENGRAD''' und '''LÄNGENGRAD''' | | '''BREITENGRAD''' und '''LÄNGENGRAD''' | ||
| '''Latitude''' and '''Longitude''' | | '''Latitude''' and '''Longitude''' | ||
| optional | | optional | ||
| − | | | + | | The [[World Geodetic System 1984|WGS84]] coordinates for the (highest) summit on the mountain. Should be given in decimal format. If not, re-enter the data under the '''COORD''' parameter, as the format is not supported by [[:Template:Coord]]. |
| + | |- | ||
| + | | '''COORD''' | ||
| + | | '''Coordinates''' | ||
| + | | optional | ||
| + | | Enter the coordinates using [[:Template:Coord]]. Should be used if data are in dms format. Entry here will suppress any preceding '''BREITENGRAD''' und '''LÄNGENGRAD''' entries. | ||
|- | |- | ||
| '''REGION-ISO''' | | '''REGION-ISO''' | ||
Revision as of 19:34, 13 February 2010
| This is a documentation subpage for Template:Infobox mountain/Berg. It contains usage information, categories and other content that is not part of the original template page. |
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-thousanders … Category:Eight-thousanders 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 | Any remarks about the height which are entered on the same line in the infobox. These could be other measurements that are important enough for the infobox or, for mountains on country borders, the different heights in different reference systems (HÖHE-BEZUG).
Examples: |HÖHE=3401
|HÖHE-BEZUG=AT
|HÖHE-ANMERKUNG=({{Höhe|3402|CH}} (Switzerland) or {{Höhe|3399|IT}} (Italy))
expands in the infobox to Height: 3,401 m (AA) (3,402 m above M (Switzerland) or 3,399 m s.l.m. (Italy)) |HÖHE=3401
|HÖHE-BEZUG=AT
|HÖHE-ANMERKUNG=(according to other sources {{Höhe|3399|AT}})
expands in the infobox to Height: 3,401 m (AA) (according to other sources 3,399 m above A.). |
| LAGE | Location | optional | The location of the mountain, e. g. "Tyrol, Austria" or even "Border of Tyrol, Austria / Italy", the entries should be linked. |
| GEBIRGE | Range | optional | The range in which the mountain lies, e. g. "Bernese Alps". |
| DOMINANZ | Isolation | optional, numerical | The isolation gives the distance (in kilometres) to the next higher mountain. |
| DOMINANZ-BEZUG | Isolation datum | optional | The next higher mountain; can be linked. |
| SCHARTENHÖHE | Prominence | optional, numerical | The prominence is a measurement (in metres) for the 'independence' of a mountain. |
| SCHARTE-BEZUG | Prominence datum | optional | The higher mountain, which can be reached with the least loss of height. This mountain need not be the same as the nearest dominating mountain. It is a dominant mountain, but not necessarily the nearest. Can be linked. |
| SCHARTE | Wind-gap | optional | Name of the wind-gap related to the prominence above. |
| BREITENGRAD und LÄNGENGRAD | Latitude and Longitude | optional | The WGS84 coordinates for the (highest) summit on the mountain. Should be given in decimal format. If not, re-enter the data under the COORD parameter, as the format is not supported by Template:Coord. |
| COORD | Coordinates | optional | Enter the coordinates using Template:Coord. Should be used if data are in dms format. Entry here will suppress any preceding BREITENGRAD und LÄNGENGRAD entries. |
| 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 | |
|---|---|
![]() | |
| Highest point | |
| Elevation | Script error: No such module "If empty". |
| Prominence | Script error: No such module "If empty". |
| Isolation | Script error: No such module "If empty". |
| Listing | Test |
| Coordinates | Script error: No such module "If empty". Script error: No such module "If empty". |
| Dimensions | |
| Length | Script error: No such module "If empty". Script error: No such module "If empty". |
| Width | Script error: No such module "If empty". Script error: No such module "If empty". |
| Area | Script error: No such module "If empty". |
| Volume | Script error: No such module "If empty". |
| Geography | |
Lua error in Module:Location_map at line 399: Malformed coordinates value.
| |
| Parent range | Testgebirge |
| Topo map | Script error: No such module "If empty". |
| Geology | |
| Age of rock | test |
| Mountain type | test |
| Script error: No such module "If empty". | |
| Last eruption | 2000 |
| Climbing | |
| First ascent | 17. März 1875 durch Hans Müller |
| Normal route | von Berghütte über Ostgrat |
| Access | Bau der … |
{{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
}}

