Dokumentation für das Modul Imagemap/sv[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
HondurasGuatemalaAhuachapánSanta AnaLa LibertadSonsonateLa PazUsulatánSan VicenteLa UniónSan MiguelCabanasCuscatlánSan SalvadorChalatenangoMorazán

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap  =  {
'poly 907 469 943 454 943 420 921 420 923 384 955 305 939 286 917 266 902 256 877 261 840 270 831 274 822 252 811 233 795 224 768 224 742 222 734 231 720 257 702 273 667 277 646 274 649 255 655 237 642 234 606 225 575 214 568 207 557 185 552 178 537 175 523 175 517 169 501 148 486 145 480 146 467 123 455 106 439 89 432 86 426 80 411 64 405 71 401 94 379 86 323 66 326 48 352 29 361 7 396 17 399 2 980 1 978 540 945 515 [[Honduras]]',
'poly -1 324 1 0 395 1 395 11 357 4 332 48 318 60 318 73 306 62 294 68 265 75 258 79 254 91 246 76 235 82 234 99 226 114 232 128 240 133 245 137 247 140 244 150 218 156 192 167 180 176 175 193 170 204 170 219 171 221 163 221 148 213 136 209 127 209 110 218 94 225 84 236 63 256 51 263 45 276 29 315 25 339 [[Guatemala]]',

'poly 23 340 41 324 37 303 53 285 62 268 80 245 107 227 131 213 149 213 161 220 176 222 198 242 194 254 185 269 172 275 159 278 163 298 158 321 148 359 147 365 130 355 118 349 101 350 87 363 [[Ahuachapán]]',
'poly 174 221 182 178 208 160 250 157 263 140 246 112 232 108 234 100 238 71 262 84 283 62 302 71 313 67 350 94 359 105 361 124 354 142 340 142 334 165 306 186 295 209 298 225 307 225 307 250 297 262 285 268 277 323 237 303 225 312 197 283 183 278 196 239 [[Santa Ana]]',
'poly 215 435 282 323 284 301 281 262 311 255 314 223 333 212 352 213 351 232 351 248 357 256 374 265 370 267 354 352 372 361 371 383 372 435 378 440 397 436 397 467 305 449 [[La Libertad]]',
'poly 82 374 112 347 135 368 145 357 148 338 162 325 155 276 203 280 217 300 235 313 236 304 286 331 274 341 219 439 161 433 113 409 [[Sonsonate]]',
'poly 395 480 397 388 422 389 444 360 464 374 476 376 484 366 503 371 500 393 512 394 522 410 526 421 522 441 523 452 530 462 536 474 536 485 527 503 517 521 516 531 [[La Paz]]',
'poly 537 545 532 520 565 497 559 481 585 413 605 401 648 355 693 368 691 485 722 499 722 510 711 526 724 527 727 509 747 511 749 530 773 541 780 557 777 574 700 579 [[Usulatán]]',
'poly 526 542 535 522 564 498 563 486 591 411 602 402 652 361 642 345 630 334 613 329 606 329 596 322 573 315 554 316 529 320 516 327 510 335 506 345 505 352 495 365 491 373 497 384 509 396 518 398 523 407 523 425 528 435 526 447 530 462 537 470 538 481 533 499 517 529 [[San Vicente]]',
'poly 853 276 865 317 840 340 855 339 859 365 851 388 836 401 824 408 820 422 820 440 817 459 817 488 810 520 805 547 798 559 796 567 806 572 856 575 867 571 890 570 915 571 933 566 953 557 958 545 958 519 936 493 921 474 907 464 919 460 939 448 942 434 930 421 916 414 915 396 928 370 937 336 946 318 942 301 938 293 923 275 915 268 901 266 881 264 868 269 [[La Unión]]',
'poly 651 291 634 343 650 358 689 363 692 483 709 493 731 495 725 507 709 516 717 529 730 527 730 510 755 512 752 530 771 541 785 557 802 572 804 548 824 515 827 407 781 404 782 391 757 389 736 358 738 344 750 340 751 326 738 316 730 305 742 296 726 263 [[San Miguel]]',
'poly 480 255 457 275 468 295 508 333 560 318 633 341 653 286 647 244 568 226 521 254 [[Cabanas]]',
'poly 500 371 513 333 461 286 481 259 448 251 440 212 404 208 396 252 405 274 399 292 413 306 431 321 447 369 470 378 [[Cuscatlán]]',
'poly 354 217 348 254 374 259 350 353 370 362 375 435 397 436 394 389 419 387 443 363 426 314 401 295 411 281 394 249 401 212 [[San Salvador]]',
'poly 329 74 363 113 354 140 336 144 335 173 298 185 298 202 288 225 322 223 395 216 424 213 439 224 456 253 466 259 510 261 548 245 574 225 565 213 553 208 551 184 525 196 502 161 477 147 464 161 452 120 449 112 433 103 422 102 422 87 414 78 395 96 [[Chalatenango]]',
'poly 735 261 739 299 733 312 748 336 732 346 753 376 778 399 811 416 839 407 855 366 858 338 840 340 861 311 861 274 831 286 801 232 746 237 746 253 [[Morazán]]',
}

return imagemap