m (/doc link) |
m (add black border to new color) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{Road | <includeonly>{{Road | ||
| style = color: white; background-color: {{#if:{{{color|}}}|#C13040;|#42A1BD;}} {{{style|}}} | | style = color: white; background-color: {{#if:{{{color|}}}|#C13040;|#42A1BD; border-color: black; border-width: small;}} {{{style|}}} | ||
| {{{1|Major Highway}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude> | | {{{1|Major Highway}}}}}</includeonly><noinclude>{{doc|Template:Freeway/doc}}</noinclude> |
Version du 17 juillet 2015 à 16:07
Use {{Major Highway}}
to create Major Highway text.
Use {{Major Highway|custom text}}
to create custom text text.
Use {{Major Highway|style= display: inline-block; width: 250px;}}
to create text with a certain width.
Major Highway
Use the |color=old1
parameter to get the old colors design (before June 2015) like this. {{Major Highway|color=old1}}
Major Highway
Use the |color=old2
parameter to get the old colors design (before October 2015) like this. {{Major Highway|color=old2}}
Major Highway
Each of the road type templates can also be styled to mimic a roundabout when used through the {{Roundabout}} template.
Use {{Roundabout|Major Highway}}
to create
—— Major Highway ——
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. |