« Modèle:Railroad Voir l’historique

(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)
Ligne 1 : Ligne 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}}}}&nbsp;{{{1|Railroad}}}&nbsp;{{color|‡‡‡‡‡|{{#if:{{{color|}}}|white}}}}}}</includeonly><noinclude>{{doc|Template: Freeway/doc}}</noinclude>
|{{color|‡‡‡‡‡|{{#if:{{{color|}}}||white}}}}&nbsp;{{{1|Railroad}}}&nbsp;{{color|‡‡‡‡‡|{{#if:{{{color|}}}||white}}}}}}</includeonly><noinclude>{{doc|Template: Freeway/doc}}</noinclude>

Version du 10 juillet 2015 à 00:46

Documentation icon Template documentation[view] [edit] [history] [purge]

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.