แม่แบบ:Infobox station
{{{name}}} {{{enname}}} {{{type}}} | |
---|---|
[[ไฟล์:{{{image}}}|{{{image_size}}}]] {{{image_caption}}} | |
ข้อมูลสถานี | |
ที่ตั้ง | {{{address}}} |
พิกัด | {{{coordinates}}} |
ผู้ดำเนินงาน | {{{operator}}} |
เส้นทาง | {{{line}}} |
เชื่อมต่อ | {{{other}}} |
รูปแบบสถานี | {{{structure}}} |
จำนวนชั้น | {{{levels}}} |
ชานชาลา | {{{platform}}} |
รูปแบบชานชาลา | {{{platform_type}}} |
ราง | {{{tracks}}} |
ระบบอาณัติสัญญาณ | {{{signal}}} |
ที่จอดรถ | {{{parking}}} |
ทางจักรยาน | {{{bicycle}}} |
ตรวจสัมภาระ | {{{baggage_check}}} |
ทางออก | {{{exit}}} |
บันไดเลื่อน | {{{escalator}}} |
ลิฟต์ | {{{elevator}}} |
ข้อมูลอื่น | |
เปิดใช้งาน | {{{opened}}} |
ยกเลิกเมื่อ | {{{closed}}} |
สร้างใหม่ | {{{rebuilt}}} |
ระบบไฟฟ้า | {{{electrified}}} |
การเชื่อมต่อ | {{{ADA}}} |
รหัส | {{{code}}} |
ตัวย่อภาษาไทย | {{{abbrth}}} |
ตัวย่อภาษาอังกฤษ | {{{abbren}}} |
เจ้าของ | {{{owned}}} |
พื้นที่ชำระเงิน | {{{zone}}} |
สถานะทำการ | {{{status}}} |
ชื่อเดิม | {{{former}}} |
Melway map | {{{Melway}}} |
เว็บไซต์ | {{{web}}} |
ปริมาณการเดินทาง | |
ผู้โดยสาร | {{{passengers}}} |
จำนวนขบวน | {{{mpassengers}}} |
บริการ | |
{{{services}}} | |
ที่ตั้ง | |
{{{map_locator}}} | |
เส้นทาง | |
{{{route_box}}} | |
แผนที่สายทาง | |
{{{route_map}}} |
Usage[แก้]
Copy and paste the template below:
{{Infobox station | name = | type = | style = | livery = | text_color = | image = | image_size = | image_caption = | address = | coordinates = | line = | other = | structure = | platform = | depth = | levels = | tracks = | signal = | parking = | bicycle = | baggage_check = | opened = | closed = | rebuilt = | electrified = | ADA = | code = | abbrth = | abbren = | owned = | zone = | smartcardname = | smartcardstatus = | former = | passengers = | pass_year = | pass_percent = | pass_system = | mpassengers = | services = | map_locator = | route_box = }}
Parameter descriptions[แก้]
Station Statistics
- name – Station name
- type – Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
- ex: SEPTA rapid transit and tram station
- ex: Metrolink commuter rail station
- ex: San Diego Transit light rail station
- ex: RTA rapid transit station
- style - Refers to an external 'style' template. Leave blank if you do not have this.
- image – Image of the station
- image_size – Size in pixels of the image of the station
- image_caption – Caption to be placed under the image of the station
- address – Street address of the station
- coordinates - Geographical coordinates of the station using {{coord}}
- line – List of services that serve the station
- other – Connecting services that serve the station such as bus, etc
- structure – Type of station structure (underground, at-grade, or elevated)
- platform – Information on the type of platform(s) at the station
- depth - The depth of the primary platform below ground level
- levels – Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)
- tracks – number of tracks at the station
- parking – Information on station's parking facilities
- bicycle – Information on station's bicycle facilities
- baggage_check – Whether bags can be checked.
Other Information
- opened – Date station originally opened
- closed – Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)
- rebuilt – Date station last received a rebuild
- electrified - Date station was electrified, if not previously at date of opening
- ADA – If any text is placed here a universal symbol for accessible will appear
- code – Agency station code (used on tickets/reservations, etc.)
- abbrth - รหัสสถานีภาษาไทยของการรถไฟแห่งประเทศไทย
- abbren - รหัสสถานีภาษาอังกฤษของการรถไฟแห่งประเทศไทย
- owned – Station owner name
- zone – Fare zone station is located in
- smartcardname - name of any smartcard(s) that are or will be available at the station
- smartcardstatus - "Yes" if smart card is available, or a date (or other information) if available in the future (see Union (TTC) for an example)
- former – Previous station name(s)
Traffic
- passengers – Number of passengers using the station
- pass_year – Year passenger information was gathered
- pass_percent – Percentage increase or decrease in usage
- pass_system - System the passengers are using
- mpassengers - Allows display of multiple passenger totals using
Services
Location
- map_locator - Allows inclusion of an image of the station location on a map
Coordinates[แก้]
It's usually not necessary to use the coordinates=
parameter.
- The latitude and longitude of the station may be specified:
- in decimal degrees, using
latitude=
andlongitude=
OR - in degrees/minutes/seconds, using
latd=
,latm=
,lats=
,latNS=
,longd=
,longm=
,longs=
, andlongEW=
.
- in decimal degrees, using
- To display coordinates at the top of the page, use
coordinates_display=yes
. Otherwise coordinates will appear in the infobox only. - The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the
country=
parameter.- To override the automatic value, use the
iso_region=
parameter.
- To override the automatic value, use the
Microformat[แก้]
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes hCard uses HTML classes including:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
Example[แก้]
General[แก้]
สถานีรถไฟหนองคาย (ใหม่) | |
---|---|
![]() | |
ข้อมูลสถานี | |
ที่ตั้ง | อำเภอเมือง จังหวัดหนองคาย |
เส้นทาง | ทางรถไฟสายตะวันออกเฉียงเหนือ |
รูปแบบสถานี | ระดับดิน |
ชานชาลา | 4 |
ระบบอาณัติสัญญาณ | ไฟสี |
ข้อมูลอื่น | |
รหัส | 2208 |
ตัวย่อภาษาไทย | นค. |
เจ้าของ | รฟท. |
{{Infobox station | name = สถานีรถไฟหนองคาย (ใหม่) | type = | style = | image = สถานีรถไฟหนองคาย.jpg | image_size = | image_caption = | address = อำเภอเมือง [[จังหวัดหนองคาย]] | coordinates = | line = [[ทางรถไฟสายตะวันออกเฉียงเหนือ]] | other = | structure = ระดับดิน | platform = 4 | depth = | levels = | tracks = | signal =ไฟสี | parking = | bicycle = | baggage_check = | opened = | closed = | rebuilt = | electrified = | ADA = | code = 2208 | abbrth = นค. | abbren = | owned = [[รฟท.]] | zone = | smartcardname = | smartcardstatus = | former = | passengers = | pass_year = | pass_percent = | pass_system = | mpassengers = | services = | map_locator = }}
With English name and route box[แก้]
สามเสน Sam Sen | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() ชานชาลาเที่ยวขึ้น (ด้านขวา) สถานีรถไฟสามเสน | |||||||||||||
ข้อมูลสถานี | |||||||||||||
ที่ตั้ง | ถนนเทอดดำริ แขวงสามเสนใน เขตพญาไท กรุงเทพมหานคร | ||||||||||||
เส้นทาง | รถไฟทางไกลและรถไฟฟ้า ของ รฟท.
| ||||||||||||
ชานชาลา | ระดับดิน 2 ชานชาลา แบ่งเป็น • เที่ยวขึ้นชานชาลาที่ 1 • เที่ยวล่องชานชาลาที่ 2 | ||||||||||||
ราง | ราง 100 ปอนด์ขนาด 1 เมตร จำนวน 2 ทาง | ||||||||||||
ข้อมูลอื่น | |||||||||||||
รหัส | 1004 | ||||||||||||
ตัวย่อภาษาไทย | สส. | ||||||||||||
เจ้าของ | การรถไฟแห่งประเทศไทย | ||||||||||||
เส้นทาง | |||||||||||||
|
{{Infobox station | name = สามเสน | enname = Sam Sen | type = | route_box = {{เส้นทางรถไฟ|รถไฟฟ้าชานเมืองสายสีแดงเข้ม|{{สถานีรายทาง |prev_th= {{สรฟ|ราชวิถี}} |prev_en = Ratchawithi |next_th = {{สรฟ|ชุมทางบางซื่อ}} |next_en = Bang Sue Junction }}}} {{เส้นทางรถไฟ|รถไฟทางไกล|{{สถานีรายทาง |prev_th= [[สถานีรถไฟจิตรลดา|หอประแจจิตรลดา]] |prev_en = Chit lada |next_th = {{ปรฟ|ประดิพัทธ์}} |next_en = Pradiphat }}}} {{เส้นทางรถไฟ|รถไฟฟ้าเชื่อมท่าอากาศยานสุวรรณภูมิ<br>(ไม่จอดรับผู้โดยสารที่สถานีนี้)|{{สถานีรายทาง |prev_th= {{สรฟ|ราชวิถี}} |prev_en = Ratchawithi |next_th = [[สถานีกลางบางซื่อ]] |next_en = Bang Sue Grand Station }}}} | image = samsen_pantip.jpg | image_size = 260 | image_caption = ชานชาลาเที่ยวขึ้น (ด้านขวา) สถานีรถไฟสามเสน | address = [[ถนนเทอดดำริ]] [[แขวงสามเสนใน]]<br>[[เขตพญาไท]] [[กรุงเทพมหานคร]] | coordinates = | line = รถไฟทางไกลและรถไฟฟ้า ของ รฟท.<br /> * [[รถไฟฟ้าชานเมืองสายสีแดงเข้ม]] * รถไฟทางไกลสายเหนือ * รถไฟทางไกลสายตะวันออกเฉียงเหนือ * รถไฟทางไกลสายใต้ * รถไฟทางไกลสายตะวันตก | other = | structure = | platform = ระดับดิน 2 ชานชาลา แบ่งเป็น<br />• เที่ยวขึ้นชานชาลาที่ 1<br />• เที่ยวล่องชานชาลาที่ 2 | depth = | levels = | tracks = ราง 100 ปอนด์ขนาด 1 เมตร<br>จำนวน 2 ทาง | parking = | bicycle = | baggage_check = | opened = | closed = | rebuilt = | electrified = | ADA = | code = 1004 | abbrth = สส. | abbren = | owned = [[การรถไฟแห่งประเทศไทย]] | zone = | smartcardname = | smartcardstatus = | former = | passengers = | pass_year = | pass_percent = | pass_system = | mpassengers = | services = | map_locator = }}
With map and route box[แก้]
สถานีรถไฟกรุงเทพ | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||
ข้อมูลสถานี | |||||||||||||||||
ที่ตั้ง | แขวงรองเมือง เขตปทุมวัน กรุงเทพมหานคร | ||||||||||||||||
พิกัด | 13°44′24″N 100°31′05″E / 13.73999°N 100.518143°E | ||||||||||||||||
เชื่อมต่อ | รถไฟฟ้ามหานคร สายเฉลิมรัชมงคล รถไฟฟ้าชานเมืองสายสีแดงเข้ม | ||||||||||||||||
ชานชาลา | 12 ชานชาลาราง (ตัวสถานี) 8 ชานชาลาราง (โรงรถดีเซลราง) | ||||||||||||||||
ระบบอาณัติสัญญาณ | ไฟสีสองท่า | ||||||||||||||||
ข้อมูลอื่น | |||||||||||||||||
เปิดใช้งาน | 25 มิถุนายน พ.ศ. 2459 | ||||||||||||||||
รหัส | 1001 | ||||||||||||||||
เจ้าของ | ![]() | ||||||||||||||||
ปริมาณการเดินทาง | |||||||||||||||||
ผู้โดยสาร | 10,000+ คน | ||||||||||||||||
ที่ตั้ง | |||||||||||||||||
![]() | |||||||||||||||||
เส้นทาง | |||||||||||||||||
|
{{Infobox station | name = สถานีรถไฟกรุงเทพ | type = | style = | route_box = <br/> {{เส้นทางรถไฟ|{{WL|ทางรถไฟสายเหนือ|รถไฟทางไกลสายเหนือ}} - {{WL|ทางรถไฟสายตะวันออกเฉียงเหนือ|รถไฟทางไกลอีสาน}} - {{WL|ทางรถไฟสายใต้|รถไฟทางไกลสายใต้}}|{{สถานีรายทาง | prev_th = - | prev_en = - | next_th = {{ปรฟ|ยมราช}} | next_en = Yommarat }} }} {{เส้นทางรถไฟ|{{WL|ทางรถไฟสายตะวันออก|รถไฟทางไกลสายตะวันออก}}|{{สถานีรายทาง | prev_th = - | prev_en = - | next_th = {{ปรฟ|อุรุพงศ์}} | next_en = Urupong }} }} {{เส้นทางรถไฟ|รถไฟฟ้ามหานคร สายเฉลิมรัชมงคล|{{สถานีรายทาง | prev_th = [[สถานีวัดมังกรกมลาวาส|วัดมังกรกมลาวาส]] | prev_en = Wat Mangkorn Komlawat | next_th = [[สถานีสามย่าน|สามย่าน]] | next_en = Sam Yan }} }} {{เส้นทางรถไฟ|รถไฟฟ้าชานเมืองสายสีแดงเข้ม|{{สถานีรายทาง | prev_th = [[สถานีรถไฟตลาดน้อย|ตลาดน้อย]] | prev_en = Ta Lad Noi | next_th = [[สถานีรถไฟมหานาค|มหานาค]] | next_en = Maha Nak }} }} | image = Bkk-Hualamphong-newlypainted-0802-1.jpg | image_size = 280px | image_caption = | address = แขวงรองเมือง [[เขตปทุมวัน]] [[กรุงเทพมหานคร]] | coordinates = {{coord|13.73999|N|100.518143|E}} | line = | other = [[รถไฟฟ้ามหานคร สายเฉลิมรัชมงคล]]<br/>[[รถไฟฟ้าชานเมืองสายสีแดงเข้ม]] | structure = | platform = 12 ชานชาลาราง (ตัวสถานี) <br> 8 ชานชาลาราง (โรงรถดีเซลราง) | depth = | levels = | tracks = | signal = ไฟสีสองท่า | parking = | bicycle = | baggage_check = | opened = [[25 มิถุนายน]] [[พ.ศ. 2459]] | closed = | rebuilt = | electrified = | ADA = | code = 1001 | abbrth = | abbren = | owned = {{flagicon|Thailand}} [[การรถไฟแห่งประเทศไทย]] | zone = | smartcardname = | smartcardstatus = | former = | passengers = 10,000+ คน | pass_year = [[พ.ศ. 2544]] | pass_percent = | pass_system = | mpassengers = | services = | map_locator = [[ไฟล์:Map Pathum Wan.png|250px]] }}
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Infobox station/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |