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

From blackwiki
Jump to navigation Jump to search
imported>Bahnfrend
(fixes)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
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>
 
{{Ligne STIB|05||N}}
 
  
<includeonly>
+
== Examples ==
 +
* <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 ==
 +
{{tl|Ligne STIB}} employs three sub-templates:
 +
* {{tl|Ligne STIB/Couleur}} specifies the background colour for each line symbol
 +
* {{tl|Ligne STIB/Police}} specifies the text colour for each line symbol
 +
* {{tl|Ligne STIB/Lien}} specifies the [[wikilink]] for each line symbol
 +
 
 +
== See also ==
 +
* {{tl|STIB color}}: a simplified version of &#123;&#123;Ligne STIB/Couleur}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- 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>
 

Latest revision as of 00:00, 26 April 2020

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

{{Ligne STIB}} employs three sub-templates:

See also

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