Modul:Imagemap/cl

Aus Wikivoyage
Dokumentation für das Modul Imagemap/cl[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
PeruBolivienArgentinienParaguayArica y ParinacotaTarapacáAntofagastaAtacamaCoquimboValparaísoRégion MetropolitanaLibertador General Bernardo OHigginsMauleBío-BíoAraucaníaRíosLagosAisénMagallanes y de la Antártica ChilenaValparaísoValparaíso

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap  =  {
'poly 594 2 599 33 651 65 693 58 693 21 710 2 [[Peru]]',
'poly 713 6 729 45 749 102 776 127 769 188 784 255 806 374 844 369 907 304 955 315 992 319 1014 367 1037 302 1123 316 1134 209 1165 148 1180 146 1177 3 [[Bolivien]]',
'poly 1108 329 1181 408 1179 1575 1155 1623 1025 1633 1074 1674 1065 1762 1002 1792 971 1839 960 1868 923 1898 892 1915 865 1930 868 1956 944 1999 936 2108 806 2208 783 2256 769 2285 774 2330 796 2368 882 2475 948 2499 1039 2512 1063 2549 985 2572 937 2581 902 2570 870 2556 837 2551 758 2542 765 2385 769 2371 566 2351 537 2318 548 2276 542 2255 501 2254 487 2198 528 2145 568 2069 591 1997 602 1938 614 1877 634 1828 593 1707 612 1509 645 1457 664 1395 632 1319 677 1282 697 1184 719 1087 678 979 677 934 690 881 715 812 725 745 763 690 799 662 787 613 775 554 795 516 805 493 852 433 864 380 859 361 891 335 914 323 1003 358 1025 395 1045 328 [[Argentinien]]',
'poly 1180 156 1161 162 1148 201 1132 229 1134 262 1113 332 1141 353 1142 381 1180 407 [[Paraguay]]',

'poly 647 53 657 133 749 105 740 28 713 2 684 18 679 58 [[Arica y Parinacota]]',
'poly 661 124 659 275 717 281 772 246 774 133 743 109 686 115 [[Tarapacá]]',
'poly 649 276 631 404 633 585 737 572 739 538 769 533 781 479 842 449 860 374 841 371 804 379 779 246 702 286 687 274 [[Antofagasta]]',
'poly 637 584 582 802 618 812 634 790 648 798 686 826 707 746 758 660 784 651 761 614 775 599 756 534 733 557 732 579 [[Atacama]]',
'poly 585 807 587 863 567 872 586 1012 639 998 665 1018 663 992 650 946 660 929 674 886 692 871 673 820 650 812 644 789 618 815 601 799 [[Coquimbo]]',
'poly 584 1008 561 1117 579 1124 600 1095 614 1071 627 1055 676 1068 677 1054 662 1013 649 1014 622 997 [[Valparaíso]]',
'poly 578 1125 623 1144 644 1123 658 1126 683 1157 688 1120 694 1076 675 1064 624 1055 [[Région Metropolitana]]',
'poly 566 1120 539 1175 587 1191 615 1185 658 1198 677 1146 661 1140 650 1119 620 1144 [[Libertador General Bernardo OHiggins]]',
'poly 549 1179 500 1268 625 1296 665 1270 660 1197 [[Maule]]',
'poly 502 1271 476 1342 453 1340 472 1438 494 1416 500 1376 529 1378 579 1408 579 1425 622 1410 618 1286 [[Bío-Bío]]',
'poly 460 1437 498 1412 501 1373 536 1383 580 1413 614 1405 630 1451 590 1469 591 1517 486 1497 [[Araucanía]]',
'poly 490 1490 444 1546 516 1569 528 1580 574 1585 591 1500 [[Ríos]]',
'poly 449 1553 388 1786 429 1784 500 1786 527 1793 539 1787 583 1815 584 1750 555 1734 550 1680 585 1675 567 1583 519 1582 498 1560 [[Lagos]]',
'poly 382 1806 436 1784 532 1796 541 1790 574 1814 576 1834 617 1845 609 1868 554 1862 574 1878 596 1884 602 1905 570 1922 570 1969 573 2005 560 2033 543 2061 548 2085 532 2122 512 2147 508 2156 495 2157 483 2153 441 2137 404 2130 377 2124 357 2139 336 2131 316 2092 395 2030 341 2022 324 2005 355 1936 381 1896 363 1837 [[Aisén]]',
'poly 312 2140 371 2138 384 2119 429 2133 478 2147 473 2173 474 2239 483 2259 504 2275 554 2260 550 2320 573 2357 770 2375 765 2546 871 2559 924 2580 916 2610 853 2632 810 2642 664 2614 625 2600 526 2560 433 2514 382 2466 346 2403 313 2318 312 2252 313 2198 310 2171 [[Magallanes y de la Antártica Chilena]]',
'poly 35 1088 35 1136 177 1129 174 1077 [[Valparaíso]]',
'poly 52 574 51 643 150 634 138 541 [[Valparaíso]]',
}

return imagemap