Difference between revisions of "Template:LIRR color/doc"
Jump to navigation
Jump to search
imported>Train2104 (ob) |
imported>Vanisaac |
||
| (12 intermediate revisions by 6 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
| − | This is an auxiliary template to standarize colors used in [[Long Island Rail Road]] articles and templates. On blank or invalid input, the template | + | This is an auxiliary template to standarize colors used in [[Long Island Rail Road]] articles and templates. On blank or invalid input, the template defaults to gray. |
| − | Usage | + | === Usage === |
| + | In order to call a line's color, the code <code> #{{LIRR color|<i>name</i>}}</code> is used (where ''name'' is replaced by the actual route name or abbreviation). Note that this template is not case sensitive: i.e. <code><nowiki>{{LIRR color|City}}</nowiki></code> produces the same result as <code><nowiki>{{LIRR color|city}}</nowiki></code>. (Note that the # symbol is not part of the template.) | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| − | | | + | ! Argument !!colspan=3| Color !! Line |
| − | | | + | {{Color template doc|City|City Atlantic|City Grand Central|City Main|City Montauk}} |
| [[City Terminal Zone]] | | [[City Terminal Zone]] | ||
| − | + | {{Color template doc|Port Washington|Main Port Washington}} | |
| − | |||
| − | |||
| [[Port Washington Branch]] | | [[Port Washington Branch]] | ||
| − | + | {{Color template doc|Belmont Park|Main Belmont Park}} | |
| − | |||
| − | |||
| [[Belmont Park (LIRR station)|Belmont Park]] | | [[Belmont Park (LIRR station)|Belmont Park]] | ||
| − | + | {{Color template doc|Hempstead|Main Hempstead}} | |
| − | |||
| − | |||
| [[Hempstead Branch]] | | [[Hempstead Branch]] | ||
| − | + | {{Color template doc|Port Jefferson|Main Port Jefferson|Main Port Jefferson Oyster Bay|Main Oyster Bay}} | |
| − | |||
| − | |||
| [[Port Jefferson Branch]] | | [[Port Jefferson Branch]] | ||
| − | + | {{Color template doc|Oyster Bay}} | |
| − | |||
| − | |||
| [[Oyster Bay Branch]] | | [[Oyster Bay Branch]] | ||
| − | + | {{Color template doc|Ronkonkoma|Main Ronkonkoma|Greenport}} | |
| − | |||
| − | | | ||
| [[Ronkonkoma Branch]] | | [[Ronkonkoma Branch]] | ||
| − | + | {{Color template doc|Babylon|Montauk Babylon|Montauk at Babylon}} | |
| − | |||
| − | |||
| [[Babylon Branch]] | | [[Babylon Branch]] | ||
| − | + | {{Color template doc|West Hempstead|Montauk West Hempstead}} | |
| − | |||
| − | |||
| [[West Hempstead Branch]] | | [[West Hempstead Branch]] | ||
| − | + | {{Color template doc|Montauk|Central}} | |
| − | |||
| − | |||
| [[Montauk Branch]] | | [[Montauk Branch]] | ||
| − | + | {{Color template doc|Far Rockaway|Atlantic Far Rockaway|Far Rockaway at Valley Stream}} | |
| − | |||
| − | |||
| [[Far Rockaway Branch]] | | [[Far Rockaway Branch]] | ||
| − | + | {{Color template doc|Long Beach|Atlantic Long Beach}} | |
| − | |||
| − | |||
| [[Long Beach Branch]] | | [[Long Beach Branch]] | ||
| − | + | {{Color template doc|default}} | |
| − | + | | all abandoned branches | |
| − | |||
| − | | | ||
|} | |} | ||
| − | <includeonly> | + | |
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
[[Category:United States rail transport color templates|{{PAGENAME}}]] | [[Category:United States rail transport color templates|{{PAGENAME}}]] | ||
| − | + | [[Category:Long Island Rail Road templates|color]] | |
| − | [[Category:Long Island Rail Road templates| | + | }}</includeonly> |
| − | </includeonly> | ||
Latest revision as of 00:05, 26 April 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:LIRR color. It contains usage information, categories and other content that is not part of the original template page. |
This is an auxiliary template to standarize colors used in Long Island Rail Road articles and templates. On blank or invalid input, the template defaults to gray.
Usage
In order to call a line's color, the code #{{LIRR color|name}} is used (where name is replaced by the actual route name or abbreviation). Note that this template is not case sensitive: i.e. {{LIRR color|City}} produces the same result as {{LIRR color|city}}. (Note that the # symbol is not part of the template.)
| Argument | Color | Line | ||
|---|---|---|---|---|
{{LIRR color|City}} or …|City Atlantic}} or …|City Grand Central}} or …|City Main}} or …|City Montauk}}
|
Sample: | 4d5357
|
City Terminal Zone | |
{{LIRR color|Port Washington}} or …|Main Port Washington}}
|
Sample: | c60c30
|
Port Washington Branch | |
{{LIRR color|Belmont Park}} or …|Main Belmont Park}}
|
Sample: | 60269e
|
Belmont Park | |
{{LIRR color|Hempstead}} or …|Main Hempstead}}
|
Sample: | ce8e00
|
Hempstead Branch | |
{{LIRR color|Port Jefferson}} or …|Main Port Jefferson}} or …|Main Port Jefferson Oyster Bay}} or …|Main Oyster Bay}}
|
Sample: | 006ec7
|
Port Jefferson Branch | |
{{LIRR color|Oyster Bay}}
|
Sample: | 00af3f
|
Oyster Bay Branch | |
{{LIRR color|Ronkonkoma}} or …|Main Ronkonkoma}} or …|Greenport}}
|
Sample: | a626aa
|
Ronkonkoma Branch | |
{{LIRR color|Babylon}} or …|Montauk Babylon}} or …|Montauk at Babylon}}
|
Sample: | 00985f
|
Babylon Branch | |
{{LIRR color|West Hempstead}} or …|Montauk West Hempstead}}
|
Sample: | 00a1de
|
West Hempstead Branch | |
{{LIRR color|Montauk}} or …|Central}}
|
Sample: | 00b2a9
|
Montauk Branch | |
{{LIRR color|Far Rockaway}} or …|Atlantic Far Rockaway}} or …|Far Rockaway at Valley Stream}}
|
Sample: | 6e3219
|
Far Rockaway Branch | |
{{LIRR color|Long Beach}} or …|Atlantic Long Beach}}
|
Sample: | ff6319
|
Long Beach Branch | |
{{LIRR color|default}}
|
Sample: | 999999
|
all abandoned branches | |