The new Waze Wiki, aka Wazeopedia, is now live at Wazeopedia.waze.com! While this legacy wiki will remain accessible for the time being, it is no longer updated by the community. For the most up-to-date guidance, please visit your local Wazeopedia.

Please do not make any more updates to these legacy wiki pages, all future updates should be made in your country's local Wazeopedia.

Clock over a larger globe

Difference between revisions of "Template:Road/doc"

From waze
Jump to: navigation, search
m (Examples)
(pointless use of template)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{doc subpage}}
 
{{doc subpage}}
  
Template is used to creates a small piece of road with some text in it. These pieces can be placed in-line with the text or in tables, ...
+
Template is used to create a small piece of road with some text in it. These pieces can be placed in-line with the text or in tables, ...
  
 
This is a piece of text with a {{Road|road label}} in line with the text.
 
This is a piece of text with a {{Road|road label}} in line with the text.
Line 9: Line 9:
  
 
Basic function:
 
Basic function:
<pre>{{Road|your piece of text}}</pre>
+
<pre>{{Road|your desired text}}</pre>
  
 
With optional parameters:
 
With optional parameters:
<pre>{{tl|Road
+
<pre>{{Road
 
   | style = <your additional css style codes>
 
   | style = <your additional css style codes>
   | <your piece of text>
+
   | <your desired text>
 
}}</pre>
 
}}</pre>
  
Line 24: Line 24:
 
== Examples ==
 
== Examples ==
  
{{InlineTemplateExample|Road||example text}}
+
{{Road|example text}}
{{ite|Road|style|color: white;
+
 
background-color: #387FB8;||custom style}}
+
{{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 |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 }}.
 
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 }}.
 
 
<includeonly>[[Category:Road Type Templates]]</includeonly>
 
<includeonly>[[Category:Road Type Templates]]</includeonly>

Latest revision as of 14:24, 31 March 2015

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.

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

This is a piece of text with a  road label  in line with the text. This is also the basefunction of other similar functions that can be found on the following page.

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  .