Loading AI tools
قالب ويكيميديا من ويكيبيديا، الموسوعة الحرة
KML file (تعديل • مساعدة) |
هذا القالب مستخدم في عدد كبير من الصفحات (+2) . لتفادي خلق بلبلة على نطاق واسع من الصفحات وزيادة الأعباء على الخوادم، يجب تجربة أي تعديل في هذه الصفحات الفرعية /ملعب أو /تجربة أو في ملعبك. بعدها يمكنك اضافة التعديلات دفعة واحدة، ورجاءً، لا تنسَ مناقشة أمر التعديلات أوّلًا قبل القيام بها. |
هذا القالب يستعمل لوا: |
هذا القالب يستخدم خاصية أو أكثر من ويكي بيانات. طالع > ويكي بيانات للتفاصيل. |
هذا القالب
يقوم بتتبع خاصية ويكي بيانات: |
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 "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.
As KML files cannot currently be uploaded, the text of those files must be copied into a Wikipedia page:
KML files can also be stored on other wikis which are connected to Wikidata.
{{Attached KML}}
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.
{{Attached KML
|wikidata=
|from=
|display=
|header=
|title=
}}
|wikidata=Qnumber
Template:Attached KML/Article title
with the text of the KML file.
Template:Attached KML/Another title
, specify:
|from=Another title
|wikidata=
is preferable as page moves won't cause errors|display=inline
- Only displays the box (you can forego this, as box-only is the default)|display=title
- Only displays the title links|display=inline,title
- Displays the box as well as title links|display=title,inline
- Same as above|header=
short text to appear at the top of the side box when using display=inline (end with <br /><nowiki />
to force a new line after the header)|title=
to show a different title to show next to the top links (when using title display mode), if "Route map" is not suitable
This template is intended for linear features:
and can also be used for polygon features, to highlight an area within a boundary (parks, towns, etc.)
The following may be added via وحدة:Attached KML
بيانات قالب: «Attached KML»
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Display mode | display | Use "title" for display at the top, "inline" for the box (default), or both (separated by a comma: "inline,title") for both.
| نص | مقترح |
Header | header | Header to place on the Attached KML box | نص | اختياري |
Use KML from this page | from | The page to use the KML from, if not the page the template is placed on. | اسم الصفحة | اختياري |
Use KML from this Wikidata item | wikidata | The Wikidata item id (Q-number) for KML file to be used, if not the KML for this page
| غير معروف | اختياري |
Title | title | Title to show next to links (when using title display mode) if "Route map" is not suitable
| غير معروف | اختياري |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.