Difference between revisions of "Template:Infobox hut/Schutzhütte"
imported>Pigsonthewing m (Pigsonthewing moved page Template:Infobox Schutzhütte to Template:Infobox hut/Schutzhütte: standardlise; make purpose clear) |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox hut | {{Infobox hut | ||
− | | name = {{{Name|<includeonly>{{ | + | | name = {{{Name|<includeonly>{{safesubst:PAGENAME}}</includeonly>}}} |
| image = {{{BILD|}}} | | image = {{{BILD|}}} | ||
| caption = {{{BILDBESCHREIBUNG|}}} | | caption = {{{BILDBESCHREIBUNG|}}} | ||
− | | | + | | region = {{{LAGE-REGION-ANDERE|}}} |
− | + | | admin_district = {{<includeonly>safesubst:</includeonly>#switch: {{{LAGE-REGION-POLITISCH|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | admin_district = {{ | ||
| [[Bayern]] = [[Bavaria]], [[Germany]] | | [[Bayern]] = [[Bavaria]], [[Germany]] | ||
| [[Bayern]], [[Deutschland]] = [[Bavaria]], [[Germany]] | | [[Bayern]], [[Deutschland]] = [[Bavaria]], [[Germany]] | ||
| [[Bayern]]/[[Hessen]], [[Deutschland]] = [[Bavaria]]/[[Hesse]], [[Germany]] | | [[Bayern]]/[[Hessen]], [[Deutschland]] = [[Bavaria]]/[[Hesse]], [[Germany]] | ||
| [[Hochsauerland]], [[Nordrhein-Westfalen]] = [[Hochsauerland]], [[North Rhine-Westphalia]], [[Germany]] | | [[Hochsauerland]], [[Nordrhein-Westfalen]] = [[Hochsauerland]], [[North Rhine-Westphalia]], [[Germany]] | ||
+ | | [[Kärnten]], [[Österreich]] = [[Carinthia (state)|Carinthia]], [[Austria]] | ||
| [[Niederösterreich]] = [[Lower Austria]], [[Austria]] | | [[Niederösterreich]] = [[Lower Austria]], [[Austria]] | ||
| [[Niederösterreich]], [[Österreich]] = [[Lower Austria]], [[Austria]] | | [[Niederösterreich]], [[Österreich]] = [[Lower Austria]], [[Austria]] | ||
Line 36: | Line 25: | ||
| #default = {{{LAGE-REGION-POLITISCH|}}} | | #default = {{{LAGE-REGION-POLITISCH|}}} | ||
}} | }} | ||
− | | mountain_range = {{ | + | | mountain_range = {{<includeonly>safesubst:</includeonly>#switch: {{{LAGE-REGION-GEBIRGE|}}} |
+ | |[[Schobergruppe]] = [[Schober Group]] | ||
|Wettersteingebirge = [[Wetterstein Mountains]] | |Wettersteingebirge = [[Wetterstein Mountains]] | ||
|[[Wettersteingebirge]] = [[Wetterstein Mountains]] | |[[Wettersteingebirge]] = [[Wetterstein Mountains]] | ||
|#default = {{{LAGE-REGION-GEBIRGE|}}} | |#default = {{{LAGE-REGION-GEBIRGE|}}} | ||
}} | }} | ||
− | | | + | | location = {{{LAGE|}}} |
+ | | place = {{{LAGE-ORTSCHAFT|}}} | ||
+ | | coordinates = {{<includeonly>safesubst:</includeonly>#if: {{{COORD|}}} | ||
+ | |{{{COORD}}} | ||
+ | |{{<includeonly>safesubst:</includeonly>#if:{{<includeonly>safesubst:</includeonly>both|{{{BREITENGRAD|}}}|{{{LÄNGENGRAD|}}}}} | ||
+ | |{{<includeonly>safesubst:</includeonly>German coord convert|{{{BREITENGRAD|}}}|{{{LÄNGENGRAD|}}}|type:mountain{{<includeonly>safesubst:</includeonly>#if:{{{REGION-ISO|}}}|_region:{{{REGION-ISO|}}}}}|format=dms|display=inline,title}} | ||
+ | }} | ||
+ | }} | ||
+ | | elevation = {{{LAGE-HÖHE|}}} | ||
| built = {{{BAU-ZEIT|}}} | | built = {{{BAU-ZEIT|}}} | ||
+ | | material = {{{BAUMATERIAL|}}} | ||
| owner = {{{BESITZER|}}} | | owner = {{{BESITZER|}}} | ||
− | | | + | | url = {{{KONTAKT|}}} |
− | | | + | | bunks = {{{BEHERBERGUNG-BETTEN|}}} |
− | + | | mattresses = {{{BEHERBERGUNG-LAGER|}}} | |
− | | | + | | accom_notes = {{<includeonly>safesubst:</includeonly>#switch: {{{BEHERBERGUNG|}}} |
− | | accom_notes = {{ | ||
|keine = none | |keine = none | ||
|#default = {{{BEHERBERGUNG|}}} | |#default = {{{BEHERBERGUNG|}}} | ||
}} | }} | ||
+ | | when_open = {{{GASTGEWERBE-OFFEN|}}} | ||
+ | | accessed_by = {{{ERSCHLIESSUNG|}}} | ||
+ | | AC_hut = {{{AV-HÜTTE|}}} | ||
+ | | type = {{<includeonly>safesubst:</includeonly>#switch: {{{BAUTYP|}}} | ||
+ | |Berggasthaus = mountain inn | ||
+ | |Berghütte = mountain hut | ||
+ | |Hütte = hut | ||
+ | |Selbstversorgerhütte = self-service hut | ||
+ | |#default = {{{BAUTYP|}}} | ||
+ | }} | ||
+ | | AC_category = {{{AV-KATEGORIE|}}} | ||
+ | | ID-OeAV = {{{ID-OeAV|}}} | ||
+ | | ID-DAV = {{{ID-DAV|}}} | ||
+ | | shakedowns = {{{BEHERBERGUNG-NOTLAGER|}}} | ||
| bedspaces = {{{BEHERBERGUNG-SCHLAFPLÄTZE|}}} | | bedspaces = {{{BEHERBERGUNG-SCHLAFPLÄTZE|}}} | ||
− | |||
− | |||
− | |||
− | |||
| winter_room = {{{BEHERBERGUNG-WINTERRAUM|}}} | | winter_room = {{{BEHERBERGUNG-WINTERRAUM|}}} | ||
− | |||
− | |||
− | |||
− | |||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 10:47, 12 February 2019
![]() | This template should always be substituted (i.e., use {{subst:Infobox hut/Schutzhütte}}). Any accidental transclusions will be automatically substituted by a bot. |
This template is a wrapper for {{Infobox hut}} and must be substituted ("Subst:").
Usage
This template, {{Infobox hut/Schutzhütte}}, is designed to support articles on mountain or Alpine huts that have been translated from German Wikipedia. It works by converting the German parameters into their {{Infobox hut}} equivalents, such that all parameters are automatically translated, along with many of the standard data entries. This reduces the workload for translators and facilitates the rapid transfer of tabular information from the German Wikipedia. However, due to the more general nature of {{Infobox hut}}
, not all parameters are compatible, and some manual conversion may be necessary. For example, the German LAGE
field often contains country information, while Infobox hut has a separate country
field. See the testcases page for an example of an automatic conversion.
Instances of the infobox in articles must be substituted.
To display the infobox in articles, just copy the original infobox from the German Wikipedia, adding "subst:" before "Infobox Schutzhütte". All usable parameters will be automatically translated. Some standard data entries will also be translated; the remainder need to be translated manually. Empty parameters will not be displayed. (|NAME=
has the same effect as a missing parameter NAME
).
The most important parameters and the hut equivalent to which they are "shimmed" are given below:
{{subst:Infobox hut/Schutzhütte |NAME = <!-- name --> |BILD = <!-- image --> |BILDBESCHREIBUNG = <!-- caption --> |AV-HÜTTE = <!-- Alpine club to which hut belongs: AAC AACZ AVS AGP ASAC CAF CAI DAV DAV/OeAV LAV NKBV ÖAK OeAV OeAV/DAV ÖTK PZS SAC SAT SPD TVN private--> |ID-OeAV = <!-- Austrian Alpine Club ID --> |ID-DAV = <!-- German Alpine Club ID --> |BAUTYP = <!-- Type of hut e.g. Gasthaus / Hütte / Biwakschachtel / Almhütte / Bergstation / Mittelstation / Talstation--> |KONTAKT = <!-- url --> |LAGE = <!-- location --> |LAGE-ORTSCHAFT = <!-- place (village) --> |LAGE-REGION-POLITISCH = <!-- admin_region --> |LAGE-REGION-GEBIRGE = <!-- mountain_range --> |LAGE-REGION-ANDERE = <!-- other region e.g. nature park --> |BREITENGRAD = <!-- latd --> |LÄNGENGRAD = <!-- longd --> |REGION-ISO = <!-- ISO code --> |LAGE-HÖHE = <!-- elevation --> |LAGE-HÖHE-BEZUG = <!--AT CH CZ DE-NHN DE-HN DE-NN FR/FX LI SI--> |BESITZER = <!-- owner --> |BAU-ZEIT = <!-- built --> |BAUMATERIAL = <!-- material --> |ERSCHLIESSUNG = <!-- accessed_by --> |AV-KATEGORIE = <!-- hut category i.e. 1 2 or 3--> |GASTGEWERBE-OFFEN = <!-- when_open --> |BEHERBERGUNG-BETTEN = <!-- bunks --> |BEHERBERGUNG-LAGER = <!-- mattresses --> |BEHERBERGUNG-NOTLAGER = <!-- shakedowns --> |BEHERBERGUNG-WINTERRAUM = <!-- winter quarters --> }}
Subpages
The above documentation is transcluded from Template:Infobox hut/Schutzhütte/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |