Modul:Imagemap/ye

Aus Wikivoyage
Dokumentation für das Modul Imagemap/ye[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
DscibutiEritreaÄthiopienSomaliaSaudi-ArabienOmanHadramautSanaaAl-MahwitRaimaAdenAd-DaliIbbAmranHaddschaDhamarTa-izzAl-BaidaLahidschAl-HudaidaSana-aMa-ribAbyanSa-daAl-DschaufSchabwaHadramautAl-Mahara

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap  =  {

'poly 0 959 89 845 107 871 160 825 214 926 210 991 5 991 [[Dscibuti]]',
'poly 1 776 69 859 78 848 114 874 129 850 164 830 40 682 1 662 [[Eritrea]]',
'poly 1 776 73 864 -1 959 [[Äthiopien]]',
'poly 905 990 1055 906 1140 928 1130 992 [[Somalia]]',
'poly 2 -1 5 204 4 384 48 377 102 362 120 381 135 374 165 335 155 294 170 217 250 252 309 244 449 248 502 267 601 261 624 296 655 291 679 243 745 149 841 91 1195 50 1368 0 [[Saudi-Arabien]]',
'poly 1204 61 1336 349 1417 371 1520 326 1519 0 1379 4 [[Oman]]',
'poly 1197 805 1208 942 1520 921 1509 797 [[Hadramaut]]',
'poly 289 473 319 482 296 506 295 520 278 519 270 489 [[Sanaa]]',
'poly 172 484 172 516 195 540 212 550 216 528 236 513 250 493 245 483 232 487 216 485 [[al-Mahwit]]',
'poly 215 558 201 575 203 635 255 599 [[Raima]]',
'poly 302 844 325 808 392 799 400 832 [[Aden]]',
'poly 304 720 306 688 346 650 378 647 400 674 391 704 361 707 359 727 340 731 [[ad-Dali]]',
'poly 218 689 234 642 264 616 306 632 335 650 331 669 298 711 267 707 [[Ibb]]',
'poly 196 354 210 427 232 466 220 485 239 489 275 480 281 429 304 417 275 346 238 348 [[Amran]]',
'poly 114 381 111 456 168 441 166 493 228 483 223 466 234 461 227 433 211 430 205 348 163 350 151 365 137 369 137 382 [[Haddscha]]',
'poly 200 624 230 681 272 620 333 643 345 613 351 578 351 556 335 550 317 552 285 555 257 553 243 567 244 582 257 597 258 608 [[Dhamar]]',
'poly 161 733 226 686 326 720 312 753 263 786 213 825 195 847 181 807 154 753 [[Ta-izz]]',
'poly 360 572 337 623 335 647 360 649 387 646 398 667 423 676 435 681 447 689 483 686 489 658 495 639 478 615 458 593 453 582 442 583 441 598 417 601 394 611 379 605 377 585 389 577 [[al-Baida]]',
'poly 210 827 232 781 274 786 294 746 328 726 363 719 367 697 395 691 414 673 426 672 412 719 410 752 400 783 384 805 361 806 325 810 312 817 307 829 300 841 270 849 219 850 [[Lahidsch]]',
'poly 127 451 53 444 25 473 35 536 68 568 106 584 119 604 127 652 122 659 104 662 85 680 85 708 100 728 137 732 174 717 204 705 230 673 231 666 206 665 207 636 208 612 206 587 205 572 223 559 223 551 204 543 178 526 172 479 168 449 [[al-Hudaida]]',
'poly 206 531 212 552 227 574 244 571 264 550 289 561 306 564 319 554 338 552 359 565 361 582 373 573 380 552 390 538 394 518 375 508 360 508 335 504 332 499 329 497 336 489 352 473 342 460 339 438 325 425 302 421 290 426 284 442 280 459 279 470 283 481 297 479 301 476 304 478 307 485 307 489 300 494 294 498 294 503 294 512 292 516 281 517 278 517 278 508 278 497 278 494 278 490 285 484 280 478 270 478 254 486 249 493 254 501 247 508 [[Sana-a]]',
'poly 333 428 338 467 357 478 332 498 349 514 365 500 392 516 389 544 379 578 384 591 392 601 395 612 406 612 418 602 426 601 432 586 439 553 449 532 538 476 583 410 460 431 440 464 411 464 399 457 357 427 [[Ma-rib]]',
'poly 392 810 391 765 401 737 409 696 434 684 451 692 480 680 507 650 531 641 534 663 555 668 598 650 621 656 624 665 636 710 644 735 640 749 594 759 541 770 478 779 [[Abyan]]',
'poly 177 229 147 344 186 354 229 344 264 352 290 332 309 301 340 297 360 299 381 278 372 249 363 240 278 247 248 263 237 253 214 228 [[Sa-da]]',
'poly 364 247 363 294 333 296 287 332 279 352 287 369 298 391 300 416 307 423 344 422 361 428 382 439 401 450 441 453 450 428 487 424 526 415 571 408 590 399 609 391 615 374 615 334 614 313 611 297 598 273 585 270 566 273 531 275 505 273 482 270 439 263 429 259 [[al-Dschauf]]',
'poly 435 585 441 532 555 468 724 460 692 511 684 545 689 552 673 569 707 589 728 599 744 608 754 625 768 636 798 644 803 658 798 685 773 700 755 699 747 696 720 695 689 718 657 737 651 738 636 718 619 642 585 660 547 669 531 660 536 644 519 628 514 640 506 645 496 639 [[Schabwa]]',
'poly 538 475 625 387 615 307 658 306 671 292 717 202 763 155 876 103 1205 58 1168 91 1167 138 1165 196 1144 250 1115 291 1091 316 1054 319 1005 340 990 356 977 379 986 496 1015 503 1049 511 1052 534 1048 543 1014 565 957 589 906 607 880 622 863 637 844 651 818 663 809 668 808 665 798 644 767 629 753 628 744 622 726 603 671 579 661 566 670 559 700 544 673 515 699 504 719 475 709 452 [[Hadramaut]]',
'poly 1200 64 1168 91 1154 136 1148 188 1133 234 1120 274 1110 299 1096 325 1038 336 985 377 989 417 987 481 998 500 1037 502 1055 520 1072 543 1224 496 1231 425 1253 371 1332 355 1203 62 [[al-Mahara]]',

}

return imagemap