Difference between revisions of "Template:Ligne STIB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bahnfrend
(fixes)
imported>Useddenim
(translated & expanded)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
 
This template is a mirror of its French Wikipedia equivalent.  It displays an abbreviation of a [[Brussels Intercommunal Transport Company|STIB/MIVB]] line or route as a clickable symbol reproducing the corresponding STIB/MIVB symbol.
 
  
==Syntax==
+
== Usage ==
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|Ligne|Sous-ligne|N}}</nowiki></code>
+
This template is a mirror of its French Wikipedia equivalent. It displays an abbreviation of a [[Brussels Intercommunal Transport Company]] (STIB/MIVB) line or route as a clickable symbol reproducing the corresponding STIB/MIVB symbol.
  
==Parameters==
+
=== Syntax ===
* '''1''' = ''Ligne'' – Line number (compulsory)
+
* <code>&#123;&#123;Ligne STIB|''line''|''branch''|N}}</code>
* '''2''' = ''Sous-ligne'' – Sub-line number (optional)
 
* '''3''' = ''N'' – « N » si ligne [[Noctis (STIB/MIVB)|Noctis]] (optional)
 
  
==Examples==
+
=== Parameters ===
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|2}}</nowiki></code>
+
* '''1''' = ''line'' – line number (required)
{{Ligne STIB|2}}
+
* '''2''' = ''branch'' – branch letter (optional)
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|1|A}}</nowiki></code>
+
* '''3''' = ''N'' – “N” prefix for night routes (optional)
{{Ligne STIB|1|A}}
+
 
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|05||N}}</nowiki></code>
+
== Examples ==
{{Ligne STIB|05||N}}
+
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|2}}</nowiki></code> {{Ligne STIB|2}}
 +
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|1|A}}</nowiki></code> {{Ligne STIB|1|A}}
 +
* <code><nowiki>{{</nowiki>Ligne STIB<nowiki>|05||N}}</nowiki></code> {{Ligne STIB|05||N}}
 +
 
 +
== Auxiliary templates ==
 +
{{T|Ligne STIB}} employs three sub-templates:
 +
* {{T|Ligne STIB/Couleur}} specifies the background colour for each line symbol
 +
* {{T|Ligne STIB/Police}} specifies the text colour for each line symbol
 +
* {{T|Ligne STIB/Lien}} specifies the [[wikilink]] for each line symbol
 +
 
 +
== See also ==
 +
* {{T|STIB Color}}: a simplified version of &#123;&#123;Ligne STIB/Couleur}}
  
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Belgium rail transport templates]]
 
[[Category:Belgium rail transport templates]]
  
 
[[fr:Modèle:Ligne STIB]]
 
[[fr:Modèle:Ligne STIB]]
 
 
</includeonly>
 
</includeonly>

Revision as of 20:13, 16 February 2014

Usage

This template is a mirror of its French Wikipedia equivalent. It displays an abbreviation of a Brussels Intercommunal Transport Company (STIB/MIVB) line or route as a clickable symbol reproducing the corresponding STIB/MIVB symbol.

Syntax

  • {{Ligne STIB|line|branch|N}}

Parameters

  • 1 = line – line number (required)
  • 2 = branch – branch letter (optional)
  • 3 = N – “N” prefix for night routes (optional)

Examples

  • {{Ligne STIB|2}}2
  • {{Ligne STIB|1|A}}1A
  • {{Ligne STIB|05||N}}N05

Auxiliary templates

Template:T employs three sub-templates:

See also

  • Template:T: a simplified version of {{Ligne STIB/Couleur}}