Template:Maplink
模解
用法同範例
基本用法
- 同享度嘅數據頁 (e.g. Data:ecos.fws.gov/Endangered habitat 58938/Plethodon neomexicanus.map):
{{maplink|from=}}
(specify .map data page in from=, excluding Data prefix)
- 來自OSM嘅Line of a border or a linear feature:
{{maplink|type=line|id=}}
(Wikidata id only required if another article's Wikidata page is to be used)
- 來自OSM嘅形狀:
{{maplink|type=shape|id=}}
(Wikidata id only required if another article's Wikidata page is to be used)
- 來自OSM嘅倒轉咗嘅形狀:
{{maplink|type=shape-inverse|id=}}
(Wikidata id only required if another article's Wikidata page is to be used)
- Point feature(坐標):
- ...來自維基數據:
{{maplink|type=point|id=}}
(Wikidata id only required if another article's Wikidata page is to be used) - ...來自特定坐標:
{{maplink|type=point|coord=}}
(specify coordinates using {{Coord}} template)
- ...來自維基數據:
- To show in a frame, add the parameter |frame=yes.
- Additional parameters are available to customise the displayed map.
Full parameter set – data page
{{maplink|display=|from=|zoom=|text=|icon=}}
Full parameter set – raw data
{{maplink|display=|raw= <!-- preferably {{Wikipedia:Map data/subpage}} -->|zoom=|text=|icon=}}
Full parameter set – geoline/geoshape
{{maplink|display=|type=|id=|title=|description=|stroke-color=|stroke-width=|zoom=|text=|icon=}}
Full parameter set – point features/coordinates
{{maplink|display=|type=point|id=|title=|description=|coord=|marker=|zoom=|text=|icon=}}