Esta plantilla muestra enlaces al popular servicio de mapas web Google (y anteriormente Bing) en los artículos y, cuando se combina con el contenido de un archivo KML , genera una línea de ruta en esos mapas. Si se hace clic en la oferta "archivo KML", se presentará un archivo index.php para descargar que contiene el contenido KML; el sistema Google Earth ignorará dicho archivo a menos que se le cambie el nombre, por ejemplo, a index.kml.
Como actualmente no es posible cargar archivos KML, el texto de dichos archivos debe copiarse en una página de Wikipedia:
Los archivos KML también se pueden almacenar en otras wikis que estén conectadas a Wikidata.
{{ KML adjunto }}
Con solo colocar la plantilla en un artículo se genera un cuadro, como se ve arriba, pero se utiliza el archivo KML relacionado con el artículo (tal como se encuentra en Wikidata, si está disponible). Lo mejor es colocarlo en la sección de enlaces externos o cerca del final de un artículo.
{{ KML adjunto | wikidata = | from = | display = | header = | title = }}
|wikidata=Qnumber
Template:Attached KML/Article title
Template:Attached KML/Another title
|from=Another title
|wikidata=
ya que los movimientos de página no causarán errores|display=inline
- Solo muestra el cuadro (puedes prescindir de esto, ya que la opción "solo cuadro" es la predeterminada)|display=title
- Solo muestra los enlaces del título|display=inline,title
- Muestra el cuadro así como los enlaces del título.|display=title,inline
- Lo mismo que arriba|header=
Texto corto que aparecerá en la parte superior del cuadro lateral cuando se use display=inline (terminar con <br /><nowiki />
para forzar una nueva línea después del encabezado)|title=
para mostrar un título diferente para mostrar junto a los enlaces superiores (cuando se usa el modo de visualización de título), si "Mapa de ruta" no es adecuado
Esta plantilla está diseñada para funciones lineales:
y también se puede utilizar para entidades poligonales, para resaltar un área dentro de un límite (parques, ciudades, etc.)
Lo siguiente se puede agregar a través del Módulo:KML adjunto
Datos de plantilla para archivos KML adjuntos
Una plantilla para mostrar el archivo KML adjunto a una página.