แม่แบบ:Rail color/doc
นี่คือหน้าคู่มือการใช้งานของ แม่แบบ:Rail color ใช้ในการเขียนคำอธิบายแม่แบบหรือมอดูลและใส่หมวดหมู่ ส่วนลิงก์ข้ามภาษาโปรดใช้วิกิสนเทศ |
หน้านี้เป็นส่วนหนึ่งของ |
มอดูล:Adjacent stations |
---|
(คุย | กระบะทราย | หน้าย่อย) |
{{กล่องข้อมูล สถานี}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Station link}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Station icon link}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Rail color}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Line link}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Short line link}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Rail icon}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Rail color box}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Adjacent stations}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
{{Line terminus link}} |
(คุย | กระบะทราย | ชุดทดสอบ) |
แม่แบบนี้ใช้ลูอา |
Template:Rail color returns an RGB hex code value from a subpage of Module:Adjacent stations or from a helper template of {{S-line}}.
Usage
แก้Module:Adjacent stations/system
or Template:system color
must exist for this template to work.
{{Rail color|system}}
{{Rail color|system|line}}
{{Rail color|system|line|branch}}
Variables
แก้- system is the name of the system or an abbreviation.
- line is the line name, if any.
- branch is the name of the branch or service, if any.
Examples
แก้{{Rail color|Amtrak}}
→ 00537E