قالب:Rail color box/doc
هذه صفحة توثيق فرعية لـ قالب:Rail color box. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
This template is intended to be used within station and line infoboxes to show a small color box and a link to the associated line or service name.
Parameter | Description |
---|---|
system | An identifier to specify which system's color and line article name convention should be used |
line | The line or service to be linked |
note | An optional note with more information |
inline | An optional parameter to create a colorbox and link suitable for use inline with other text. Has the following valid arguments: yes, small, and box |
The following examples demonstrate the template's usage:
{{rail color box| system=Amtrak| line=Southwest Chief}}
{{rail color box| system=SEPTA| line=Wilmington/Newark| note=(rush hour service only)}}
Wilmington/Newark Line (rush hour service only)
{{rail color box| system=RTD| line=C| inline=yes}}
The inline parameter allows C Line to appear inline with text.
For systems where multiple colors are used to designate different lines, the appropriate color will be selected based on the combination of the system and line parameters.