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
Created page with "{{Badge|{{{1}}}|bg={{{bg|}}}|class=template-transit__text}}<noinclude>{{/doc}}</noinclude>"
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Badge|{{{1}}}|bg={{{bg|}}}|class=template-transit__text}}<noinclude>{{/doc}}</noinclude>
<includeonly>{{#invoke:Transit|fromTemplate}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 23:05, 17 October 2024

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