Modul:Imagemap/mg

Aus Wikivoyage
Dokumentation für das Modul Imagemap/mg[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
DianaSavaSofiaAnalanjirofoBoenyAlaotra-MangoroBetsibokaMelakyAnalamangaBongolavaMenabeVakinankaratraAtsinananaAmoroni ManiaVatovavy-FitovinanyAtsimo-AndrefanaAndroyAnosyAtsimo-AtsinananaHaute MatsiatraIhorombeKomorenMayotte (Frankreich)Îles Glorieuses (Frankreich)Juan de Nova (Frankreich)

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap = {
   'poly 623 36 484 268 516 272 545 255 578 282 611 285 640 283 652 209 706 118 [[Diana]]',
   'poly 691 119 642 198 653 249 617 292 661 364 711 395 713 460 730 489 794 395 750 135 [[Sava]]',
   'poly 483 258 419 365 435 417 460 511 513 530 514 486 560 498 583 523 590 537 622 526 639 486 619 447 616 402 650 391 667 348 649 303 619 285 592 289 540 286 541 255 [[Sofia]]',
   'poly 723 473 706 417 709 391 695 373 658 354 651 383 613 399 627 438 626 485 616 518 607 549 605 590 605 637 640 643 669 634 695 640 [[Analanjirofo]]',
   'poly 212 456 250 519 267 542 288 571 346 559 360 581 384 578 401 526 444 532 464 538 450 516 457 501 440 445 437 412 429 383 416 375 328 395 [[Boeny]]',
   'poly 518 534 507 493 545 491 567 506 588 522 588 530 609 534 608 553 606 616 603 643 601 659 588 664 596 679 592 688 577 690 568 741 583 764 582 786 565 808 551 837 545 848 511 841 502 823 524 712 518 659 514 639 521 621 513 608 526 604 531 572 [[Alaotra-Mangoro]]',
   'poly 287 565 351 564 365 592 387 566 412 520 462 539 449 507 496 520 523 557 534 584 512 620 519 640 489 647 471 649 437 641 397 640 370 641 341 647 327 641 325 607 300 602 [[Betsiboka]]',
   'poly 171 468 235 487 259 542 290 566 305 626 336 622 315 693 228 689 224 702 250 788 148 778 108 604 [[Melaky]]',
   'poly 376 637 404 701 425 726 440 740 459 755 472 786 484 808 508 811 514 777 515 713 523 673 509 643 487 658 456 655 453 638 427 650 412 637 [[Analamanga]]',
   'poly 328 648 315 691 282 692 295 728 276 736 299 774 318 808 360 809 390 733 435 731 385 642 [[Bongolava]]',
   'poly 219 694 245 790 170 776 167 836 161 892 107 965 98 995 137 1047 205 1046 199 983 311 951 322 845 313 799 296 771 282 740 298 715 285 696 [[Menabe]]',
   'poly 313 806 319 830 316 855 352 861 361 871 379 889 421 885 465 869 483 863 484 861 512 841 509 818 487 805 480 778 454 800 436 798 436 783 404 788 389 802 [[Vakinankaratra]]',
   'poly 674 634 634 620 631 639 598 641 583 667 593 687 575 703 572 743 582 776 546 809 557 856 509 841 486 871 501 915 525 891 550 887 576 905 614 889 649 749 [[Atsinanana]]',
   'poly 312 850 307 969 354 961 356 923 399 933 416 969 448 934 470 967 498 911 487 859 424 880 393 892 366 880 359 862 [[Amoroni Mania]]',
   'poly 602 906 539 884 517 911 486 906 474 941 461 967 456 1019 456 1055 441 1080 473 1104 528 1122 556 1090 [[Vatovavy-Fitovinany]]',
   'poly 90 993 49 1055 65 1131 101 1195 112 1227 104 1283 100 1340 125 1395 166 1409 190 1382 218 1356 243 1326 250 1284 253 1247 275 1235 276 1208 259 1205 270 1177 235 1156 253 1094 256 1054 274 1035 282 1013 303 980 304 952 264 981 206 978 208 1045 131 1045 [[Atsimo-Andrefana]]',
   'poly 193 1401 212 1354 251 1336 268 1231 286 1254 309 1264 328 1325 343 1361 363 1388 345 1410 302 1428 224 1420 [[Androy]]',
   'poly 369 1381 361 1351 330 1317 325 1271 310 1252 276 1248 271 1208 248 1202 283 1142 352 1131 378 1182 378 1218 373 1250 397 1266 415 1285 423 1298 450 1259 492 1286 476 1330 463 1376 [[Anosy]]',
   'poly 425 1070 443 1144 437 1171 415 1159 405 1191 413 1226 391 1225 371 1240 397 1275 408 1292 427 1269 449 1263 492 1288 518 1202 528 1116 [[Atsimo-Atsinanana]]',
   'poly 311 958 292 1023 327 1028 360 1046 385 1077 417 1081 434 1072 452 1044 467 1006 467 973 455 954 450 938 425 953 415 961 394 942 376 927 363 936 356 948 [[Haute Matsiatra]]',
   'poly 297 1021 262 1051 247 1094 238 1161 257 1177 271 1169 284 1141 342 1124 369 1159 378 1196 384 1224 415 1228 415 1185 415 1151 446 1154 435 1085 422 1075 401 1076 377 1064 365 1042 [[Ihorombe]]',

   'poly 47 1 51 142 148 149 245 85 269 0 [[Komoren]]',
   'poly 246 109 211 150 243 198 293 199 308 126 [[Mayotte|Mayotte (Frankreich)]]',
   'poly 430 7 429 61 495 59 500 7 [[Îles Glorieuses|Îles Glorieuses (Frankreich)]]',
   'poly 7 560 7 609 67 612 52 536 7 529 [[Juan de Nova|Juan de Nova (Frankreich)]]'
}

return imagemap