Template:Mileposts: Difference between revisions

From Body Communication
en>Primefac
m (Protected "Template:Mileposts": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...)
(No difference)

Revision as of 19:17, 10 January 2018

Template documentation[view] [edit] [history] [purge]

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>