Map
Mapframe

MaplinkMaplink

模解[] [] [] []

用法同範例 編輯

基本用法

  • 同享度嘅數據頁 (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.
Map
Mapframe example
  • Additional parameters are available to customise the displayed map.

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=
}}