Difference between revisions of "Template:Mileposts/doc"

From Peritia
Jump to navigation Jump to search
m (add {{TemplateData header}} (via JWB))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:24, 23 September 2020

Usage

Imperial (standard) usage
{{Mileposts}}
Metric usage
{{Mileposts|km=yes}} or {{Kmposts}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage 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>