Template:Maplink
閱讀設定
呢個模用到Lua語言: |
用法同範例
[編輯]基本用法
- 同享度嘅數據頁 (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= }}
上面嘅解係穿透包含咗自Template:Maplink/doc。 (改 | 史) 編者可以響呢個模嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/doc嘅細版度。 呢個模嘅細版。 |