Modèle:Mileposts/doc
De Wikisisar
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Mileposts. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Mileposts | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
- Imperial (standard) usage
- {{Mileposts}}
[[Image:{{#if:|Kilometer|Mile}} marker.svg|x40px|link=|alt=]] | This section contains a table that is missing {{#if:|kilometre posts|mileposts}} for one or more junctions. |
- Metric usage
- {{Mileposts|km=yes}} or {{Kmposts}}
[[Image:{{#if:yes|Kilometer|Mile}} marker.svg|x40px|link=|alt=]] | This section contains a table that is missing {{#if:yes|kilometre posts|mileposts}} for one or more junctions. |
TemplateData
{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}
{{#ifeq:doc|sandbox||
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>