Dokumentation für das Modul Imagemap/za[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
NamibiaBotswanaSimbabweMosambikEswatiniLesothoLimpopoGautengMpumalangaNorthwestKwaZulu-NatalFreistaatEastern CapeNorthern CapeWestern Cape

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap  =  {
'poly 42 899 110 813 146 826 192 886 332 903 419 868 463 849 470 27 592 23 591 0 3 3 7 840 [[Namibia]]',
'poly 592 5 1537 1 1532 28 1553 42 1497 73 1434 103 1397 147 1325 199 1280 227 1273 284 1259 332 1223 362 1182 374 1164 378 1151 440 1108 498 1046 501 985 495 927 467 874 429 816 452 810 469 754 570 694 616 644 632 563 641 561 619 612 560 564 467 512 386 474 371 472 27 [[Botswana]]',
'poly 1547 3 1537 28 1571 31 1574 47 1620 38 1664 64 1713 66 1808 76 1878 1 [[Simbabwe]]',
'poly 1886 5 1806 78 1852 219 1871 266 1893 316 1895 462 1892 539 1907 590 1911 655 2007 655 2010 503 2026 464 2026 3 [[Mosambik]]',
'poly 1904 555 1819 513 1763 576 1748 599 1749 660 1767 667 1785 693 1847 718 1885 716 1893 640 1910 637 [[Eswatini]]',
'poly 1397 923 1355 980 1332 1008 1310 1015 1354 1083 1392 1138 1425 1160 1449 1122 1472 1087 1523 1073 1549 1053 1569 1023 1594 983 1568 948 1535 916 1498 885 1490 879 [[Lesotho]]',
'poly 1494 446 1451 458 1427 434 1443 420 1384 410 1360 417 1342 420 1317 404 1294 378 1264 387 1224 380 1255 350 1272 317 1309 236 1401 180 1447 111 1499 89 1563 61 1663 60 1694 68 1750 74 1804 83 1828 121 1838 173 1844 210 1855 244 1861 262 1867 282 1843 294 1775 301 1777 314 1795 329 1794 345 1752 357 1742 352 1731 368 1721 394 1710 406 1687 401 1667 403 1661 413 1651 435 1646 459 1606 464 1566 463 1543 445 1547 436 1558 416 1530 401 1511 399 1482 408 1463 429 1460 434 1477 442 1486 440 [[Limpopo]]',
'poly 1420 468 1405 511 1403 530 1334 544 1325 610 1367 644 1434 655 1466 658 1484 606 1519 618 1512 587 1480 569 1465 542 1522 536 1529 520 1541 489 1527 480 1510 491 1508 504 1488 490 1483 467 1503 458 1502 425 1492 429 1490 443 1491 450 1471 451 [[Gauteng]]',
'poly 1460 428 1466 444 1504 433 1513 455 1492 470 1494 496 1505 506 1509 475 1544 480 1554 494 1529 523 1524 548 1489 548 1481 557 1506 580 1518 592 1521 612 1488 624 1465 645 1473 673 1534 686 1584 704 1608 719 1622 731 1640 721 1716 715 1773 718 1816 717 1813 704 1771 684 1757 657 1745 626 1741 593 1753 573 1788 532 1804 513 1819 507 1855 530 1865 534 1892 532 1884 470 1883 412 1876 347 1883 299 1863 287 1798 293 1776 306 1806 346 1801 364 1760 369 1742 357 1738 378 1727 398 1697 411 1675 406 1661 433 1657 449 1634 466 1569 476 1539 457 1537 431 1523 407 1502 407 1483 419 [[Mpumalanga]]',
'poly 805 604 793 596 788 560 777 539 837 440 988 516 1081 527 1134 475 1175 375 1262 374 1279 407 1302 388 1334 416 1356 428 1399 413 1429 425 1442 451 1420 463 1407 477 1404 498 1395 515 1373 521 1354 536 1330 568 1320 597 1323 617 1357 638 1352 651 1339 662 1294 668 1260 684 1237 716 1215 744 1180 765 1151 758 1121 767 1086 794 1059 810 1035 806 1070 778 1035 757 1018 769 1023 792 1016 803 996 792 999 772 985 758 966 762 954 733 925 697 957 680 942 651 906 645 882 634 860 592 846 585 872 543 824 532 817 559 810 590 [[Northwest]]',
'poly 1886 649 1881 723 1621 733 1603 790 1529 891 1593 965 1591 1014 1550 1077 1563 1102 1559 1140 1606 1158 1704 1222 1877 959 2000 827 2002 657 [[KwaZulu-Natal]]',
'poly 987 1030 1065 802 1174 750 1283 677 1380 650 1448 665 1580 697 1619 756 1598 837 1554 882 1500 888 1445 899 1372 941 1319 1002 1303 1028 1334 1110 1301 1147 1200 1141 1136 1143 1093 1127 [[Freistaat]]',
'poly 916 1606 874 1550 901 1541 889 1509 795 1503 834 1430 881 1430 868 1371 941 1356 954 1315 967 1282 1001 1267 1018 1240 1111 1211 1135 1145 1350 1114 1376 1142 1438 1160 1456 1084 1564 1065 1568 1150 1711 1211 1618 1393 1368 1526 1090 1612 952 1619 [[Eastern Cape]]',
'poly 45 904 135 785 168 908 354 909 460 867 461 377 600 531 557 636 590 650 684 634 763 556 791 608 815 566 851 537 859 579 867 625 907 652 937 685 946 704 947 737 958 776 1014 785 1022 793 1053 739 1065 771 1058 817 986 1024 1122 1151 1113 1229 1045 1236 1016 1261 984 1295 945 1291 919 1284 873 1295 851 1303 829 1327 797 1300 746 1260 720 1277 674 1336 555 1421 542 1435 482 1402 491 1386 502 1344 474 1343 446 1366 426 1393 410 1376 400 1357 406 1328 381 1305 359 1273 342 1222 338 1151 322 1131 248 1156 218 1189 189 1207 [[Northern Cape]]',
'poly 200 1222 296 1123 320 1259 382 1346 406 1381 423 1434 467 1356 486 1383 507 1452 567 1446 599 1393 692 1372 723 1333 744 1258 809 1297 849 1311 883 1280 978 1300 966 1335 933 1360 863 1377 853 1392 860 1414 846 1427 812 1452 803 1482 798 1498 871 1507 908 1530 898 1553 903 1581 899 1601 871 1632 749 1642 677 1655 537 1683 457 1713 402 1693 332 1651 271 1625 209 1580 135 1449 [[Western Cape]]',
}


return imagemap