« Modèle:Primary Street Voir l’historique

(added new color)
 
m (updating color)
Ligne 1 : Ligne 1 :
<includeonly>{{Road
<includeonly>{{Road
| style = color: {{#if:{{{color|}}}|white|black}}; background-color: {{#switch:{{{color|}}}
| style = color: {{#switch:{{{color|}}}
| old
| old1 = white
| old2
| black}}; background-color: {{#switch:{{{color|}}}
| old
| old
| old1 = #CBA12E;
| old1 = #CBA12E;
| old2 = #FDFBA8; border-color: black; border-width: 2px;
| old2 = #FDFBA8; border-color: black; border-width: 2px;
| #F0EA58; border-color: black; border-width: 2px;}} {{{style|}}}|{{{1|Primary Street}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude>
| #F0EA58; border-color: black; border-width: 2px;}} {{{style|}}}|{{{1|Primary Street}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude>

Version du 8 octobre 2015 à 23:16

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

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.