m (Dynamic doc) |
m (created pemanent link to current color (old3)) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Road | <includeonly>{{Road | ||
| style = color: {{# | | style = color: {{#switch:{{{color|}}} | ||
| {{{1|Primary Street}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude> | | old | ||
| old1 = white | |||
| old2 | |||
| black}}; background-color: {{#switch:{{{color|}}} | |||
| old | |||
| old1 = #CBA12E; | |||
| 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> |
Latest revision as of 23:49, 8 October 2015
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. |