Difference between revisions of "Template:LIRR color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
({{Color template doc}})
Line 46: Line 46:
 
| [[Long Beach Branch]]
 
| [[Long Beach Branch]]
 
| Atlantic Long Beach
 
| Atlantic Long Beach
{{Color template doc|#default}}
+
{{Color template doc|default}}
 
| All abandoned branches
 
| All abandoned branches
 
|  
 
|  

Revision as of 01:44, 7 March 2014

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 Alternate inputs
{{LIRR color|City}} Sample:   4d5357 City Terminal Zone City Atlantic / City Main / City Montauk
{{LIRR color|Port Washington}} Sample:   c60c30 Port Washington Branch Main Port Washington
{{LIRR color|Belmont Park}} Sample:   60269e Belmont Park Main Belmont Park
{{LIRR color|Hempstead}} Sample:   ce8e00 Hempstead Branch Main Hempstead
{{LIRR color|Port Jefferson}} Sample:   006ec7 Port Jefferson Branch Main Oyster Bay / Main Port Jefferson Oyster Bay / Main Port Jefferson
{{LIRR color|Oyster Bay}} Sample:   00af3f Oyster Bay Branch
{{LIRR color|Ronkonkoma}} Sample:   a626aa Ronkonkoma Branch Main Ronkonkoma / Greenport
{{LIRR color|Babylon}} Sample:   00985f Babylon Branch Montauk Babylon / Montauk at Babylon
{{LIRR color|West Hempstead}} Sample:   00a1de West Hempstead Branch Montauk West Hempstead
{{LIRR color|Montauk}} Sample:   00b2a9 Montauk Branch Central
{{LIRR color|Far Rockaway}} Sample:   6e3219 Far Rockaway Branch Atlantic Far Rockaway / Far Rockaway at Valley Stream
{{LIRR color|Long Beach}} Sample:   ff6319 Long Beach Branch Atlantic Long Beach
{{LIRR color|default}} Sample:   999999 All abandoned branches