Difference between revisions of "Template:Infobox Japan station/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
({{#ifeq:{{SUBPAGENAME}}|sandbox ||)
imported>The Earwig
(redirect)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Infobox station/doc]] {{redr|merge}}
==Purpose==
 
Used to provide basic, easy-to-find info about Japanese train stations in their articles.
 
 
 
==Parameters==
 
{| class="wikitable"
 
|-
 
! Name || Parameter || Required || Definition
 
|-
 
| Name (English) || <code>namerom</code> || Yes || Name of the station.  Do not include "Station". If the station name is not followed by "Station", use <code>entirenamerom</code> and enter the full name.
 
|-
 
| Name (Japanese) || <code>name</code> || Yes || Japanese name of the station entered in kanji.  Do not include 「駅」. If the station name is not followed by 「駅」, use <code>entirename</code> and enter the full name.  Do not use {{tl|nihongo2}} or any other templates; this template will mark the name as Japanese.
 
|-
 
|rowspan=2| Image || <code>image</code> || No || Picture of the station, preferably of the main entrance.  Enter filename only.
 
|-
 
| <code>image2</code> || No || Picture of the station, preferably of the second main entrance.  Enter filename only.
 
|-
 
|rowspan=2| Image width || <code>imagesize</code> || No || Numerical display width for <code>image</code>; default is 300px.
 
|-
 
| <code>imagesize2</code> || No || Numerical display width for <code>image2</code>; default is 300px.
 
|-
 
|rowspan=2| Image caption || <code>caption</code> || No || Text caption will be displayed under the image.
 
|-
 
| <code>caption2</code> || No || Text caption2 will be displayed under the image2.
 
|-
 
| Prefecture || <code>pref</code> || No || Name of the prefecture.  Do not include a [[wikilink]], just the name without "Prefecture".
 
|-
 
| City || <code>city</code> || No || If the station is in a [[Cities of Japan|city]], enter the name here.  Do not include a wikilink, just the name without "city".
 
|-
 
| Ward || <code>ward</code> || No || If the station is in either [[Special wards of Tokyo|Tokyo]] or a [[Cities designated by government ordinance|designated city]], enter the name of the [[Wards of Japan|ward]] here.  Do not include a wikilink, just the name without "-ku" or "ward".
 
|-
 
| Town || <code>town</code> || No || If the station is in a [[Towns of Japan|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 || <code>village</code> || No || If the station is in a [[Villages of Japan|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 || <code>district</code> || 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 || <code>address</code> || 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 || <code>jaloc</code> || 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 || <code>postal</code> || No || Enter the seven-digit postal code including the dash.
 
|-
 
| Year opened || <code>open</code> || 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 || <code>closed</code> || No || Year the station closed. Four digits.
 
|-
 
|rowspan=2| Former station name(s) || <code>oldname</code> || No || If the station was opened with a different name, enter it here.
 
|-
 
| <code>oldname2</code> || No || If the station was renamed twice, enter the second name here.
 
|-
 
| Year of renaming || <code>presentname</code> || No || Year the station was renamed to its present name.  Four digits.
 
|-
 
| Station number(s) || <code>station_number</code> || No || If the station has a station number (typically found in urban areas), enter it here.
 
|-
 
|rowspan=2| Operator(s) || <code>operator</code> || No || List of all companies that operate rail service at the station.  Separate with <code>&lt;br /&gt;</code> if there are more than one.
 
|-
 
| <code>operator2</code> || 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) || <code>line</code> || No || List of all lines running through the station.  Separate with <code>&lt;br /&gt;</code> if there are more than one.
 
|-
 
|rowspan=2| Statistics || <code>stats</code> || No || rowspan=2| Number of passengers per day (<code>stats</code>) or per year (<code>statsy</code>). Source of data should be noted in the <code>statsnote</code> parameter if the article text does not provide one.
 
|-
 
| <code>statsy</code> || No
 
|-
 
| Notes for statistics || <code>statsnote</code> || No || Any comments for statistics, for example source and year. Use <code>&lt;ref&gt;</code> to save space.
 
|-
 
|rowspan=2| Bus stop || <code>bus</code> || No || Information about bus services in front of the station.  Use the following values in this field:
 
*<code>n</code> - Use if there is no bus stop.
 
*<code>y</code> - Use if there is a single bus stop.
 
*<code>t</code> - Use if there is a bus terminal of some sort (''not recommended'')
 
*<code>t1</code> - Use if there is a small bus terminal (2-3 stops/platforms)
 
*<code>t2</code> - Use if there is a medium-sized bus terminal (4-6 stops/platforms)
 
*<code>t3</code> - Use if there is a large bus terminal (7-9 stops/platforms) or terminals
 
*<code>t4</code> - Use if there is a major bus terminal (10 or more stops/platforms) or terminals
 
*<code>disp</code> - Use to display the bus services or routes name.
 
|-
 
| <code>bus_dispname</code> || (Yes when bus="disp") || Text dispname will be displayed as bus services or bus routes name.
 
<!--
 
|-
 
|rowspan=2| Tram/Subway|| <code>tram</code> || No || Information about tram service connections. <br>Specify "y" if there is the tram services.
 
|-
 
| <code>tram_name</code> || (Yes when tram="y") || Text tram_name will be displayed as the connected tram stations name.
 
-->
 
|-
 
|rowspan=2| Airport|| <code>airport</code> || No || Information about airport connection. <br>Specify "y" if the station connected to the airport.
 
|-
 
| <code>airport_name</code> || (Yes when airport="y") || Text airport_name will be displayed as the connected airport name.
 
|-
 
|rowspan=2| Ferry/Boat|| <code>port</code> || No || Information about ferry or boat terminal connection. <br>Specify "y" if the station connected to the ferry or boat terminal.
 
|-
 
| <code>port_name</code> || (Yes when port="y") || Text port_name will be displayed as the connected ferry or boat terminal.
 
|}
 
 
 
== Usage ==
 
{{Parameter names example|address|airport|airport_name|bus|bus_dispname|caption|caption2|city|close|coordinates|district|entirename|entirenamerom|image|image2|imagesize|imagesize2|jaloc|line|name|namerom|oldname|oldname2|open|operator|operator2|port|port_name|postal|pref|presentname|station_number|stats|statsnote|statsy|town|tram|tram_name|village|ward}}
 
<pre style="overflow: auto;">
 
{{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            =
 
}}
 
</pre>
 
 
 
{{Clear}}
 
=== Example ===
 
==== [[Ginza Station]] ====
 
{{{{PAGENAMETDOC}}
 
|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 = {{flatlist|
 
* 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            =
 
}}
 
<pre style="overflow: auto;">
 
{{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 = {{flatlist|
 
* G-09
 
* M-16
 
* H-08
 
}}
 
|operator      = [[Tokyo Metro]]
 
|line          =
 
[[Tokyo Metro Ginza Line|Ginza Line]]&lt;br /&gt;
 
[[Tokyo Metro Hibiya Line|Hibiya Line]]&lt;br /&gt;
 
[[Tokyo Metro Marunouchi Line|Marunouchi Line]]
 
|stats          = 271,767
 
|bus            =
 
}}
 
</pre>
 
 
 
{{Clear}}
 
==== [[Iseshi Station]] ====
 
{{{{PAGENAMETDOC}}
 
|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
 
}}
 
<pre style="overflow: auto;">
 
{{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]]&lt;br /&gt;[[Kintetsu]]
 
|line          =
 
[[Sangū Line]]&lt;br /&gt;
 
[[Kintetsu Yamada Line|Yamada Line]]
 
|stats          = 6,476
 
|bus            = t3
 
}}
 
</pre>
 
 
 
{{Clear}}
 
==== [[Hamasaka Station]] ====
 
{{{{PAGENAMETDOC}}
 
|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
 
}}
 
<pre style="overflow: auto;">
 
{{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
 
}}
 
</pre>
 
 
 
{{Clear}}
 
==== [[Ebisu Station (Tokyo)|Ebisu Station]] ====
 
{{{{PAGENAMETDOC}}
 
|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}}
 
}}
 
{{{{PAGENAMETDOC}}
 
|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=
 
}}
 
{{{{PAGENAMETDOC}}
 
|name=恵比寿
 
|namerom=Ebisu
 
|open=1764
 
|close=
 
|presentname=
 
|line=[[Tokyo Metro Hibiya Line|Hibiya Line]]
 
|operator=[[Tokyo Metro]]
 
|operator2=Tokyo Metro
 
|stats=99,683
 
|bus=
 
}}
 
<pre style="overflow: auto;">
 
{{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=
 
}}
 
</pre>
 
 
 
== Microformat ==
 
{{UF-hcard-geo}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox ||
 
[[Category:Railway station infobox templates|Japan]]
 
}}</includeonly>
 

Revision as of 03:51, 24 December 2015