Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.
Revision as of 21:44, 9 May 2022 by Alistair3149 (talk | contribs) (Created page with "{{Badge|{{{1}}}|bg={{{bg|}}}|class=template-transit__text}}<noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Transit/doc. Changes can be proposed in the talk page.

{{Transit}} is used to wrap transit lines. The colors are defined in the data.json.

Usage

{{Transit|Lorville|Commerce Line}} gives Lorville

TemplateData

Style transit line into a badge

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Location1

Location of the transit line

Example
Lorville
Stringrequired
Transit line2

Name of the transit line

Example
Central Line
Stringrequired

See also

  • {{Badge}} - generic usage