Difference between revisions of "Template:Infobox ServiceStation"

From Hitchwiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
| colspan="2" style="text-align:center; font-size: large;" | Service station {{PAGENAME}}
 
| colspan="2" style="text-align:center; font-size: large;" | Service station {{PAGENAME}}
 
|-
 
|-
| colspan="2" style="text-align: center;" | in {{{in}}} at highway {{{highway}}}
+
| colspan="2" style="text-align: center;" | in {{{in}}} at motorway {{{highway}}}
 
|- style="text-align: center;"
 
|- style="text-align: center;"
| style="border-right: thin dotted grey;" | from<br/>&larr; {{{from}}}<br/>from direction {{{from direction}}}
+
| style="border-right: thin dotted grey;" | &larr; from<br/>{{#if: {{{from|}}} from direction {{{from direction|}}} |
| style="border-left: thin dotted grey; border-collapse: collapse;" | towards<br/>{{{towards}}} &rarr;<br/>in direction {{{towards direction}}}
+
* {{{from}}} ''(from direction {{{from direction}}})'' }}{{#if: {{{from1|}}} {{{from direction1|}}} |
 +
* {{{from1}}} ''(from direction {{{from direction1}}})'' }}{{#if: {{{from2|}}} {{{from direction2|}}} |
 +
* {{{from2}}} ''(from direction {{{from direction2}}})'' }}{{#if: {{{from3|}}} {{{from direction3|}}} |
 +
* {{{from3}}} ''(from direction {{{from direction3}}})'' }}{{#if: {{{from4|}}} {{{from direction4|}}} |
 +
* {{{from4}}} ''(from direction {{{from direction4}}})'' }}{{#if: {{{from5|}}} {{{from direction5|}}} |
 +
* {{{from5}}} ''(from direction {{{from direction5}}})'' }}{{#if: {{{from6|}}} {{{from direction6|}}} |
 +
* {{{from6}}} ''(from direction {{{from direction6}}})'' }}{{#if: {{{from7|}}} {{{from direction7|}}} |
 +
* {{{from7}}} ''(from direction {{{from direction7}}})'' }}{{#if: {{{from8|}}} {{{from direction8|}}} |
 +
* {{{from8}}} ''(from direction {{{from direction8}}})'' }}{{#if: {{{from9|}}} {{{from direction9|}}} |
 +
* {{{from9}}} ''(from direction {{{from direction9}}})'' }}
 +
| style="border-left: thin dotted grey; border-collapse: collapse;" | towards &rarr;<br/>{{#if: {{{towards|}}} in direction {{{towards direction|}}} |
 +
* {{{towards}}} ''(in direction {{{towards direction}}})'' }}{{#if: {{{towards1|}}} {{{towards direction1|}}} |
 +
* {{{towards1}}} ''(in direction {{{towards direction1}}})'' }}{{#if: {{{towards2|}}} {{{towards direction2|}}} |
 +
* {{{towards2}}} ''(in direction {{{towards direction2}}})'' }}{{#if: {{{towards3|}}} {{{towards direction3|}}} |
 +
* {{{towards3}}} ''(in direction {{{towards direction3}}})'' }}{{#if: {{{towards4|}}} {{{towards direction4|}}} |
 +
* {{{towards4}}} ''(in direction {{{towards direction4}}})'' }}{{#if: {{{towards5|}}} {{{towards direction5|}}} |
 +
* {{{towards5}}} ''(in direction {{{towards direction5}}})'' }}{{#if: {{{towards6|}}} {{{towards direction6|}}} |
 +
* {{{towards6}}} ''(in direction {{{towards direction6}}})'' }}{{#if: {{{towards7|}}} {{{towards direction7|}}} |
 +
* {{{towards7}}} ''(in direction {{{towards direction7}}})'' }}{{#if: {{{towards8|}}} {{{towards direction8|}}} |
 +
* {{{towards8}}} ''(in direction {{{towards direction8}}})'' }}{{#if: {{{towards9|}}} {{{towards direction9|}}} |
 +
* {{{towards9}}} ''(in direction {{{towards direction9}}})'' }}
 
|-
 
|-
 
| colspan="2" style="text-align: center;" | {{{map}}}
 
| colspan="2" style="text-align: center;" | {{{map}}}
Line 24: Line 44:
  
 
== Usage: ==
 
== Usage: ==
 +
=== simple ===
 
<pre>{{Infobox ServiceStation
 
<pre>{{Infobox ServiceStation
 
|in =  
 
|in =  
Line 36: Line 57:
 
|hitch =  
 
|hitch =  
 
}}</pre>
 
}}</pre>
<!--
+
 
=== Beispiel: ===
+
=== complete ===
  {<nowiki />{Infobox Raste
+
<pre>{{Infobox ServiceStation
  |in = [<nowiki />[Bayern]]
+
|in =
  |Autobahn = E 23 / A 17 / ...
+
|highway =
  |von = Raststätte [<nowiki />[Steigerwald Süd]]
+
|from =
  |von Richtung = [<nowiki />[Würzburg]]
+
|from direction =
  |nach = Autobahnkreuz Fürth/Erlangen
+
|from1 =
  |nach Richtung = [<nowiki />[Nürnberg]]
+
|from direction1 =
  |Karte = <nowiki><map lat='49.58035481611773' lng='10.929218530654907' zoom='12' view='3' /></nowiki>
+
|from2 =
  |Übergang = zu Raststätte [<nowiki />[Aurach Nord]]
+
|from direction2 =
  |Einrichtungen = Tankstelle, Rastanlage
+
|from3 =
  |hitch = [[:Kategorie:Vorlage:Trampbarkeit|gut]]
+
|from direction3 =
 +
|from4 =
 +
|from direction4 =
 +
|from5 =
 +
|from direction5 =
 +
|from6 =
 +
|from direction6 =
 +
|from7 =
 +
|from direction7 =
 +
|from8 =
 +
|from direction8 =
 +
|from9 =
 +
|from direction9 =
 +
|towards =
 +
|towards direction =
 +
|towards1 =
 +
|towards direction1 =
 +
|towards2 =
 +
|towards direction2 =
 +
|towards3 =
 +
|towards direction3 =
 +
|towards4 =
 +
|towards direction4 =
 +
|towards5 =
 +
|towards direction5 =
 +
|towards6 =
 +
|towards direction6 =
 +
|towards7 =
 +
|towards direction7 =
 +
|towards8 =
 +
|towards direction8 =
 +
|towards9 =
 +
|towards direction9 =
 +
|map =
 +
|crossing =
 +
|facilities =
 +
|hitch =
 +
}}</pre>
 +
 
 +
=== Example: ===
 +
  {<nowiki />{Infobox ServiceStation
 +
  |in = [<nowiki />[Bavaria]]
 +
  |highway = E 23 / A 17 / ...
 +
  |from = Service Station [<nowiki />[Steigerwald Süd]]
 +
  |from direction = [<nowiki />[Würzburg]]
 +
  |towards = Autobahnkreuz Fürth/Erlangen
 +
  |towards direction = [<nowiki />[Nürnberg]]
 +
  |map = <nowiki><map lat='49.58035481611773' lng='10.929218530654907' zoom='12' view='3' /></nowiki>
 +
  |crossing = towards Service Station [<nowiki />[Aurach Nord]]
 +
  |facilities = Gas, WC, Showers,...
 +
  |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, dumpster accessible for diving.. 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.
 +
 
 +
=== optional: ===
 +
; from[1–9]: up to nine service stations before this with its references
 +
; from direction[1–9]: the next bigger city in the direction of above service stations lead from
 +
; towards[1–9]: up to nine service stations after this with its references
 +
; nach Richtung[1–9]: the next bigger city in the direction of above service stations lead to
  
== 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]]
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:10, 21 May 2012

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


Usage:

simple

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

complete

{{Infobox ServiceStation
|in = 
|highway = 
|from = 
|from direction = 
|from1 = 
|from direction1 = 
|from2 = 
|from direction2 = 
|from3 = 
|from direction3 = 
|from4 = 
|from direction4 = 
|from5 = 
|from direction5 = 
|from6 = 
|from direction6 = 
|from7 = 
|from direction7 = 
|from8 = 
|from direction8 = 
|from9 = 
|from direction9 = 
|towards = 
|towards direction = 
|towards1 = 
|towards direction1 = 
|towards2 = 
|towards direction2 = 
|towards3 = 
|towards direction3 = 
|towards4 = 
|towards direction4 = 
|towards5 = 
|towards direction5 = 
|towards6 = 
|towards direction6 = 
|towards7 = 
|towards direction7 = 
|towards8 = 
|towards direction8 = 
|towards9 = 
|towards direction9 = 
|map = 
|crossing = 
|facilities = 
|hitch = 
}}

Example:

{{Infobox ServiceStation
|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, dumpster accessible for diving.. 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.

optional:

from[1–9]
up to nine service stations before this with its references
from direction[1–9]
the next bigger city in the direction of above service stations lead from
towards[1–9]
up to nine service stations after this with its references
nach Richtung[1–9]
the next bigger city in the direction of above service stations lead to