Difference between revisions of "Template:Infobox Japan station"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Closed)
imported>The Earwig
(finalizing merge)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox station]] {{redr|from merge}}
| bodyclass      = vcard
 
 
 
| above          = {{Br separated entries
 
| 1 = <span class="fn org">{{#if:{{{entirenamerom|}}}|{{{entirenamerom}}}|{{{namerom}}} Station}}</span>
 
| 2 = <span class="nickname" style="font-weight: normal;">{{Nihongo2|{{#if:{{{entirename|}}}|{{{entirename}}}|{{{name}}}駅}}}}</span>
 
}}
 
 
 
| subheader      = {{{operator2|}}}
 
| subheaderstyle = background: black; color: white;
 
 
 
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=300px}}
 
| caption        = {{{caption|}}}
 
| image2        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{imagesize2|}}}|sizedefault=300px}}
 
| caption2      = {{{caption2|}}}
 
 
 
| headerstyle    = background-color: #efefef;
 
 
 
| header1        = {{#if:{{{pref|}}}{{{city|}}}{{{district|}}}{{{town|}}}{{{village|}}}{{{ward|}}}{{{jaloc|}}}{{{postal|}}}|Location}}
 
|  label2        = Prefecture
 
|  data2        = {{#if:{{{pref|}}}|[[{{#ifeq:{{{pref}}}|Tokyo|Tokyo|{{{pref}}} Prefecture{{!}}{{{pref}}}}}]]{{#if:{{{operator2|}}}||<br /><small>([[:Category:Railway stations in {{#ifeq:{{{pref}}}|Tokyo|Tokyo|{{{pref}}} Prefecture}}|See other stations in {{{pref}}}]])</small>}}{{Main other|[[{{#ifeq:{{{pref}}}|Tokyo|Category:Railway stations in Tokyo|Category:Railway stations in {{{pref}}} Prefecture}}]]}}}}
 
|  label3        = City
 
|  data3        = {{#if:{{{city|}}}|[[{{{city}}}, {{{pref}}}|{{{city}}}]]}}
 
|  label4        = District
 
|  data4        = {{#if:{{{district|}}}|[[{{{district}}} District, {{{pref}}}|{{{district}}}]]}}
 
|  label5        = Town
 
|  data5        = {{#if:{{{town|}}}|[[{{#ifexist:{{{town}}}, {{{pref}}} (town)|{{{town}}}, {{{pref}}} (town)|{{{town}}}, {{{pref}}}}}|{{{town}}}]]}}
 
|  label6        = Village
 
|  data6        = {{#if:{{{village|}}}|[[{{#ifexist:{{{village}}}, {{{pref}}} (village)|{{{village}}}, {{{pref}}} (village)|{{{village}}}, {{{pref}}}}}|{{{village}}}]]}}
 
|  label7        = Ward
 
|  data7        = {{#if:{{{ward|}}}|[[{{#ifeq:{{{pref}}}|Tokyo|{{{ward}}}, Tokyo|{{{ward}}}-ku, {{{city}}}}}|{{{ward}}}]]}}
 
|  label8        = Neighborhood
 
|  data8        = {{{address|}}}
 
|  label9        = Postal code
 
|  data9        = {{{postal|}}}
 
|  label10      = Address&nbsp;in Japanese
 
|  data10      = {{{jaloc|}}}
 
|  label11      = Coordinates
 
|  data11      = {{{coordinates|}}}
 
 
 
| header12      = {{#if:{{{open|}}}{{{oldname|}}}{{{presentname|}}}{{{close|}}}|History}}
 
|  label13      = Opened
 
|  data13      = {{#if:{{{open|}}}|{{{open}}}{{#ifexist:Category:Railway stations opened in {{{open}}}|{{Main other|[[Category:Railway stations opened in {{{open}}}]]}}}}}}
 
|  label14      = Former name{{#if:{{Both|{{{oldname|}}}|{{{oldname2|}}}}}|s}}
 
|  data14      = {{Br separated entries|1={{#if:{{{oldname|}}}|{{{oldname}}} Station}}|2={{#if:{{{oldname2|}}}|{{{oldname2}}} Station}}}}
 
|  label15      = Present name since
 
|  data15      = {{{presentname|}}}
 
|  label16      = Year closed
 
|  data16      = {{{close|}}}
 
 
 
| header17      = {{#if:{{{station_number|}}}{{{operator|}}}{{{line|}}}{{{stats|}}}{{{bus|}}}|Rail services}}
 
|  label18      = Station number(s)
 
|  data18      = {{{station_number|}}}
 
|  label19      = Operator(s)
 
|  data19      = {{{operator|}}}
 
|  label20      = Line(s)
 
|  data20      = {{{line|}}}
 
|  label21      = Statistics
 
|  data21      = {{#if:{{{stats|}}}|{{{stats}}} passengers/day {{#if:{{{statsnote|}}}|{{{statsnote}}}}}}}
 
|  label22      = Statistics
 
|  data22      = {{#if:{{{statsy|}}}|{{{statsy}}} passengers/year {{#if:{{{statsnote|}}}|{{{statsnote}}}}}}}
 
 
 
|  data23      = {{Br separated entries
 
| 1 = {{#if:{{{bus|}}}|{{#switch:{{{bus|}}}|y=[[File:Aiga bus inv.svg|16px|Bus|link=]] There is a bus stop near this station|t1=[[File:Aiga bus inv.svg|16px|Bus|link=]] Small bus terminal at this station|t2=[[File:Aiga bus inv.svg|16px|Bus|link=]] Medium bus terminal at this station|t3=[[File:Aiga bus inv.svg|16px|Bus|link=]] Large bus terminal(s) attached to the station|t4=[[File:Aiga bus inv.svg|16px|Bus|link=]] Major bus terminal(s) attached to the station|t=[[File:Aiga bus inv.svg|16px|Bus|link=]] There is a bus terminal at this station|n=There are no bus services at this station|disp=[[File:Aiga bus inv.svg|16px|Bus|link=]] {{{bus_dispname}}} operated}}}}
 
| 2 = {{#if:{{{tram|}}}|{{#switch:{{{tram|}}}|y=[[File:Aiga railtransportation inv.svg|16px|Tram|link=]] Connected to {{{tram_name}}}}}}}
 
| 3 = {{#if:{{{airport|}}}|{{#switch:{{{airport|}}}|y=[[File:20 airtransportation inv.svg|16px|Airport|link=]] Connected to {{{airport_name}}}}}}}
 
| 4 = {{#if:{{{port|}}}|{{#switch:{{{port|}}}|y=[[File:Aiga watertransportation inv.svg|16px|Port|link=]] Connected to {{{port_name}}}}}}}
 
}}
 
| rowstyle23    = font-weight: bold;
 
}}<noinclude>
 
{{being merged|date=2015 May 9|merge=Template:Infobox station}}
 
{{Documentation}}
 
</noinclude>
 

Revision as of 03:46, 24 December 2015