Difference between revisions of "Template:MTS stations/doc"
(→Usage: correction) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 17: | Line 17: | ||
Most MTS stations follow the link form of terminating with "station", "station (San Diego Trolley)" or "Transit Center". | Most MTS stations follow the link form of terminating with "station", "station (San Diego Trolley)" or "Transit Center". | ||
| + | |||
| + | For the Transit Centers, the optional 2nd argument (any character) will split the text into two lines: | ||
| + | {|class="wikitable" | ||
| + | |- | ||
| + | ! This text | ||
| + | ! Displays | ||
| + | |- | ||
| + | | <code><nowiki>{{mtss|12th & Imperial}}</nowiki></code> || {{mtss|12th & Imperial}} | ||
| + | |- | ||
| + | | <code><nowiki>{{mtss|12th & Imperial|2}}</nowiki></code> || {{MTS stations|12th & Imperial|2}} | ||
| + | |} | ||
Note that this template is not case sensitive: i.e. <code>{{mtss|H Street}}</code> produces the same result as <code>{{mtss|h street}}</code>. | Note that this template is not case sensitive: i.e. <code>{{mtss|H Street}}</code> produces the same result as <code>{{mtss|h street}}</code>. | ||
| Line 30: | Line 41: | ||
| <code><nowiki>[[Lemon Grove Depot]]</nowiki></code> | | <code><nowiki>[[Lemon Grove Depot]]</nowiki></code> | ||
|- | |- | ||
| − | | Santa Fe Depot | + | | Santa Fe ''or'' Santa Fe Depot |
| <code><nowiki>[[Union Station (San Diego, California)|Santa Fe Depot]]</nowiki></code> | | <code><nowiki>[[Union Station (San Diego, California)|Santa Fe Depot]]</nowiki></code> | ||
| + | |- | ||
| + | | SDSU | ||
| + | | <code><nowiki>[[San Diego State University Transit Center]]</nowiki></code> | ||
|- | |- | ||
| UTC | | UTC | ||
| Line 43: | Line 57: | ||
{{Stnlnk/doc/other}} | {{Stnlnk/doc/other}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
[[Category:San Diego Trolley templates]] | [[Category:San Diego Trolley templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:43, 26 April 2020
| This is a documentation subpage for Template:MTS stations. It contains usage information, categories and other content that is not part of the original template page. |
For use with Template:S-line in San Diego Trolley articles.
Usage
This template expands a name to link to the appropriate San Diego Trolley station article, without displaying "(San Diego Trolley station)".
The template can be abbreviated as {{mtss}} (for San Diego Metropolitan Transit System (MTS) stations).
For example, {{MTS stations|station=Gaslamp Quarter}} expands to [[Gaslamp Quarter station|Gaslamp Quarter]].
Discretion should be used on whether to name the place itself or the station that serves it. In railway articles it is generally preferred to use the station unless specifically talking about the place, for example that [[Template:Title case station|Template:Title case]] serves Seaport Village.
Most MTS stations follow the link form of terminating with "station", "station (San Diego Trolley)" or "Transit Center".
For the Transit Centers, the optional 2nd argument (any character) will split the text into two lines:
| This text | Displays | ||
|---|---|---|---|
{{mtss|12th & Imperial}} |
Template:Mtss | ||
{{mtss|12th & Imperial|2}} |
|
Note that this template is not case sensitive: i.e. {{mtss|H Street}} produces the same result as {{mtss|h street}}.
The following abbreviations and exceptions are recognized:
| This text | Expands to | ||
|---|---|---|---|
| Lemon Grove or Lemon Grove Depot | [[Lemon Grove Depot]]
| ||
| Santa Fe or Santa Fe Depot | [[Union Station (San Diego, California)|Santa Fe Depot]]
| ||
| SDSU | [[San Diego State University Transit Center]]
| ||
| UTC | University Towne Center
|
The words "Street", "Avenue", "Drive", "Boulevard", and "Transit Center" may be omitted.
See also