Template:Mileposts/doc: Difference between revisions

From Body Communication
en>Zyxw
m (add {{TemplateData header}} (via JWB))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:10, 8 August 2021

Usage

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

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>