(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.
See also
Template | Display |
---|---|
{{Freeway}} | Freeway |
{{Major Highway}} | Major Highway |
{{Minor Highway}} | Minor Highway |
{{Ramp}} | Ramp |
{{Primary Street}} | Primary Street |
{{Street}} | Street |
{{Dirt Road / 4X4 Trail}} | Dirt Road / 4X4 Trail |
{{Private Road}} | Private Road |
{{Parking Lot Road}} | Parking Lot Road |
{{Walking Trail}} | | | | | | Walking Trail | | | | | |
{{Pedestrian Boardwalk}} | | | | | | Pedestrian Boardwalk | | | | | |
{{Stairway}} | | | | | | Stairway | | | | | |
{{Ferry}} | • • • • Ferry • • • • |
{{Railroad}} | ‡‡‡‡‡ Railroad ‡‡‡‡‡ |
{{Runway/Taxiway}} | |||||||| |||||||| |||||||| |||||||| Runway/Taxiway |||||||| |||||||| |||||||| |||||||| |
{{Road}} | Road |
{{Roundabout}} | —— Roundabout —— |
The above documentation is transcluded from Template: Freeway/doc. Subpages of this template. |