Diferencia entre revisiones de «Plantilla:Road/doc Ver historial

(fixed double redirect)
(Página creada con «{{doc subpage}} 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...»)
 
Línea 1: Línea 1:
#REDIRECT [[Creating and editing road segments#Creating_a_new_road]]
{{doc subpage}}
 
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 also the basefunction of other similar functions that can be found on [[:Category:Road Type Templates|the following page]].
 
== 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 }}.
<includeonly>[[Category:Road Type Templates]]</includeonly>

Revisión actual - 00:13 3 mar 2018

This is a documentation subpage for Plantilla:Road.
It contains usage information, categories and other content that is not part of the original plantilla 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  .