<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar">
	<id>https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AAttached_KML%2F%D8%B4%D8%B1%D8%AD</id>
	<title>قالب:Attached KML/شرح - تاريخ المراجعة</title>
	<link rel="self" type="application/atom+xml" href="https://3rabica.org/index.php?action=history&amp;feed=atom&amp;title=%D9%82%D8%A7%D9%84%D8%A8%3AAttached_KML%2F%D8%B4%D8%B1%D8%AD"/>
	<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Attached_KML/%D8%B4%D8%B1%D8%AD&amp;action=history"/>
	<updated>2026-06-09T00:40:15Z</updated>
	<subtitle>تاريخ التعديل لهذه الصفحة في الويكي</subtitle>
	<generator>MediaWiki 1.43.7</generator>
	<entry>
		<id>https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Attached_KML/%D8%B4%D8%B1%D8%AD&amp;diff=285172&amp;oldid=prev</id>
		<title>عبد العزيز في 23:06، 19 سبتمبر 2023</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Attached_KML/%D8%B4%D8%B1%D8%AD&amp;diff=285172&amp;oldid=prev"/>
		<updated>2023-09-19T23:06:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{صفحة توثيق فرعية}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[أرابيكا:ويكي بيانات]]) --&amp;gt;&lt;br /&gt;
{{استخدام واسع|{{Attached KML/شرح/عداد}}}}&lt;br /&gt;
{{Lua|Module:Attached KML}}&lt;br /&gt;
{{يستخدم ويكي بيانات|قسم=ويكي بيانات}}&lt;br /&gt;
{{تتبع ويكي بيانات|P3096}}&lt;br /&gt;
&lt;br /&gt;
This template displays links to the popular web mapping service Google (and previously Bing) on articles, and when coupled with the content of a [[لغة تعليم كي هول|KML]] file produces a route line on those maps. If the &amp;quot;KML file&amp;quot; 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.  &lt;br /&gt;
&lt;br /&gt;
== الاستخدام ==&lt;br /&gt;
As KML files cannot currently be uploaded, the text of those files must be copied into a Wikipedia page:&lt;br /&gt;
&lt;br /&gt;
: Template:Attached KML/[Article Title]&lt;br /&gt;
&lt;br /&gt;
KML files can also be stored on other wikis which are connected to Wikidata.&lt;br /&gt;
&lt;br /&gt;
===Normal===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Attached KML}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Simply placing the template in an article generates a box, as seen above - but using the article&amp;#039;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.&lt;br /&gt;
&lt;br /&gt;
===Other options===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Attached KML&lt;br /&gt;
|wikidata=&lt;br /&gt;
|from=&lt;br /&gt;
|display=&lt;br /&gt;
|header=&lt;br /&gt;
|title=&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*To use a different article&amp;#039;s KML file, specify the id (Q-number) of the other KML file&amp;#039;s Wikidata item using:&lt;br /&gt;
**&amp;lt;code&amp;gt;|wikidata=&amp;#039;&amp;#039;Qnumber&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
*To create a new KML file on this Wikipedia, create a page named like &amp;lt;code&amp;gt;Template:Attached KML/&amp;#039;&amp;#039;Article title&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; with the text of the KML file.&lt;br /&gt;
**Or, to use KML from a local page named like &amp;lt;code&amp;gt;Template:Attached KML/&amp;#039;&amp;#039;Another title&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;, specify:&lt;br /&gt;
***&amp;lt;code&amp;gt;|from=&amp;#039;&amp;#039;Another title&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
***Using &amp;lt;code&amp;gt;|wikidata=&amp;lt;/code&amp;gt; is preferable as page moves won&amp;#039;t cause errors&lt;br /&gt;
*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:&lt;br /&gt;
**&amp;lt;code&amp;gt;|display=inline&amp;lt;/code&amp;gt; - Only displays the box (you can forego this, as box-only is the default)&lt;br /&gt;
**&amp;lt;code&amp;gt;|display=title&amp;lt;/code&amp;gt; - Only displays the title links&lt;br /&gt;
**&amp;lt;code&amp;gt;|display=inline,title&amp;lt;/code&amp;gt; - Displays the box as well as title links&lt;br /&gt;
**&amp;lt;code&amp;gt;|display=title,inline&amp;lt;/code&amp;gt; - Same as above&lt;br /&gt;
*Optional header:&lt;br /&gt;
**&amp;lt;code&amp;gt;|header=&amp;lt;/code&amp;gt; short text to appear at the top of the side box when using &amp;#039;&amp;#039;&amp;#039;display=inline&amp;#039;&amp;#039;&amp;#039; (end with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;amp;lt;nowiki /&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to force a new line after the header)&lt;br /&gt;
**&amp;#039;&amp;#039;default&amp;#039;&amp;#039; is no header in side box&lt;br /&gt;
**Use &amp;lt;code&amp;gt;|title=&amp;lt;/code&amp;gt; to show a different title to show next to the top links (when using title display mode), if &amp;quot;Route map&amp;quot; is not suitable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This template is intended for linear features:&lt;br /&gt;
* [[Right-of-way (transportation)|Rights-of-way]]&lt;br /&gt;
* Walkways/paths&lt;br /&gt;
* Roads&lt;br /&gt;
* Rivers&lt;br /&gt;
* Subway or train lines&lt;br /&gt;
* Ship courses&lt;br /&gt;
* Flight paths&lt;br /&gt;
* Explorers journeys&lt;br /&gt;
* and more...&lt;br /&gt;
and can also be used for polygon features, to highlight an area within a boundary (parks, towns, etc.)&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
The following may be added via [[وحدة:Attached KML]]&lt;br /&gt;
* {{سطر تصنيف وصفحاته|Attached KML errors}} – tracks errors: malformed_qid, bad_qid, no_item, bad_from, error_nokml&lt;br /&gt;
* {{سطر تصنيف وصفحاته|Articles using KML from Wikidata}} – tracks mainspace articles using KML from Wikidata&lt;br /&gt;
* {{سطر تصنيف وصفحاته|Articles using KML not from Wikidata}} – tracks mainspace articles not using KML from Wikidata&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Special:PrefixIndex/Template:Attached KML/|List of Attached KML subpages]]&lt;br /&gt;
* [[Wikipedia:WikiProject U.S. Roads/Maps task force/Tutorial#Creating a KML file|Tutorial on creating a KML file]]&lt;br /&gt;
* [[Help:Attached KML]] – help for readers&lt;br /&gt;
* [[Meta:KML files]]&lt;br /&gt;
* [[Wikipedia:Map data]] – for attaching Geojson map data that is not suitable for Commons (i.e. non-CC0).&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{رأس بيانات القالب}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template to display the KML file attached to a page.&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;display&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Display mode&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Use \&amp;quot;title\&amp;quot; for display at the top, \&amp;quot;inline\&amp;quot; for the box (default), or both (separated by a comma: \&amp;quot;inline,title\&amp;quot;) for both.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;title,inline&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;header&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Header&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Header to place on the Attached KML box&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;from&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Use KML from this page&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The page to use the KML from, if not the page the template is placed on.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: false&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;wikidata&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Use KML from this Wikidata item&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The Wikidata item id (Q-number) for KML file to be used, if not the KML for this page&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Q26267859&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Title&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Title to show next to links (when using title display mode) if \&amp;quot;Route map\&amp;quot; is not suitable&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Tornado damage survey map&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;Route map&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{ملعب آخر||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[تصنيف:قوالب إحداثيات]]&lt;br /&gt;
[[تصنيف:قوالب تضيف تصانيف تتبع]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>عبد العزيز</name></author>
	</entry>
</feed>