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

From blackwiki
Jump to navigation Jump to search
imported>The Earwig
(Reverted to revision 689147686 by The Earwig (talk): Restoring station suffixes, see WT:JAPAN. (TW))
imported>The Earwig
(redirect)
Line 1: Line 1:
{{Infobox station
+
#REDIRECT [[Template:Infobox station/sandbox]] {{redr|merge}}
| name        = {{{{{|safesubst:}}}#if:{{{entirenamerom|}}}|{{{entirenamerom}}}|{{{namerom}}} Station}}
 
| native_name = {{{{{|safesubst:}}}#if:{{{entirename|}}}|{{{entirename}}}|{{{name}}}駅}}
 
| native_name_lang = ja
 
| type        = {{{{{|safesubst:}}}#if:{{{operator2|}}}|{{{operator2}}} station}}
 
| image      = {{{image|}}}
 
| alt        =
 
| caption    = {{{caption|}}}
 
| other_name  = {{{othername|}}}
 
| address    = {{{{{|safesubst:}}}Br separated entries
 
| {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{address|}}}|<[Bb][Rr] ?/?>|plain=false}}|0||{{{address|}}}}}
 
| {{{{{|safesubst:}}}Comma separated entries
 
| {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{address|}}}|<[Bb][Rr] ?/?>|plain=false}}|0|{{{address|}}}}}
 
| {{{{{|safesubst:}}}#if:{{{ward|}}}|[[{{{{{|safesubst:}}}#ifeq:{{{pref}}}|Tokyo|{{{ward}}}, Tokyo|{{{ward}}}-ku, {{{city}}}}}|{{{ward}}}]]}}
 
| {{{{{|safesubst:}}}#if:{{{village|}}}|[[{{{{{|safesubst:}}}#ifexist:{{{village}}}, {{{pref}}} (village)|{{{village}}}, {{{pref}}} (village)|{{{village}}}, {{{pref}}}}}|{{{village}}}]]}}
 
| {{{{{|safesubst:}}}#if:{{{town|}}}|[[{{{{{|safesubst:}}}#ifexist:{{{town}}}, {{{pref}}} (town)|{{{town}}}, {{{pref}}} (town)|{{{town}}}, {{{pref}}}}}|{{{town}}}]]}}
 
| {{{{{|safesubst:}}}#if:{{{district|}}}|[[{{{district}}} District, {{{pref}}}|{{{district}}}]]}}
 
| {{{{{|safesubst:}}}#if:{{{city|}}}|[[{{{city}}}, {{{pref}}}|{{{city}}}]]}}
 
| {{{{{|safesubst:}}}#if:{{{pref|}}}|[[{{{{{|safesubst:}}}#ifeq:{{{pref}}}|Tokyo|Tokyo|{{{pref}}} Prefecture{{{{{|safesubst:}}}!}}{{{pref}}}}}]]}}
 
}}
 
| {{{{{|safesubst:}}}#if:{{{jaloc|}}}|{{Nihongo2|({{{jaloc}}})}}}}
 
}}
 
| country    = {{{{{|safesubst:}}}#if:{{{address|}}}{{{ward|}}}{{{village|}}}{{{town|}}}{{{district|}}}{{{city|}}}{{{pref|}}}{{{jaloc|}}}|Japan}}
 
| coordinates = {{{coordinates|}}}
 
| operator    = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{operator|}}}|*}}|0|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{operator|}}}|<[Bb][Rr] ?/?>|plain=false}}|0|{{{operator|}}}|{{Plainlist|
 
* {{{{{|safesubst:}}}#invoke:String|replace|{{{{{|safesubst:}}}#invoke:String|replace|{{{operator|}}}|<[Bb][Rr] ?/?>|
 
* |plain=false}}|, |
 
* }}
 
}}}}|{{{operator|}}}}}
 
| line        = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{line|}}}|*}}|0|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:String|find|{{{line|}}}|<[Bb][Rr] ?/?>|plain=false}}|0|{{{line|}}}|{{Plainlist|
 
* {{{{{|safesubst:}}}#invoke:String|replace|{{{{{|safesubst:}}}#invoke:String|replace|{{{line|}}}|<[Bb][Rr] ?/?>|
 
* |plain=false}}|, |
 
* }}
 
}}}}|{{{line|}}}}}
 
| platforms  = {{{Platform|}}} {{{{{|safesubst:}}}#if:{{{PlatformType|}}}|{{{{{|safesubst:}}}#if:{{{Platform|}}}|({{{PlatformType}}})|{{{PlatformType}}}}}}}
 
| connections = {{{{{|safesubst:}}}#if:{{{Connections|}}}{{{bus|}}}{{{tram|}}}{{{airport|}}}{{{port|}}}|{{Plainlist|
 
* {{{{{|safesubst:}}}Separated entries|separator=&#10;*&#32;
 
| {{{Connections|}}}
 
| {{{{{|safesubst:}}}#if:{{{bus|}}}|{{{{{|safesubst:}}}#switch:{{{bus|}}}
 
  | y            = Bus stop
 
  | t1|t2|t3|t4|t = Bus terminal
 
  | disp          = Bus routes {{{bus_dispname}}}
 
  }}}}
 
| {{{tram_name|}}}
 
| {{{airport_name|}}}
 
| {{{port_name|}}}
 
}}
 
}}}}
 
| structure  = {{{StationType|}}}
 
| code        = {{{station_number|}}}
 
| opened      = {{{open|}}}
 
| closed      = {{{close|}}}
 
| former      = {{{{{|safesubst:}}}Separated entries|separator=;&#32;|1={{{oldname|}}}|2={{{oldname2|}}}}} {{{{{|safesubst:}}}#if:{{{presentname|}}}|(until {{{presentname|}}})}}
 
| passengers  = {{{{{|safesubst:}}}#if:{{{stats|}}}|{{{stats}}} daily|{{{{{|safesubst:}}}#if:{{{statsy|}}}|{{{statsy}}} {{{{{|safesubst:}}}#if:{{{statsnote|}}}||annually}}}}}}
 
| pass_year  = {{{{{|safesubst:}}}#if:{{{stats|}}}{{{statsy|}}}|{{{{{|safesubst:}}}#invoke:String|replace|{{{{{|safesubst:}}}#invoke:String|replace|{{{statsnote|}}}|%)||count=1|plain=false}}|^%(||plain=false}}}}
 
| services    = {{{services|}}}
 
}}<noinclude>
 
{{Documentation}}
 
</noinclude>
 

Revision as of 03:54, 24 December 2015