Purpose แก้

Used to provide basic, easy-to-find info about Japanese train stations in their articles.

Parameters แก้

Name Parameter Required Definition
Name (English) namerom Yes Name of the station. Do not include "Station".
Name (Japanese) name Yes Japanese name of the station entered in kanji. Do not include 「駅」
Image image No Picture of the station, preferably of the main entrance. Enter filename only.
image2 No Picture of the station, preferably of the second main entrance. Enter filename only.
Image width imagesize No Numerical display width for image; default is 250px.
imagesize2 No Numerical display width for image2; default is 250px.
Image caption caption No Text caption will be displayed under the image.
caption2 No Text caption2 will be displayed under the image2.
Prefecture pref No Name of the prefecture. Do not include a wikilink, just the name without "Prefecture".
City city No If the station is in a city, enter the name here. Do not include a wikilink, just the name without "city".
Ward ward No If the station is in either Tokyo or a designated city, enter the name of the ward here. Do not include a wikilink, just the name without "-ku" or "ward".
Town town No If the station is in a town, enter the name here. Do not include a wikilink, just the name without "town". This template supports towns that have the same name as other municipalities within the same prefecture.
Village village No If the station is in a village, enter the name here. Do not include a wikilink, just the name without "village". This template supports villages that have the same name as other municipalities within the same prefecture.
District district No If the station is in a town or a village, enter the name of the Districts of Japan district here. Do not include a wikilink, just the name without "district".
Remaining address address No This is for the rest of the address (except postal code). Do not include prefecture, city, ward, town, village, and/or district in this field.
Entire Japanese address jaloc No Enter the entire address (except postal code) in kanji here. This field should include prefecture, city, ward, town, village, and/or district.
Postal code postal No Enter the seven-digit postal code including the dash.
Year opened open No Year the station first opened for business. Four digits. This is used to place the article in the category "Railway stations opened in XXXX", and only functions if a 4-digit year is used. (Do not insert full date here.)
Year closed closed No Year the station closed. Four digits.
Former station name(s) oldname No If the station was opened with a different name, enter it here.
oldname2 No If the station was renamed twice, enter the second name here.
Year of renaming presentname No Year the station was renamed to its present name. Four digits.
Station number(s) station_number No If the station has a station number (typically found in urban areas), enter it here.
Operator(s) operator No List of all companies that operate rail service at the station. Separate with <br /> if there are more than one.
operator2 No Enter the name of relevant operator if the infobox describes a specific part of a large station with multiple operators; see example of Ebisu Station below.
Lines(s) line No List of all lines running through the station. Separate with <br /> if there are more than one.
Statistics stats No Number of passengers per day (stats) or per year (statsy). Source of data should be noted in the statsnote parameter if the article text does not provide one.
statsy No
Notes for statistics statsnote No Any comments for statistics, for example source and year. Use <ref> to save space.
Bus stop bus No Information about bus services in front of the station. Use the following values in this field:
  • n - Use if there is no bus stop.
  • y - Use if there is a single bus stop.
  • t - Use if there is a bus terminal of some sort (not recommended)
  • t1 - Use if there is a small bus terminal (2-3 stops/platforms)
  • t2 - Use if there is a medium-sized bus terminal (4-6 stops/platforms)
  • t3 - Use if there is a large bus terminal (7-9 stops/platforms) or terminals
  • t4 - Use if there is a major bus terminal (10 or more stops/platforms) or terminals
  • disp - Use to display the bus services or routes name.
bus_dispname (Yes when bus="disp") Text dispname will be displayed as bus services or bus routes name.
Tram/Subway tram No Information about tram service connections.
Specify "y" if there is the tram services.
tram_name (Yes when tram="y") Text tram_name will be displayed as the connected tram stations name.
Airport airport No Information about airport connection.
Specify "y" if the station connected to the airport.
airport_name (Yes when airport="y") Text airport_name will be displayed as the connected airport name.
Ferry/Boat port No Information about ferry or boat terminal connection.
Specify "y" if the station connected to the ferry or boat terminal.
port_name (Yes when port="y") Text port_name will be displayed as the connected ferry or boat terminal.

Usage แก้

{{infobox japan station
|namerom        = 
|name           = 
|image          = 
|imagesize      = 
|caption        = 
|pref           = 
|city           = 
|ward           = 
|town           = 
|village        = 
|district       = 
|address        = 
|jaloc          = 
|postal         = 
|open           = 
|close          = 
|oldname        = 
|presentname    = 
|station_number = 
|operator       = 
|line           = 
|stats          = 
|statsnote      = 
|bus            = 
}}

Example แก้

Note: Some fake data are used in order to avoid improper categorization of this template page.

Ginza Station แก้

{{infobox japan station
|namerom        = Ginza
|name           = 銀座
|image          = GinzaEkiStairSanai2.jpg
|imagesize      = 200px
|caption        = Ginza Intersection entrance
|pref           = Tokyo
|city           = 
|ward           = Chūō
|town           = 
|village        = 
|district       = 
|address        = 
|jaloc          = 
|postal         = 
|open           = 1734
|close          = 
|oldname        = 
|presentname    = 
|station_number = G-09{{•}}M-16{{•}}H-08
|operator       = [[Tokyo Metro]]
|line           =
[[Tokyo Metro Ginza Line|Ginza Line]]<br />
[[Tokyo Metro Hibiya Line|Hibiya Line]]<br />
[[Tokyo Metro Marunouchi Line|Marunouchi Line]]
|stats          = 271,767
|bus            = 
}}
สถานีรถไฟGinza
銀座駅
Ginza intersection entrance
ที่ตั้ง
จังหวัด Tokyo
(สถานีอื่นในTokyo)
เขต Chūō
ประวัติ
เปิดให้บริการ 1734
ข้อมูลบริการ
หมายเลขสถานี G-09 • M-16 • H-08
ผู้ดำเนินงาน Tokyo Metro
เส้นทาง Ginza Line
Hibiya Line
Marunouchi Line
ผู้โดยสาร 271,767 เที่ยวคน/วัน

Iseshi Station แก้

{{infobox japan station
|namerom        = Iseshi
|name           = 伊勢市
|image          =JRC_sangu_line_Ise-shi_station_01.jpg
|imagesize      = 300px
|caption        = Iseshi Station, JR side
|pref           = Mie
|city           = Ise
|ward           = 
|town           = 
|village        = 
|district       = 
|address        = 1-1-57 Fukiage
|jaloc          = 三重県伊勢市吹上1丁目1-57
|postal         = 516-0073
|open           = 1697
|close          = 
|oldname        = Yamada
|presentname    = 1959
|station_number = 
|operator       = [[JR Central]]<br />[[Kintetsu]]
|line           =
[[Sangū Line]]<br />
[[Kintetsu Yamada Line|Yamada Line]]
|stats          = 6,476
|bus            = t3
}}
สถานีรถไฟIseshi
伊勢市駅
Iseshi Station, JR side
ที่ตั้ง
จังหวัด Mie
(สถานีอื่นในMie)
นคร Ise
Neighborhood etc. 1-1-57 Fukiage
รหัสไปรษณีย์ 516-0073
(ในตัวญี่ปุ่น) 三重県伊勢市吹上1丁目1-57
ประวัติ
เปิดให้บริการ 1697
ชื่อเดิม สถานีรถไฟYamada
ใช้ชื่อปัจจุบันตั้งแต่ 1959
ข้อมูลบริการ
ผู้ดำเนินงาน JR Central
Kintetsu
เส้นทาง Sangū Line
Yamada Line
ผู้โดยสาร 6,476 เที่ยวคน/วัน
มีท่ารถโดยสารขนาดใหญ่ที่สถานีรถไฟแห่งนี้

Hamasaka Station แก้

{{infobox japan station
|namerom        = Hamasaka
|name           = 浜坂
|image          = Hamasaka staNoren.JPG
|imagesize      = 
|caption        = Hamasaka Station entrance with ''[[noren]]''
|pref           = Hyōgo
|city           = 
|ward           = 
|town           = Shin'onsen
|village        = 
|district       = Mikata
|address        = 
|jaloc          = 兵庫県美方郡新温泉町浜坂字東岡2330番地1
|postal         = 
|open           = 1711
|close          = 
|oldname        = 
|presentname    = 
|station_number = 
|operator       = [[JR West]]
|line           = [[San'in Main Line]]
|stats          = 527
|bus            = y
}}
สถานีรถไฟHamasaka
浜坂駅
Hamasaka Station entrance with noren
ที่ตั้ง
จังหวัด Hyōgo
(สถานีอื่นในHyōgo)
อำเภอ Mikata
เมือง Shin'onsen
(ในตัวญี่ปุ่น) 兵庫県美方郡新温泉町浜坂字東岡2330番地1
ประวัติ
เปิดให้บริการ 1711
ข้อมูลบริการ
ผู้ดำเนินงาน JR West
เส้นทาง San'in Main Line
ผู้โดยสาร 527 เที่ยวคน/วัน
ไม่มีป้ายรถประจำทางใกล้กับสถานีรถไฟแห่งนี้

Ebisu Station แก้

{{infobox japan station
|image=EbisuStationStatue6464.jpg
|imagesize=180px
|caption=Statue outside Ebisu station.
|name=恵比寿
|namerom=Ebisu
|pref=Tokyo
|district=
|city=
|ward=Shibuya
|coordinates={{coord|35.646643|N|139.710045|E|display=inline,title}}
}}
{{infobox japan station
|name=恵比寿
|namerom=Ebisu
|open=1701
|close=
|presentname=
|line=[[Saikyō Line]]<br>[[Shōnan-Shinjuku Line]]<br>[[Yamanote Line]]
|operator=[[East Japan Railway Company|JR East]]
|operator2=JR East
|stats=137,826
|bus=
}}
{{infobox japan station
|name=恵比寿
|namerom=Ebisu
|open=1764
|close=
|presentname=
|line=[[Tokyo Metro Hibiya Line|Hibiya Line]]
|operator=[[Tokyo Metro]]
|operator2=Tokyo Metro
|stats=99,683
|bus=
}}
สถานีรถไฟEbisu
恵比寿駅
Statue outside Ebisu station.
ที่ตั้ง
จังหวัด Tokyo
(สถานีอื่นในTokyo)
เขต Shibuya
พิกัดภูมิศาสตร์ 35°38′48″N 139°42′36″E / 35.646643°N 139.710045°E / 35.646643; 139.710045
JR East
สถานีรถไฟEbisu
恵比寿駅
ประวัติ
เปิดให้บริการ 1701
ข้อมูลบริการ
ผู้ดำเนินงาน JR East
เส้นทาง Saikyō Line
Shōnan-Shinjuku Line
Yamanote Line
ผู้โดยสาร 137,826 เที่ยวคน/วัน
Tokyo Metro
สถานีรถไฟEbisu
恵比寿駅
ประวัติ
เปิดให้บริการ 1764
ข้อมูลบริการ
ผู้ดำเนินงาน Tokyo Metro
เส้นทาง Hibiya Line
ผู้โดยสาร 99,683 เที่ยวคน/วัน

Microformat แก้

button to indicate the presence of a Geo microformat
button to indicate the presence of a Geo 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.