Modul:Imagemap/cv

Aus Wikivoyage
Dokumentation für das Modul Imagemap/cv[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
BravaFogoFogoFogoMaioBoa VistaSalSão NicolauSão NicolauSão VicenteSanto AntãoSanto AntãoSanto AntãoSanto AntãoSantiagoSantiagoSantiagoSantiagoSantiagoSantiagoSantiagoSantiago

Diese Imagemap dient der Positionskarte von Kap Verde mit seinen administrativen Untereinheiten, zum Beispiel für den Einsatz in der Quickbar.
Quelle: Template:Cape Verde imagemap

Verwendung

{{Imagemap}}

Um eine Imagemap zu erzeugen kannst du folgende Syntax verwenden:

  • Syntax: {{Imagemap|image=Bildatei|imagemap=imagemap|size=Größe|desc=Beschreibung|align=Ausrichtung}}

Parameter:

  • |image= Name der Bilddatei ohne Wikisyntax (keine eckige Klammern)
  • |size= Breite der Bilddatei. Die Angabe ist optional. Standard sind 200 Pixel.
  • |imagemap= Name der Imagemap. Sie muss im Namensraum Modul als Unterseite des Moduls Imagemap abgelegt sein (Modul:Imagemap/<Name>). Hinweis: Die Länderkürzel (Top-Level-Domain) sollten den Imagemaps für die Länder-Positionskarten vorbehalten bleiben.
  • |desc= Lage des Info-Buttons welcher zur Bilddatei verlinkt. Die Angabe ist optional. Mögliche Werte sind: top-right, bottom-right, bottom-left, top-left, none. Standardmäßig wird der Button deaktiviert (none).
  • |align= Ausrichtung der Imagemap. Die Angabe ist optional. Mögliche Werte sind: left, center, right. Standardeinstellung ist links (left).

Das Beispiel rechts bzw. unten wird folgendermaßen erzeugt:

  • {{Imagemap| image = File:Cape Verde, administrative divisions - de - colored.svg | imagemap = cv | size = 300px }}

{{Quickbar Region}}

Für die Anwendung in der Quickbar für Regionen muss lediglich ein zusätzlicher Parameter zur Lagekarte gesetzt werden.

  • |Lagekarte= erzeugt die Karte (manuelle Angabe oder Einbindung durch Wikidata)
  • |Imagemap=cv erzeugt die passende Imagemap.

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap  = {
'poly 119 383 114 423 150 419 151 383 [[Brava]]',
'poly 175 363 191 382 185 385 189 396 206 400 189 425 163 398 162 371 [[Fogo]]',
'poly 176 363 191 382 203 384 211 383 213 357 [[Fogo]]',
'poly 188 384 188 397 207 400 212 400 216 378 [[Fogo]]',
'poly 363 313 360 366 422 367 415 310 [[Maio]]',
'poly 403 167 399 241 479 242 482 154 [[Boa Vista (Kap Verde)|Boa Vista]]',
'poly 395 66 398 143 465 137 458 61 [[Sal]]',
'poly 190 105 195 120 201 128 203 141 262 149 260 103 [[São Nicolau]]',
'poly 170 133 186 106 195 109 205 145 186 156 [[ São Nicolau]]',
'poly 78 100 71 88 110 59 173 103 149 157 [[ São Vicente (Kap Verde)|São Vicente]]',
'poly 52 34 70 50 81 45 101 55 66 88 22 90 20 46 [[Santo Antão (Kap Verde)|Santo Antão]]',
'poly 50 33 66 54 79 46 98 26 69 21 [[Santo Antão (Kap Verde)|Santo Antão]]',
'poly 94 26 84 44 103 58 119 34 [[Santo Antão (Kap Verde)|Santo Antão]]',
'poly 324 398 316 380 331 379 342 395 [[Santo Antão (Kap Verde)|Santo Antão]]',
'poly 339 379 315 381 311 380 309 374 318 371 328 371 340 362 [[Santiago (Kap Verde)|Santiago]]',
'poly 303 357 301 363 304 371 309 370 312 361 308 358 [[Santiago (Kap Verde)|Santiago]]',
'poly 308 372 308 366 311 363 315 363 318 363 319 371 316 373 313 373 [[Santiago (Kap Verde)|Santiago]]',
'poly 308 353 321 344 340 362 327 369 323 369 319 365 315 362 [[Santiago (Kap Verde)|Santiago]]',
'poly 308 337 298 346 306 358 319 344 [[Santiago (Kap Verde)|Santiago]]',
'poly 278 319 286 344 299 347 310 321 [[Santiago (Kap Verde)|Santiago]]',
'poly 283 345 300 348 306 354 304 359 302 366 301 372 298 375 290 379 290 379 280 373 277 364 [[Santiago (Kap Verde)|Santiago]]',
'poly 294 384 299 374 305 371 310 375 312 383 319 386 319 398 305 400 [[Santiago (Kap Verde)|Santiago]]',
}

return imagemap