(added new color) |
m (12 revisions imported from usa:Template:Primary_Street: importing road type templates from USA) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Road | <includeonly>{{Road | ||
| style = color: {{# | | style = color: {{#switch:{{{color|}}} | ||
| old | |||
| old1 = white | |||
| old2 | |||
| black}}; background-color: {{#switch:{{{color|}}} | |||
| old | | old | ||
| old1 = #CBA12E; | | old1 = #CBA12E; | ||
| old2 = #FDFBA8; border-color: black; border-width: 2px; | | old2 = #FDFBA8; border-color: black; border-width: 2px; | ||
| old3 | |||
| #F0EA58; border-color: black; border-width: 2px;}} {{{style|}}}|{{{1|Primary Street}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude> | | #F0EA58; border-color: black; border-width: 2px;}} {{{style|}}}|{{{1|Primary Street}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude> |
Latest revision as of 17:51, 25 March 2019
Use {{Primary Street}}
to create Primary Street text.
Use {{Primary Street|custom text}}
to create custom text text.
Use {{Primary Street|style= display: inline-block; width: 250px;}}
to create text with a certain width.
Primary Street
Use the |color=old1
parameter to get the old colors design (before June 2015) like this. {{Primary Street|color=old1}}
Primary Street
Use the |color=old2
parameter to get the old colors design (before October 2015) like this. {{Primary Street|color=old2}}
Primary Street
Each of the road type templates can also be styled to mimic a roundabout when used through the {{Roundabout}} template.
Use {{Roundabout|Primary Street}}
to create
—— Primary Street ——
See the documentation for Template:Road for more customization options.
For a list of all available road type templates see the category list.
The above documentation is transcluded from Template:Freeway/doc. Subpages of this template. |