Template:Road/doc View history

mNo edit summary
mNo edit summary
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, ...
This is a piece of text with a {{Road|road label}} in line with the text.
This is also the basefunction of other similar functions that can be found on [[Category:Road Type Templates|the following page]].
== Usage ==
Basic function:
{{Road|your piece of text}}
With optional parameters:
{{Road
  | style = <your additional css style codes>
  | <your piece of text>
}}
The default style is the following:
<pre>{{Road/style}}</pre>
== Examples ==
{{TemplateExample|Road|tekst}}
{{te|Road|style|color: white; background-color: red;|tekst}}


Use <code><nowiki>{{Road |tekst}}</nowiki></code> to create {{Road |tekst}} in line.
Use <code><nowiki>{{Road |tekst}}</nowiki></code> to create {{Road |tekst}} in line.

Revision as of 01:08, 23 November 2013

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 creates 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.

Usage

Basic function:

 your piece of text 

With optional parameters:

<span style=" color: black;
background-color: #E6E6E6;
border:1px solid #D8D8D8;
padding-left: 10px;
padding-right: 10px;
border-radius: 100px;
white-space: nowrap;<your additional css style codes>">  <your piece of text>
 

The default style is the following:

{{Road/style}}

Examples

Template:TemplateExample

Template:Te

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

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