<?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%3AMapbox%2F%D8%B4%D8%B1%D8%AD</id>
	<title>قالب:Mapbox/شرح - تاريخ المراجعة</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%3AMapbox%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:Mapbox/%D8%B4%D8%B1%D8%AD&amp;action=history"/>
	<updated>2026-06-08T17:33:00Z</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:Mapbox/%D8%B4%D8%B1%D8%AD&amp;diff=285170&amp;oldid=prev</id>
		<title>عبد العزيز: بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104</title>
		<link rel="alternate" type="text/html" href="https://3rabica.org/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Mapbox/%D8%B4%D8%B1%D8%AD&amp;diff=285170&amp;oldid=prev"/>
		<updated>2023-06-29T14:17:17Z</updated>

		<summary type="html">&lt;p&gt;بوت: إصلاح أخطاء فحص أرابيكا من 1 إلى 104&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحة جديدة&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{صفحة توثيق فرعية}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[أرابيكا:ويكي بيانات]]) --&amp;gt;&lt;br /&gt;
This template adds a box to the right of the page, which includes a link to display map data – either from data stored in GeoJSON format on Commons, or from line/polygon features in OpenStreetMap.&lt;br /&gt;
&lt;br /&gt;
*GeoJSON files cannot currently be directly uploaded. Instead, on [[c:|Commons]], create a page that is in the &amp;lt;code&amp;gt;Data:&amp;lt;/code&amp;gt; namespace and ends in &amp;lt;code&amp;gt;.map&amp;lt;/code&amp;gt; – see [[mw:Help:Map Data]] for further information.&lt;br /&gt;
*To make OpenStreetMap (OSM) features available, add the Wikidata key to the corresponding OSM relation (and wait 1 or 2 days) – see [[mw:Help:Extension:Kartographer#External_data]] and [[mw:Help:Extension:Kartographer/OSM]] for further information.&lt;br /&gt;
&lt;br /&gt;
== الاستخدام ==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Mapbox}}&amp;lt;/nowiki&amp;gt; is heavily based on [[قالب:Maplink]]. As a result, usage of the two templates is very similar.&lt;br /&gt;
&lt;br /&gt;
Basic usage&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Type !! Code !! Notes !! Example&lt;br /&gt;
|-&lt;br /&gt;
|Data page on Commons || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mapbox|from=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || specify .map data page in &amp;lt;code&amp;gt;from=&amp;lt;/code&amp;gt;, excluding the Data prefix || {{mapbox|from=ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map|text=Data page example}}&lt;br /&gt;
|-&lt;br /&gt;
| Line of a border or a linear feature from OSM || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mapbox|type=line|id=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;id=&amp;lt;/code&amp;gt; only required if the Wikidata item isn&amp;#039;t linked to the current page || {{mapbox|type=line|id=Q1094308|text=Line example}}&lt;br /&gt;
|-&lt;br /&gt;
| Shape from OSM || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mapbox|type=shape|id=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;id=&amp;lt;/code&amp;gt; only required if the Wikidata item isn&amp;#039;t linked to the current page || {{mapbox|type=shape|id=Q1094308|text=Shape example}}&lt;br /&gt;
|-&lt;br /&gt;
| Inverted shape from OSM || &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{mapbox|type=shape-inverse|id=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;id=&amp;lt;/code&amp;gt; only required if the Wikidata item isn&amp;#039;t linked to the current page || {{mapbox|type=shape-inverse|id=Q1094308|text=Inverted shape example}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Full parameter set – data page&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{mapbox&lt;br /&gt;
|from=&lt;br /&gt;
|zoom=&lt;br /&gt;
|text=&lt;br /&gt;
|text-left=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Full parameter set – OSM features&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{mapbox&lt;br /&gt;
|type=&lt;br /&gt;
|id=&lt;br /&gt;
|title=&lt;br /&gt;
|description=&lt;br /&gt;
|zoom=&lt;br /&gt;
|text=&lt;br /&gt;
|text-left=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== المعلمات ==&lt;br /&gt;
;type&lt;br /&gt;
:Type of data. Valid values are:&lt;br /&gt;
::&amp;lt;code&amp;gt;line&amp;lt;/code&amp;gt; – a geoline feature from OSM (e.g. a road)&lt;br /&gt;
::&amp;lt;code&amp;gt;shape&amp;lt;/code&amp;gt; – a geoshape feature from OSM (e.g. a state or province)&lt;br /&gt;
::&amp;lt;code&amp;gt;shape-inverse&amp;lt;/code&amp;gt; – a geomask feature from OSM (the inverse of a geoshape - allows an unobstructed view of the map beneath)&lt;br /&gt;
::&amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt; – a geoJSON data page on Commons (parameter is optional in this case)&lt;br /&gt;
;id&lt;br /&gt;
:&amp;#039;&amp;#039;(or &amp;#039;&amp;#039;&amp;#039;ids&amp;#039;&amp;#039;&amp;#039;)&amp;#039;&amp;#039;&lt;br /&gt;
:Wikidata id (Q-number) that the OSM feature is tagged with. Separate multiple ids with a comma. Defaults to the current page&amp;#039;s Wikidata id (if {{وسيط قالب|from}} not set).&lt;br /&gt;
;from&lt;br /&gt;
:The JSON (.map) file from Commons to display (excluding the &amp;lt;code&amp;gt;Data:&amp;lt;/code&amp;gt; prefix)&lt;br /&gt;
;title&lt;br /&gt;
:Title of the feature (for features from OSM), displayed when the feature is clicked on; default is the page title&lt;br /&gt;
;description&lt;br /&gt;
:Description of the feature (for features from OSM), displayed when the feature is clicked on; optional&lt;br /&gt;
;text&lt;br /&gt;
:Text to display for the link; default is &amp;quot;View map&amp;quot;&lt;br /&gt;
;text-left&lt;br /&gt;
:Set this to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; to change the link text from centre-aligned to left-aligned&lt;br /&gt;
;zoom&lt;br /&gt;
:Zoom level, from &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;18&amp;lt;/code&amp;gt; (larger numbers zoom in further); will be automatically determined if not set&lt;br /&gt;
&lt;br /&gt;
== Things this template can&amp;#039;t do ==&lt;br /&gt;
While &amp;#039;&amp;#039;Mapbox&amp;#039;&amp;#039; and the similar &amp;#039;&amp;#039;[[قالب:Maplink]]&amp;#039;&amp;#039; attempt to make simple maps easier to insert into a page, &amp;#039;&amp;#039;[[قالب:Mapbox raw data]]&amp;#039;&amp;#039; uses exactly the same data format for the map itself as the standard &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;lt;maplink&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039; function. Here are the things &amp;#039;&amp;#039;Mapbox&amp;#039;&amp;#039; can&amp;#039;t do:&lt;br /&gt;
*Use GeoJSON data directly&lt;br /&gt;
*Use a combination of data sources together (direct GeoJSON, external data from Wikimedia Commons and external data from OpenStreetMap)&lt;br /&gt;
*Directly style data (data from Commons will inherit the styling specified in the .map page)&lt;br /&gt;
*Include multiple pieces of external data from Wikimedia Commons&lt;br /&gt;
*Use Wikidata queries to obtain information for the map&lt;br /&gt;
*Include multiple links within the one box&lt;br /&gt;
*Include non-linked explanatory text at the top of the box&lt;br /&gt;
&lt;br /&gt;
Use &amp;#039;&amp;#039;[[قالب:Mapbox raw data]]&amp;#039;&amp;#039; if you need to do any of these things.&lt;br /&gt;
&lt;br /&gt;
== طالع أيضاً ==&lt;br /&gt;
*[[قالب:Attached KML]]&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>