"ഫലകം:Maplink/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
(ചെ.) ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു |
add original link |
||
| (ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 6 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല) | |||
| വരി 2: | വരി 2: | ||
<includeonly>{{template shortcut|Mapframe}}</includeonly> | <includeonly>{{template shortcut|Mapframe}}</includeonly> | ||
{{Lua|Module:Mapframe}} | {{Lua|Module:Mapframe}} | ||
{{Uses Wikidata | {{Uses Wikidata}} | ||
{{Sister project | {{Sister project | ||
|image=[[File:Openstreetmap logo.svg| | |image=[[File:Openstreetmap logo.svg|40px]] | ||
|text=This template uses the [[OpenStreetMap]] tag: | |text=This template uses the [[OpenStreetMap]] tag: | ||
*'''''[http://wiki.openstreetmap.org/wiki/Key:wikidata wikidata]''''' (see [http://wiki.openstreetmap.org/wiki/Talk:Key:wikidata talk]; [https://taginfo.openstreetmap.org/keys/wikidata taginfo]) | *'''''[http://wiki.openstreetmap.org/wiki/Key:wikidata wikidata]''''' (see [http://wiki.openstreetmap.org/wiki/Talk:Key:wikidata talk]; [https://taginfo.openstreetmap.org/keys/wikidata taginfo]) | ||
| വരി 10: | വരി 10: | ||
<!--{{High-use|7,000+}}--> | <!--{{High-use|7,000+}}--> | ||
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --> | ||
This template Imported from [https://en.wikipedia.org/wiki/Template:Maplink/doc English Wikipedia] | |||
This template adds a link, or frame, which will display map data – either from: | This template adds a link, or frame, which will display map data – either from: | ||
| വരി 17: | വരി 18: | ||
*raw GeoJSON, preferably transcluded from another page | *raw GeoJSON, preferably transcluded from another page | ||
Note: | Note: | ||
*GeoJSON files cannot currently be directly uploaded. Instead, on [ | *GeoJSON files cannot currently be directly uploaded. Instead, on [https://commons.wikimedia.org/wiki/Main_Page Commons], create a page that is in the <code>Data:</code> namespace and ends in <code>.map</code> – see [https://www.mediawiki.org/wiki/Help:Map_Data mw:Help:Map Data] for further information. | ||
*To make OpenStreetMap (OSM) features available, add the Wikidata key to the OSM relation (and wait 1 or 2 days) – see [ | *To make OpenStreetMap (OSM) features available, add the Wikidata key to the OSM relation (and wait 1 or 2 days) – see [https://www.mediawiki.org/wiki/Help:Extension:Kartographer#External_data mw:Help:Extension:Kartographer#External_data] and [https://www.mediawiki.org/wiki/Help:Extension:Kartographer/OSM mw:Help:Extension:Kartographer/OSM] for further information. | ||
==Uses== | ==Uses== | ||
| വരി 35: | വരി 36: | ||
==Usage== | ==Usage== | ||
Basic usage | Basic usage | ||
*{{maplink|type=line|id=Q1094308|text=Line of a border or a linear feature}} from OSM: | *{{maplink|type=line|id=Q1094308|text=Line of a border or a linear feature}} from OSM: | ||
*:<code><nowiki>{{maplink|type=line|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used) | *:<code><nowiki>{{maplink|type=line|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used) | ||
| വരി 45: | വരി 43: | ||
*{{maplink|type=shape-inverse|id=Q1094308|text=Inverted shape}} from OSM: | *{{maplink|type=shape-inverse|id=Q1094308|text=Inverted shape}} from OSM: | ||
*:<code><nowiki>{{maplink|type=shape-inverse|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used) | *:<code><nowiki>{{maplink|type=shape-inverse|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used) | ||
*To show in a frame, add the parameter {{para|frame|yes}}. | *To show in a frame, add the parameter {{para|frame|yes}}. | ||
{{maplink|frame=yes|type=line|id=Q1094308|text=Mapframe example}} | {{maplink|frame=yes|type=line|id=Q1094308|text=Mapframe example}} | ||
| വരി 177: | വരി 172: | ||
==Examples and tips== | ==Examples and tips== | ||
===Infoboxes=== | ===Infoboxes=== | ||