Template:Road/doc View history

mNo edit summary
m (Added see also)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{doc subpage}}
{{doc subpage}}


Use <code><nowiki>{{Road | Color=white | BgColor=#387FB8 | Freeway}}</nowiki></code> to create {{Road | Color=white | BgColor=#387FB8 | Freeway}} in line.
This template is used to create a small piece of road with some text in it. These pieces can be placed in-line with other text, in tables, or other locations.


[[Category:Road Type Templates]]
This is a piece of text with a {{Road|road label}} in line with the text.
This is also the base function of other similar functions that can be found in the See also section below.
 
== Usage ==
 
Basic function:
<pre>{{Road|your desired text}}</pre>
 
With optional parameters:
<pre>{{Road
  | style = <your additional css style codes>
  | <your desired text>
}}</pre>
 
== Style ==
 
The default style is the following:
{{Road/style}}
 
== Examples ==
 
{{Road|example text}}
 
{{Road|style = color: white;background-color: #387FB8;|custom style}}
 
Use <code><nowiki>{{Road |text}}</nowiki></code> to create {{Road |text}} in line.
 
Use <code><nowiki>{{Road | style = color: white; background-color: #387FB8; | custom style }}</nowiki></code> to add your own {{Road | style = color: white; background-color: #387FB8; | custom style }}.
 
== See also ==
 
{{Road type templates}}
<includeonly>[[Category:Road Type Templates]]</includeonly>

Latest revision as of 21:59, 5 June 2017

This is a documentation subpage for Template:Road.
It contains usage information, categories and other content that is not part of the original template page.

This template is used to create a small piece of road with some text in it. These pieces can be placed in-line with other text, in tables, or other locations.

This is a piece of text with a  road label  in line with the text. This is also the base function of other similar functions that can be found in the See also section below.

Usage

Basic function:

{{Road|your desired text}}

With optional parameters:

{{Road
  | style = <your additional css style codes>
  | <your desired text>
}}

Style

The default style is the following:

color: black;
background-color: #E6E6E6;
border:1px solid #D8D8D8;
padding-left: 10px;
padding-right: 10px;
border-radius: 100px;
white-space: nowrap;

Examples

 example text 

 custom style 

Use {{Road |text}} to create  text  in line.

Use {{Road | style = color: white; background-color: #387FB8; | custom style }} to add your own   custom style  .

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 ——