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

mapframe parameters
plain parameter
पंक्ति 46:
*:...from Wikidata:<br/><code><nowiki>{{maplink|type=point|id=}}</nowiki></code> (Wikidata id only required if another article's Wikidata page is to be used)
*:...from specified coordinates:<br/><code><nowiki>{{maplink|type=point|coord=}}</nowiki></code> (specify coordinates using {{tl|Coord}} template)
*To show in a frame, add the parameter {{para|frame|yes}}.
{{maplink|frame=yes|type=line|id=Q1094308|text=Mapframe example}}
{{-}}
 
*Additional parameters are available to customise the displayed map.
{{maplink|frame=yes|plain=yes|type=line|id=Q1094308|frame-width=200|frame-height=250|frame-long=-82.9166|frame-lat=42.4934}}
{{-}}
Full parameter set – data page
Line 147 ⟶ 149:
;frame
:Set to "yes" to show a map frame instead of a link
:;plain
;frame-width
::Set to "yes" to show just the map without the surrounding frame
:Width of the map frame, default is <code>300</code>
:;frame-heightwidth
::Width of the map frame, default is <code>200300</code>
:;frame-latitudeheight
:Width:Height of the map frame, default is <code>300200</code>
:''(or '''frame-lat''')''
:;frame-latitude
::''(or '''frame-lat''')''
::Optional - alternate latitude coordinate for initial placement of map
:;frame-longitude
::''(or '''frame-lat''')''
::Optional - alternate longitude coordinate for initial placement of map
==Things this template can't do==
This template is designed to make it simple to insert a map into a page. It supports the most common types of usage, but some of the capabilities of the full ''<nowiki><maplink></nowiki>'' function are not available. Here are the things this template can't do: