Knowledge

Template:Attached KML

Source 📝

48: 79: 117: 150:
file produces a route line on those maps. If the "KML file" offer is clicked on, a file index.php will be presented for download containing the KML content; such a file will be ignored by the Google Earth system unless renamed, to index.kml for example.
188:
Simply placing the template in an article generates a box, as seen above—but using the article's related KML file (as found through Wikidata, if available). This is best placed in the External links section, or near the end of an article.
38: 450: 718: 729: 146:
This template displays links to the popular web mapping service Google (and previously Bing) on articles, and when coupled with the content of a
714: 308:
The links in the box can also be placed near the top right of an article title, similar to coordinates, by using one of the following options:
702: 432: 63: 757: 741: 698: 445: 59: 426: 550:
Use "title" for display at the top, "inline" for the box (default), or both (separated by a comma: "inline,title") for both.
762: 86: 491: 67: 364:
to show a different title to show next to the top links (when using title display mode), if "Route map" is not suitable
684: 724: 95: 767: 256:
To use a different article's KML file, specify the id (Q-number) of the other KML file's Wikidata item using:
709: 375: 91: 25: 420: 20: 483: 159:
As KML files cannot currently be uploaded, the text of those files must be copied into a Knowledge page:
134: 405:
and can also be used for polygon features, to highlight an area within a boundary (parks, towns, etc.)
103: 772: 737: 692: 55: 147: 487: 479: 99: 654:
Title to show next to links (when using title display mode) if "Route map" is not suitable
8: 414: 130: 37: 466: 688: 625:
The Wikidata item id (Q-number) for KML file to be used, if not the KML for this page
455: 29: 469:– for attaching Geojson map data that is not suitable for Commons (i.e. non-CC0). 423: (5) – tracks errors: malformed_qid, bad_qid, no_item, bad_from, error_nokml 461: 751: 167:
KML files can also be stored on other wikis which are connected to Wikidata.
123: 42: 314:- Only displays the box (you can forego this, as box-only is the default) 602:
The page to use the KML from, if not the page the template is placed on.
435: (4,328) – tracks mainspace articles not using KML from Wikidata 269:
To create a new KML file on this Knowledge, create a page named like
90:
and changes may be widely noticed. Test changes in the template's
429: (9,470) – tracks mainspace articles using KML from Wikidata 343:
short text to appear at the top of the side box when using
518:
This template prefers inline formatting of parameters.
508:
A template to display the KML file attached to a page.
749: 371:This template is intended for linear features: 301:is preferable as page moves won't cause errors 433:Category:Articles using KML not from Wikidata 279:Or, to use KML from a local page named like 498:in articles based on its TemplateData. 708:Editors can experiment in this template's 45: 427:Category:Articles using KML from Wikidata 326:- Displays the box as well as title links 579:Header to place on the Attached KML box 750: 408: 351:to force a new line after the header) 102:. Consider discussing changes on the 492:See a monthly parameter usage report 111: 73: 13: 758:Templates using data from Wikidata 39:Template:Attached KML/Attached KML 14: 784: 674: 639: 610: 587: 564: 192: 115: 77: 46: 616:Use KML from this Wikidata item 473: 451:Tutorial on creating a KML file 413:The following may be added via 320:- Only displays the title links 276:with the text of the KML file. 87:approximately 14,000 pages 1: 501:TemplateData for Attached KML 446:List of Attached KML subpages 421:Category:Attached KML errors 349:<br /><nowiki /> 7: 763:Templates tracking Wikidata 439: 10: 789: 682: 482:for this template used by 742:Subpages of this template 693:Template:Attached KML/doc 667:Tornado damage survey map 524: 170: 106:before implementing them. 98:subpages, or in your own 85:This template is used on 357:is no header in side box 196: 174: 154: 736:Add categories to the 593:Use KML from this page 281:Template:Attached KML/ 271:Template:Attached KML/ 163:Template:Attached KML/ 51:Template documentation 768:Coordinates templates 496:Template:Attached KML 389:Subway or train lines 330:|display=title,inline 324:|display=inline,title 122:This template uses 680: 521: 514:Template parameters 415:Module:Attached KML 409:Tracking categories 131:Module:Attached KML 512: 510: 505: 467:Knowledge:Map data 458:– help for readers 398:Explorers journeys 679: 678: 537: 506: 490:and other tools. 456:Help:Attached KML 337:Optional header: 144: 143: 110: 109: 780: 773:Google templates 733: 722: 706: 650: 621: 598: 575: 546: 538: 522: 519: 511: 363: 350: 342: 331: 325: 319: 313: 300: 294: 285: 275: 264: 251: 248: 245: 242: 239: 236: 233: 230: 227: 224: 221: 218: 215: 212: 209: 206: 203: 200: 184: 181: 178: 119: 118: 112: 81: 80: 74: 71: 52: 50: 49: 33: 788: 787: 783: 782: 781: 779: 778: 777: 748: 747: 746: 745: 735: 727: 712: 707: 696: 681: 648: 619: 596: 573: 544: 517: 504: 476: 442: 411: 370: 361: 348: 340: 332:- Same as above 329: 323: 317: 312:|display=inline 311: 298: 289: 280: 270: 259: 253: 252: 249: 246: 243: 240: 237: 234: 231: 228: 225: 222: 219: 216: 213: 210: 207: 204: 201: 198: 195: 186: 185: 182: 179: 176: 173: 157: 140: 116: 78: 72: 53: 47: 41: 36: 35: 34: 18: 12: 11: 5: 786: 776: 775: 770: 765: 760: 677: 676: 673: 670: 669: 668: 665: 662: 659: 651: 646: 642: 641: 638: 635: 634: 633: 630: 622: 617: 613: 612: 609: 606: 605: 599: 594: 590: 589: 586: 583: 582: 576: 571: 567: 566: 563: 560: 559: 558: 555: 547: 542: 536: 535: 532: 529: 526: 484:TemplateWizard 477: 475: 472: 471: 470: 464: 462:Meta:KML files 459: 453: 448: 441: 438: 437: 436: 430: 424: 410: 407: 403: 402: 399: 396: 393: 390: 387: 384: 381: 380:Walkways/paths 378: 368: 367: 366: 365: 358: 352: 345:display=inline 335: 334: 333: 327: 321: 318:|display=title 315: 306: 305: 304: 303: 302: 295: 267: 266: 265: 197: 194: 191: 175: 172: 169: 165: 164: 156: 153: 142: 141: 139: 138: 127: 120: 108: 107: 82: 44: 43: 17: 16: 15: 9: 6: 4: 3: 2: 785: 774: 771: 769: 766: 764: 761: 759: 756: 755: 753: 743: 739: 731: 726: 720: 716: 711: 704: 700: 694: 690: 686: 685:documentation 671: 666: 663: 660: 657: 656: 655: 652: 647: 644: 643: 636: 631: 628: 627: 626: 623: 618: 615: 614: 607: 604: 603: 600: 595: 592: 591: 584: 581: 580: 577: 572: 569: 568: 561: 556: 553: 552: 551: 548: 543: 540: 539: 533: 530: 527: 523: 520: 515: 509: 503: 502: 497: 493: 489: 485: 481: 468: 465: 463: 460: 457: 454: 452: 449: 447: 444: 443: 434: 431: 428: 425: 422: 419: 418: 417: 416: 406: 400: 397: 394: 391: 388: 385: 382: 379: 377: 376:Rights-of-way 374: 373: 372: 359: 356: 353: 346: 339: 338: 336: 328: 322: 316: 310: 309: 307: 296: 293: 292:Another title 288: 287: 284: 283:Another title 278: 277: 274: 273:Article title 268: 263: 258: 257: 255: 254: 193:Other options 190: 168: 162: 161: 160: 152: 149: 136: 132: 129: 128: 125: 121: 114: 113: 105: 101: 97: 93: 89: 88: 83: 76: 75: 69: 65: 61: 57: 40: 31: 27: 23: 22: 653: 624: 601: 578: 557:title,inline 549: 541:Display mode 516: 513: 507: 500: 499: 495: 488:VisualEditor 480:TemplateData 478:This is the 474:TemplateData 412: 404: 395:Flight paths 392:Ship courses 369: 354: 344: 291: 282: 272: 261: 202:Attached KML 187: 180:Attached KML 166: 158: 145: 100:user subpage 84: 19: 689:transcluded 528:Description 401:and more... 286:, specify: 66:] [ 62:] [ 58:] [ 752:Categories 683:The above 347:(end with 299:|wikidata= 260:|wikidata= 96:/testcases 740:subpage. 725:testcases 661:Route map 632:Q26267859 608:Page name 565:suggested 525:Parameter 104:talk page 675:optional 640:optional 620:wikidata 611:optional 588:optional 440:See also 341:|header= 208:wikidata 92:/sandbox 21:KML file 717:| 710:sandbox 703:history 701:| 672:Unknown 664:Example 658:Default 637:Unknown 629:Example 554:Default 545:display 362:|title= 355:default 262:Qnumber 226:display 135:sandbox 64:history 734:pages. 585:String 574:header 570:Header 562:String 534:Status 386:Rivers 297:Using 290:|from= 235:header 171:Normal 691:from 649:title 645:Title 383:Roads 244:title 155:Usage 70:] 68:purge 54:[ 738:/doc 730:edit 723:and 719:diff 715:edit 699:edit 597:from 531:Type 494:for 360:Use 217:from 60:edit 56:view 30:help 26:edit 687:is 148:KML 124:Lua 94:or 754:: 695:. 486:, 250:}} 199:{{ 183:}} 177:{{ 126:: 28:• 744:. 732:) 728:( 721:) 713:( 705:) 697:( 247:= 241:| 238:= 232:| 229:= 223:| 220:= 214:| 211:= 205:| 137:) 133:( 32:) 24:(

Index

KML file
edit
help
Template:Attached KML/Attached KML
view
edit
history
purge
approximately 14,000 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Attached KML
sandbox
KML
Rights-of-way
Module:Attached KML
Category:Attached KML errors
Category:Articles using KML from Wikidata
Category:Articles using KML not from Wikidata
List of Attached KML subpages
Tutorial on creating a KML file
Help:Attached KML
Meta:KML files
Knowledge:Map data
TemplateData
TemplateWizard
VisualEditor

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.