"साँचा:Maplink/doc": अवतरणों में अंतर

→‎Parameters: exclude Data:
→‎Usage: update
पंक्ति 9:
 
==Usage==
Basic usage - data page:
*data page on commons: <code><nowiki>{{maplink|from=}}</nowiki></code> (specify .map data page in from=, excluding Data prefix)
<pre>
*geoline from OSM: <code><nowiki>{{maplink|type=line|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used)
{{maplink
*geoshape from OSM: <code><nowiki>{{maplink|type=shape|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used)
|display=
|type=data
|from=
}}
</pre>
 
Basic usage - geoline from OSM:
<pre>
{{maplink
|display=
|type=line
|id=
}}
</pre>
 
Basic usage - geoshape from OSM:
<pre>
{{maplink
|display=
|type=line
|id=
}}
</pre>
 
Full parameter set