Modul:Imagemap/my

Aus Wikivoyage
Dokumentation für das Modul Imagemap/my[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Beispiel
SarawakLabuanSabahJohorMalakkaNegeri SembilanPutrajayaKuala LumpurSelangorPahangTerengganuKelantanPerakPerlisKedahThailandSingapurBruneiIndonesienIndonesienIndonesienIndonesienIndonesienIndonesienIndonesienPhilippinenPhilippinen

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

Karten

Folgende Karten können ohne Anpassungen direkt genutzt werden:



Verfügbare Länder-Imagemaps

Hinweise
imagemap = {
  'poly 607 343 636 350 675 354 688 358 693 299 726 282 792 273 824 232 850 191 871 210 887 228 893 229 899 215 906 204 903 186 916 181 921 210 938 212 929 180 928 172 951 177 941 200 947 215 949 229 943 256 942 277 938 287 925 288 916 292 915 300 919 306 920 315 904 325 882 336 891 348 895 358 891 368 870 374 857 378 840 385 828 388 808 377 801 371 796 366 778 365 765 369 751 382 744 393 725 402 713 402 691 397 670 397 660 400 658 403 642 401 625 388 619 381 [[Sarawak]]',
  'poly 909 132 912 164 938 164 934 138 [[Labuan]]',
  'poly 939 128 934 160 941 171 948 173 952 207 1041 210 1062 224 1086 220 1131 216 1149 192 1165 156 1167 134 1148 118 1107 97 1089 80 1061 55 1053 35 1027 21 1014 26 988 53 [[Sabah]]',
  'poly 251 381 269 370 283 371 294 381 306 384 308 358 303 286 281 300 267 309 264 316 248 314 235 310 219 297 208 317 205 331 205 339 202 344 [[Johor]]',
  'poly 153 326 173 313 203 313 199 342 [[Malakka (Bundesstaat)|Malakka]]',
  'poly 150 311 164 293 171 273 210 293 209 320 185 316 168 319 [[Negeri Sembilan]]',
  'poly 147 286 147 298 160 298 162 282 [[Putrajaya]]',
  'poly 144 268 146 283 162 285 164 265 [[Kuala Lumpur]]',
  'poly 156 267 159 256 160 248 150 239 146 243 138 242 136 242 135 245 121 239 101 237 115 251 119 275 121 287 125 307 140 314 152 313 157 293 150 295 146 285 146 274 147 266 155 267 162 272 163 281 163 287 167 288 166 272 164 269 158 264 [[Selangor]]',
  'poly 132 192 149 243 158 244 164 272 194 278 217 293 231 308 243 308 256 314 261 314 262 300 265 267 262 247 257 223 245 213 243 221 245 234 245 237 226 219 216 220 218 212 226 201 219 193 207 184 194 187 179 190 174 188 156 187 149 191 [[Pahang]]',
  'poly 230 114 194 128 194 149 200 167 204 185 208 187 223 196 231 204 230 213 224 221 237 226 247 230 247 233 247 222 261 221 272 219 272 185 263 137 [[Terengganu]]',
  'poly 183 86 154 130 157 142 153 152 144 158 134 199 153 199 161 186 172 190 181 189 190 189 206 188 207 182 202 169 197 160 195 149 191 133 193 128 200 124 209 118 [[Kelantan]]',
  'poly 73 164 91 166 107 149 113 130 124 133 131 128 143 121 159 128 161 140 155 147 152 153 135 159 130 175 129 186 129 197 135 211 140 216 143 223 145 236 145 240 142 240 114 242 112 243 94 236 89 231 [[Perak]]',
  'poly 68 69 53 80 69 106 87 81 [[Perlis]]',
  'poly 33 84 46 82 54 90 63 107 74 102 82 86 98 86 104 90 118 106 128 112 120 129 115 143 103 155 97 163 92 167 92 167 90 137 75 136 72 133 68 108 42 110 23 104 [[Kedah]]',
  'poly 2 38 19 45 51 75 62 86 68 69 82 79 107 85 122 99 127 111 121 129 129 123 144 112 151 123 167 118 179 104 174 80 157 61 137 46 106 45 88 37 83 1 0 1 [[Thailand]]',
  'poly 263 387 263 375 288 376 287 386 264 392 [[Singapur]]',
  'poly 853 189 868 207 890 225 902 222 905 194 918 182 922 197 924 207 940 210 929 180 924 162 909 164 [[Brunei]]',
  'poly 2 243 30 261 68 290 81 315 94 332 96 317 113 317 123 327 136 336 164 330 167 339 168 351 168 358 174 359 198 363 199 367 211 380 214 384 223 386 247 388 250 388 259 388 261 397 263 398 279 388 292 384 302 383 322 383 328 386 337 399 336 410 335 420 330 425 327 432 327 436 328 442 334 455 572 452 559 436 555 406 565 354 595 323 600 333 604 360 618 382 646 402 659 408 677 397 701 394 719 398 737 400 759 390 761 372 788 369 807 373 817 379 831 380 847 382 860 377 866 372 891 377 893 374 899 356 907 343 907 335 906 329 917 319 925 313 921 304 915 297 922 289 936 284 945 269 952 217 980 206 1022 207 1052 210 1072 217 1090 221 1096 216 1096 268 1102 318 1109 359 1126 374 1144 388 1149 404 1087 430 1082 453 1131 453 1171 454 1193 427 1198 421 1197 455 38 455 0 425 [[Indonesien]]',
  'rect 375 262 425 308 [[Indonesien]]',
  'rect 501 180 521 195 [[Indonesien]]',
  'rect 506 210 550 258 [[Indonesien]]',
  'rect 482 387 496 407 [[Indonesien]]',
  'rect 495 275 510 296 [[Indonesien]]',
  'rect 554 281 580 321 [[Indonesien]]',
  'rect 1017 0 1044 17 [[Philippinen]]',
  'rect 1180 155 1198 187 [[Philippinen]]'
  }
  
return imagemap