Jump to content

Template:CTS line/doc

From Wikipedia, the free encyclopedia

Use

[edit]

This template takes an abbreviated form of a line or route number of the Compagnie des Transports Strasbourgeois (Strasbourg Transport Company) and produces a graphic icon that is hyperlinked to the corresponding page describing the line or route.

The text and background colours, and the name of the article, are defined by sub-pages of this template Template:CTS line/colour (background colour), Template:CTS line/Text (foreground colour) and Template:CTS line/name (article name).

Syntax

[edit]
  • {{CTS line|line|sub-line|N}}

Parameters

[edit]
  1. Line – The line number e.g. "67" (for a bus route) or "A" (for a tram route) (compulsory)
  2. sub-line – The sub-line number e.g. "a", "b" (optional)

Examples

[edit]
  • {{CTS line|A}}

2

  • {{CTS line|15|a}}

15a

See also

[edit]

Template:CTS line 2010 A slightly different derived version that produces a more intricate graphic.