Difference between revisions of "Template:MTS stations"
imported>IJBall (Won't Courthouse need one of these too, if/when it's finally created?...) |
imported>SounderBruce (adding more valid params) |
||
| Line 9: | Line 9: | ||
| 24th street | | 24th street | ||
| 47th street | | 47th street | ||
| + | | civic center | ||
| + | | convention center | ||
| courthouse = [[{{Title case|{{{station}}}}} station (San Diego Trolley)|{{Title case|{{{station}}}}}]] | | courthouse = [[{{Title case|{{{station}}}}} station (San Diego Trolley)|{{Title case|{{{station}}}}}]] | ||
| euclid avenue | | euclid avenue | ||
| Line 52: | Line 54: | ||
<!--Other stations with "Center" causes unexpected results with {{last word}}--> | <!--Other stations with "Center" causes unexpected results with {{last word}}--> | ||
| − | | alvarado | alvarado medical = [[Alvarado Medical Center station|Alvarado Medical Center]] | + | | alvarado | alvarado medical | alvarado medical center = [[Alvarado Medical Center station|Alvarado Medical Center]] |
| − | | hazard = [[Hazard Center station|Hazard Center]] | + | | hazard | hazard center = [[Hazard Center station|Hazard Center]] |
| − | | mission valley = [[Mission Valley Center station|Mission Valley Center]] | + | | mission valley | mission valley center = [[Mission Valley Center station|Mission Valley Center]] |
| − | | santee | santee town = [[Santee Town Center station|Santee Town Center]] | + | | santee | santee town | santee town center = [[Santee Town Center station|Santee Town Center]] |
| civic | | civic | ||
Revision as of 14:47, 7 July 2018
[[Template:Title case station|{{{station}}}]]
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|Seaport Village]] 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}} |
[[Template:Title case station|{{{station}}}]] |
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
| The above documentation is transcluded from Template:MTS stations/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |