Difference between revisions of "Template:Infobox ServiceStation"

From Hitchwiki
Jump to navigation Jump to search
m
m
Line 36: Line 36:
 
|hitch =  
 
|hitch =  
 
}}</pre>
 
}}</pre>
<!--
+
 
=== Beispiel: ===
+
=== Example: ===
 
  {<nowiki />{Infobox Raste
 
  {<nowiki />{Infobox Raste
  |in = [<nowiki />[Bayern]]
+
  |in = [<nowiki />[Bavaria]]
  |Autobahn = E 23 / A 17 / ...
+
  |highway = E 23 / A 17 / ...
  |von = Raststätte [<nowiki />[Steigerwald Süd]]
+
  |from = Service Station [<nowiki />[Steigerwald Süd]]
  |von Richtung = [<nowiki />[Würzburg]]
+
  |from direction = [<nowiki />[Würzburg]]
  |nach = Autobahnkreuz Fürth/Erlangen
+
  |towards = Autobahnkreuz Fürth/Erlangen
  |nach Richtung = [<nowiki />[Nürnberg]]
+
  |towards direction = [<nowiki />[Nürnberg]]
  |Karte = <nowiki><map lat='49.58035481611773' lng='10.929218530654907' zoom='12' view='3' /></nowiki>
+
  |map = <nowiki><map lat='49.58035481611773' lng='10.929218530654907' zoom='12' view='3' /></nowiki>
  |Übergang = zu Raststätte [<nowiki />[Aurach Nord]]
+
  |crossing = towards Service Station [<nowiki />[Aurach Nord]]
  |Einrichtungen = Tankstelle, Rastanlage
+
  |facilities = Gas, WC, Showers,...
  |hitch = [[:Kategorie:Vorlage:Trampbarkeit|gut]]
+
  |hitch = {{good}}
 
  }}
 
  }}
  
'''Beachte''': Über den Parameter „in“ sortiert diese Vorlage automatisch in die passende (hoffentlich existente!) Kategorie (z.B. Länderkategorie) ein, legt die Brotkrümelnavigation an ([[Vorlage:IsIn]]) und erzeugt einen Verweis im Artikel
+
'''Attention''': Via the variable ''in'' this template automatically sorts the article into the (hopefully existing) category, e.g. it's country category, and also creates the breadcrump-navigation ([[Template:IsIn]]) directly. 
 +
 
 +
== variables ==
 +
; in:(Article-)name of the superior entity/area (Country, State, Province, Region,...), for which a category and an article with the same name exist.
 +
; highway: official number of the highway/motorway/street the station is located on
 +
; from: last highway junction or last service station, if possible  as reference  (countryname or name of country-article in brakets: <code>[<nowiki />[[articlename]]</code>)
 +
; from direction: last bigger city, last agglomeration, if possible as a reference
 +
; towards: next highway junction or next service station, if possible as a reference
 +
; towards direction: next bigger city or agglomeration, if possible as a reference
 +
; map: Here you can add a map, see [[How_to_add_maps_to_articles|maps]]
 +
; crossing: Is there a possible highway crossing? Maybe towards another service station in the other direction? (''available'', ''not available'', ''towards service station <nowiki>[[XY]]</nowiki>
 +
; facilities: List of (for hitchhikers relevant) facilities at the station (e.g. gas station, WC, shop, showers, etc.)
 +
; hitch: Here you can rate the service station for it's hitchhiking possibilities. For this you can use the keywords ''very good'', ''good'', ''average'', ''bad'' and ''senseless''. More specific information can be written down in the article. Check out [[:Category:Templates:Hitchability|the templates]] for this. Maybe it's also wise to discuss the rating with other hitchhikers on the discussion/talk page.
  
== Parameter ==
 
; in:(Artikel-)Name der übergeordneten Entität/Gebiet (Land, Bundesland, Bundesstaat, Region, ...), für die eine gleichnamige Kategorie und ein gleichnamiger Artikel existieren
 
; Autobahn: offizielle Autobahnnummer(n) der Autobahn
 
; von: letztes Autobahnkreuz/-dreieck bzw. letzte Raststätte, möglichst als Verweis (Ländername bzw. Name des Länderartikels in doppelten eckigen Klammern: <code>[<nowiki />[Artikelname]]</code>)
 
; von Richtung: letzte größere Stadt, letzter Ballungsraum, möglichst als Verweis
 
; nach: nächstes Autobahnkreuz/-dreieck bzw. nächste Raststätte, möglichst als Verweis
 
; nach Richtung: nächste größere Stadt, nächster Ballungsraum, möglichst als Verweis
 
; Karte: hier kann eine Kartenansicht eingebunden werden; siehe [[Hilfe:Karten]]
 
; Übergang: ist ein Autobahnübergang vorhanden? womöglich zu einer weiteren Raststätte in Gegenrichtung? („nicht vorhanden“, „vorhanden“, „zur Raststätte [<nowiki />[XY]]“)
 
; Einrichtungen: Liste (für Tramper relevanter) Einrichtungen vor Ort (z.B. Tankstelle, Rastanlage, Dusche, ...)
 
; hitch: Hier kann eine Bewertung der Eignung zum Trampen angebracht werden. Hierzu stehen (nur) die Schlüsselworte „sehr gut“, „gut“, „durchschnittlich“, „schlecht“ und „sinnlos“ zur Verfügung; nähere Angaben können in den Artikeltext. (Siehe die [[:Kategorie:Vorlage:Trampbarkeit|Bewertungsvorlagen]]) Eventuell ist ein Austausch mit anderen Trampern auf der jeweiligen Diskussionsseite hilfreich...
 
-->
 
 
<noinclude>
 
<noinclude>
 
[[de:Vorlage:Infobox_Raste]]
 
[[de:Vorlage:Infobox_Raste]]
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:40, 8 October 2008

Service station Infobox ServiceStation
in {{{in}}} at highway {{{highway}}}
from
← {{{from}}}
from direction {{{from direction}}}
towards
{{{towards}}} →
in direction {{{towards direction}}}
{{{map}}}
Features
highway crossing {{{crossing}}}
Facilities: {{{facilities}}}
Hitchability: unvalued


Usage:

{{Infobox ServiceStation
|in = 
|highway = 
|from = 
|from direction = 
|towards = 
|towards direction = 
|map = 
|crossing = 
|facilities = 
|hitch = 
}}

Example:

{{Infobox Raste
|in = [[Bavaria]]
|highway = E 23 / A 17 / ...
|from = Service Station [[Steigerwald Süd]]
|from direction = [[Würzburg]]
|towards = Autobahnkreuz Fürth/Erlangen
|towards direction = [[Nürnberg]]
|map = <map lat='49.58035481611773' lng='10.929218530654907' zoom='12' view='3' />
|crossing = towards Service Station [[Aurach Nord]]
|facilities = Gas, WC, Showers,...
|hitch = Good.png (good)
}}

Attention: Via the variable in this template automatically sorts the article into the (hopefully existing) category, e.g. it's country category, and also creates the breadcrump-navigation (Template:IsIn) directly.

variables

in
(Article-)name of the superior entity/area (Country, State, Province, Region,...), for which a category and an article with the same name exist.
highway
official number of the highway/motorway/street the station is located on
from
last highway junction or last service station, if possible as reference (countryname or name of country-article in brakets: [articlename)
from direction
last bigger city, last agglomeration, if possible as a reference
towards
next highway junction or next service station, if possible as a reference
towards direction
next bigger city or agglomeration, if possible as a reference
map
Here you can add a map, see maps
crossing
Is there a possible highway crossing? Maybe towards another service station in the other direction? (available, not available, towards service station [[XY]]
facilities
List of (for hitchhikers relevant) facilities at the station (e.g. gas station, WC, shop, showers, etc.)
hitch
Here you can rate the service station for it's hitchhiking possibilities. For this you can use the keywords very good, good, average, bad and senseless. More specific information can be written down in the article. Check out the templates for this. Maybe it's also wise to discuss the rating with other hitchhikers on the discussion/talk page.