Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.
Content deleted Content added
Add inverted
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
{{Badge|{{{1}}}|bg={{{bg|}}}|class=template-transit__text|inverted={{{inverted|}}}}}<noinclude>{{/doc}}</noinclude>
{{#invoke:Transit|fromTemplate}}<noinclude>{{/doc}}</noinclude>

Revision as of 23:01, 17 October 2024

No text specified.

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 Commerce Line

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