Wikivoyage:Location map
Erscheinungsbild
Dieser Artikel enthält technische Hintergrundinformationen zum Modul Location map. Er dient zur Darstellung von Lagekarten.
Benötigte Module
[Bearbeiten]- Keine.
Verwendbarkeit
[Bearbeiten]- Unterstützte Skins
- Vector, Minerva u.a.
- Eignung für andere Wikis
- teilweise Eignung, Anpassung und Übersetzung nötig.
- Eignung für mobile Geräte
- ja.
Aufruf
[Bearbeiten]Der Aufruf erfolgt über die Vorlagen {{Location map}}, {{Location map addLocation}} und {{Location map addObject}}.
Internationalisierung
[Bearbeiten]- Modul:Location map/i18n – Zeichenkettendefinition
Kategorien
[Bearbeiten]Stilvorlagen
[Bearbeiten]Eingesetzte Klassenbezeichner
[Bearbeiten]Wartung
[Bearbeiten]voy-locmap-error– Schwerwiegende Fehler
Kennzeichnung der Bestandteile
[Bearbeiten]voy-locmap– Wrapper-Tag: Markierung als Lagekarte.voy-locmap-center– Wrapper-Tag: Lagekarte zentriert.voy-locmap-left– Wrapper-Tag: Lagekarte linksbündig.voy-locmap-right– Wrapper-Tag: Lagekarte rechtsbündig.voy-locmap-with-caption– Wrapper-Tag: Karte besitzt Bildunterschrift.voy-locmap-map-box– Container für Karte, Marker und Objekte.voy-locmap-marker-box– Container für Markersymbol und Beschriftung.voy-locmap-marker-symbol– Container für Markersymbol.voy-locmap-marker-label– Container für Markerbeschriftung. Container besitzt eine minimale Breite von 6em, um den Textumbruch zu steuern. Der Container kann breiter als der eigentliche Text sein.voy-locmap-marker-label-nowrap– Markerbeschriftung ohne Zeilenumbruch.voy-locmap-marker-label-text– Text der Markerbeschriftung in einemspan-Tag.voy-locmap-object– zusätzliche Objekte auf der Karte.voy-locmap-caption– Bildunterschrift der Karte.
Stile für die Beschriftungen
[Bearbeiten]voy-locmap-label-bold– fetter Text,voy-locmap-label-italic– kursiver Text,voy-locmap-label-letterspacing– gesperrter Text,voy-locmap-label-mountain– Gebirge,voy-locmap-label-region– Region,voy-locmap-label-smallcaps– Kapitälchen,voy-locmap-label-subregion– Unterregion,voy-locmap-label-underline– unterstrichener Text,voy-locmap-label-uppercase– Großbuchstaben,voy-locmap-label-waterbody– Wasserflächen,voy-locmap-label-wordspacing– Größerer Wortabstand.
Aufbau
[Bearbeiten]<div class="voy-locmap voy-locmap-center|voy-locmap-left|voy-locmap-right voy-locmap-with-caption">
<div class="thumb voy-locmap-map-box">
<div class="center"><!-- Bilddatei der Karte --></div>
<!-- Marker mit Symbol und Text -->
<div class="voy-locmap-marker-box" style="left: …; top: …">
<div class="voy-locmap-marker-symbol" style="…"><!-- Bilddatei des Markers --></div>
<div class="voy-locmap-marker-label" style="…">
<span class="voy-locmap-marker-label-text"><!-- Beschriftungstext --></span>
</div>
</div><!-- Ende voy-locmap-marker-box -->
<div class="voy-locmap-marker-box" style="…"><!-- nächster Marker --></div>
…
<!-- Marker mit Text, ohne Symbol -->
<div class="voy-locmap-marker-box" style="…">
<div class="voy-locmap-marker-label voy-locmap-marker-label-nowrap voy-locmap-label-waterbody" style="…">
<span class="voy-locmap-marker-label-text"><!-- Beschriftungstext --></span>
</div>
</div>
<div class="voy-locmap-object" style="…"><!-- Text oder Objekt --></div>
</div><!-- Ende voy-locmap-map-box -->
<div class="thumbcaption voy-locmap-caption"><!-- Kartenbeschriftung --></div>
</div>
