Dokumentation für das Modul Imagemap/mv[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
Thiladhunmathi UthuruburiThiladhunmathi DhekunuburiMiladhunmadulu UthuruburiMiladhunmadulu DhekunuburiMaalhosmadulu UthuruburiMaalhosmadulu DhekunuburiFaadhippolhuMalé AtholhuAri Atholhu UthuruburiAri Atholhu DhekunubuFelidhu AtholhuMulak AtholhuNilandhe Atholhu UthuruburiNilandhe Atholhu DhekunuburiKolhumaduluHaddhunmathiHuvadhu Atholhu UthuruburiHuvadhu Atholhu DhekunuburiFuvahmulahAdduMalé

Diese Imagemap dient der Positionskarte von Malediven mit seinen administrativen Untereinheiten, zum Beispiel für den Einsatz in der Quickbar.
Quelle: Template:Malediven 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:Maldives, administrative divisions - de - monochrome.svg | imagemap = mv | 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=mv erzeugt die passende Imagemap.

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap = {
   'poly 94 37 101 78 182 80 163 25 [[Thiladhunmathi Uthuruburi]]',
   'poly 79 82 63 162 90 159 111 116 145 117 158 81 [[Thiladhunmathi Dhekunuburi]]',
   'poly 113 119 111 133 128 179 154 180 181 172 179 120 [[Miladhunmadulu Uthuruburi]]',
   'poly 131 181 152 232 204 208 189 171 [[Miladhunmadulu Dhekunuburi]]',
   'poly 60 163 97 153 103 133 153 237 80 278 [[Maalhosmadulu Uthuruburi]]',
   'poly 69 284 66 337 158 338 155 237 [[Maalhosmadulu Dhekunuburi]]',
   'poly 158 233 156 277 238 280 209 206 [[Faadhippolhu]]',
   'poly 160 282 160 381 208 382 209 409 159 404 158 441 235 442 235 279 [[Malé Atholhu]]',
   'poly 62 337 67 418 156 422 155 338 [[Ari Atholhu Uthuruburi]]',
   'poly 63 420 67 478 154 478 155 420 [[Ari Atholhu Dhekunubu]]',
   'poly 157 442 158 504 241 504 241 442 [[Felidhu Atholhu]]',
   'poly 157 505 155 572 237 574 238 503 [[Mulak Atholhu]]',
   'poly 65 479 65 525 160 525 155 475 [[Nilandhe Atholhu Uthuruburi]]',
   'poly 63 525 61 570 155 572 155 518 [[Nilandhe Atholhu Dhekunuburi]]',
   'poly 71 573 61 683 229 585 232 571 [[Kolhumadulu]]',
   'poly 147 639 143 709 226 705 220 603 [[Haddhunmathi]]',
   'poly 116 755 109 812 136 812 201 838 198 750 [[Huvadhu Atholhu Uthuruburi]]',
   'poly 106 813 103 886 201 887 200 835 137 813 [[Huvadhu Atholhu Dhekunuburi]]',
   'poly 163 892 162 934 203 933 207 891 [[Fuvahmulah]]',
   'poly 130 936 126 980 177 985 178 936 [[Addu]]',
   'poly 169 378 176 405 205 411 207 378 [[Malé]]',
}

return imagemap