แม่แบบ:Rail template doc
This template creates a wikitable row for documenting line and type parameters for an Adjacent stations data module. It is similar to {{Color template doc}}.
การใช้งาน[แก้]
Note: if the system icon is Non-free content and can only be used on articles with fair use, add |hideicon=true
to suppress showing the icon in the template documentation.
Lines[แก้]
Standard example with no aliases:
{{Rail template doc}}
{{Rail template doc|Washington Metro|Red}}
{{Rail template doc|Washington Metro|Blue}}
{{Rail template doc|Washington Metro|Orange}}
{{Rail template doc|Washington Metro|Yellow}}
{{Rail template doc|Washington Metro|Green}}
{{Rail template doc|Washington Metro|Silver}}
{{Rail template doc||end}}
Gives:
สาย | Keys | สี | รหัสสี | ตรา |
---|---|---|---|---|
สายสีแดง | Red |
FA2C2D |
| |
สายสีน้ำเงิน | Blue |
0079C5 |
| |
สายสีส้ม | Orange |
FF9127 |
| |
สายสีเหลือง | Yellow |
FFCE36 |
| |
สายสีเขียว | Green |
13AE4E |
| |
สายสีเงิน | Silver |
9BA6A3 |
|
Example with an alias:
{{Rail template doc}}
{{Rail template doc|Amtrak|Amtrak Cascades|Cascades}}
{{Rail template doc||end}}
สาย | Keys | สี | รหัสสี | ตรา |
---|---|---|---|---|
Amtrak Cascades | Amtrak Cascades or Cascades |
223832 |
|
Up to 16 aliases can be shown for each row. If there are more than three aliases, some of them are initially hidden in a collapsible container.
Types[แก้]
Example with types defined:
{{Rail template doc||type}}
{{Rail template doc|MBTA|Green|type=A}}
{{Rail template doc|MBTA|Green|type=B}}
{{Rail template doc|MBTA|Green|type=C}}
{{Rail template doc|MBTA|Green|type=D}}
{{Rail template doc|MBTA|Green|type=E}}
{{Rail template doc||end}}
สาย | Type | Type keys | สี | รหัสสี | ตรา |
---|---|---|---|---|---|
สายสีเขียว | สายสีเขียว – สายย่อยเอ | A |
00843D |
| |
สายสีเขียว | สายสีเขียว – สายย่อยบี | B |
00843D |
| |
สายสีเขียว | สายสีเขียว – สายย่อยซี | C |
00843D |
| |
สายสีเขียว | สายสีเขียว – สายย่อยดี | D |
00843D |
| |
สายสีเขียว | สายสีเขียว – สายย่อยอี | E |
00843D |
|
ดูเพิ่ม[แก้]
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Rail template doc/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |