Template:Infobox hut/Schutzhütte/doc

This template is a wrapper for {{Infobox hut}} and must be substituted ("Subst:").

Usage

edit

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

edit