(Attempt variable style text color) |
(Changed color to match new WME colors and left old color available using |color=old a/p forum https://www.waze.com/forum/viewtopic.php?t=149201) |
||
Line 1: | Line 1: | ||
<includeonly>{{Road | <includeonly>{{Road | ||
| style = background-color: {{#if:{{{color|}}}|#E6E6E6;|#C2C2C2;}} {{{style|}}} | | style = background-color: {{#if:{{{color|}}}|#E6E6E6;|#C2C2C2;}} {{{style|}}} | ||
|{{color|‡‡‡‡‡|{{#if:{{{color|}}}|white}}}} {{{1|Railroad}}} {{color|‡‡‡‡‡|{{#if:{{{color|}}}|white}}}}}}</includeonly><noinclude>{{doc|Template: Freeway/doc}}</noinclude> | |{{color|‡‡‡‡‡|{{#if:{{{color|}}}||white}}}} {{{1|Railroad}}} {{color|‡‡‡‡‡|{{#if:{{{color|}}}||white}}}}}}</includeonly><noinclude>{{doc|Template: Freeway/doc}}</noinclude> |
Revision as of 00:46, 10 July 2015
Use {{Railroad}}
to create ‡‡‡‡‡ Railroad ‡‡‡‡‡ text.
Use {{Railroad|custom text}}
to create ‡‡‡‡‡ custom text ‡‡‡‡‡ text.
Use {{Railroad|style= display: inline-block; width: 250px;}}
to create text with a certain width.
‡‡‡‡‡ Railroad ‡‡‡‡‡
Use the |color=old1
parameter to get the old colors design (before June 2015) like this. {{Railroad|color=old1}}
‡‡‡‡‡ Railroad ‡‡‡‡‡
Use the |color=old2
parameter to get the old colors design (before October 2015) like this. {{Railroad|color=old2}}
‡‡‡‡‡ Railroad ‡‡‡‡‡
Each of the road type templates can also be styled to mimic a roundabout when used through the {{Roundabout}} template.
Use {{Roundabout|Railroad}}
to create
‡‡‡‡‡ —— Railroad —— ‡‡‡‡‡
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. |