Difference between revisions of "Template:Freeway"

From Wazeopedia
(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)
m (added black border to new color)
Line 1: Line 1:
 
<includeonly>{{Road
 
<includeonly>{{Road
| style = color: white; background-color: {{#if:{{{color|}}}|#387FB8;|#676EC6;}} {{{style|}}}
+
| style = color: white; background-color: {{#if:{{{color|}}}|#387FB8;|#676EC6; border-color: black;}} {{{style|}}}
 
| {{{1|Freeway}}}}}</includeonly><noinclude>{{doc}}</noinclude>
 
| {{{1|Freeway}}}}}</includeonly><noinclude>{{doc}}</noinclude>

Revision as of 16:05, 17 July 2015

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

Use {{Freeway}} to create  Freeway  text.


Use {{Freeway|custom text}} to create  custom text  text.


Use {{Freeway|style= display: inline-block; width: 250px;}}
to create text with a certain width.

 Freeway 


Use the |color=old1 parameter to get the old colors design (before June 2015) like this. {{Freeway|color=old1}}
 Freeway 
Use the |color=old2 parameter to get the old colors design (before October 2015) like this. {{Freeway|color=old2}}
 Freeway 


Each of the road type templates can also be styled to mimic a roundabout when used through the {{Roundabout}} template. Use {{Roundabout|Freeway}} to create

 —— Freeway ——  


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.
Please add categories to the /doc subpage.
Subpages of this template.