テンプレート:Mileposts/doc

提供:雑廉堂Wiki
2018年3月19日 (月) 21:37時点におけるMeisina04 (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)

{{#invoke:Message box|mbox}}

Usage

Imperial (standard) usage
{{Mileposts}}

{{#invoke:Message box|ambox}}

Metric usage
{{Mileposts|km=yes}} or {{Kmposts}}

{{#invoke:Message box|ambox}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Mileposts

<templatedata> {

       "description": "A cleanup template to indicate that the junction table needs mileposts or kilometreposts",
       "params": {
               "km": {
                       "label": "km",
                       "description": "yes if the road is in a country that uses metric measurements",
                       "type": "string",
                       "required": false
                     }
                 }

} </templatedata>