Vorlage:Infobox Gaststätte: Unterschied zwischen den Versionen

Aus Hist. Verein Herne / Wanne-Eickel
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 69: Zeile 69:
|-
|-
{{#if: {{{latk|}}} |
{{#if: {{{latk|}}} |
{{!}} colspan="2" margin-top: 20px border: 1px outline #CCC align=center {{!}} {{#multimaps: {{{latk}}},{{{lon}}}| height=300px | width=400px | zoom=17 ||{{#if: {{{Text|}}} |text={{{Text}}}}}
{{!}} colspan="2" margin-top: 20px border: 1px outline #CCC align=center {{!}} {{#multimaps: {{{latk}}},{{{lonk}}}| height=300px | width=400px | zoom=17 ||{{#if: {{{Text|}}} |text={{{Text}}}}}
| title ={{PAGENAME}} |icon = Gainfo.png| service=Leaflet}}
| title ={{PAGENAME}} |icon = Gainfo.png| service=Leaflet}}
|-
|-
Zeile 77: Zeile 77:
|height=250
|height=250
|lat={{{lats}}}
|lat={{{lats}}}
|lng={{{lon}}}
|lng={{{lons}}}
|maptype=Roadmap
|maptype=hybrid
|zoom=15
|zoom=18
|marker.gaststaette.lat={{{lat}}}
|marker.gaststaette.lat={{{lats}}}
|marker.gaststaette.lng={{{lon}}}
|marker.gaststaette.lng={{{lons}}}
|marker.gaststaette.title={{PAGENAME}}
|marker.gaststaette.title={{PAGENAME}}
|marker.gaststaette.icon=http://wiki.huen-un-perduen.de/images/Gainfo.png
|marker.gaststaette.icon=http://wiki.huen-un-perduen.de/images/Gainfo.png
Zeile 123: Zeile 123:
|Ortsteil=
|Ortsteil=
|latk=
|latk=
|lonk=
|lats=
|lats=
|lon=
|lons=
}}</nowiki>
}}</nowiki>
</noinclude>
</noinclude>

Version vom 13. Januar 2017, 15:53 Uhr

{{#if: |
Überblick
{{{Bild}}}
Bildinfo: {{{Bildinfo}}}
{{#multimaps: {{{latk}}},{{{lonk}}}| height=300px | width=400px | zoom=17 icon = Gainfo.png| service=Leaflet}}

Vorlage für eine einheitliche Infobox für Gaststätten

Einbau

Der Einbau erfolgt am Anfang einer Gaststättenseite mit dem folgenden Code:

__NOTOC__
{{Infobox Gaststätte
|Name=
|Text=
|Bild=
|Bildinfo=
|Eröffnet=
|Durch=
|Inhaber=
|Auch_bekannt_als=
|Strasse=
|Nr.=
|Geschlossen=
|Saal=
|Kegelbahn=
|Homepage=
|Stadtbezirk=
|Ortsteil=
|latk=
|lonk=
|lats=
|lons=
}}