Difference between revisions of "Template:Indian railway code"

From blackwiki
Jump to navigation Jump to search
(Undid revision 464732211 by 122.175.9.220 (talk))
imported>Plastikspork
(Creating to support merger of Template:Infobox Indian railway station)
Line 1: Line 1:
{{infobox
+
<noinclude>
| bodyclass  = vcard
+
{{Infobox
| bodystyle  = width:275px;font-size:smaller;padding:0;margin:0;background:#FFFFFF;
+
| label1 = Code
| abovestyle =
+
| data1 = </noinclude>
| above      = <div style="position: center; font-size: 120%;"> '''{{{name}}}''' </div>
+
{{{code<includeonly>|</includeonly>}}}{{
'''{{#if:{{{other_name|}}}| <div style="position: center; font-size: 120%;"> '''{{{other_name|}}}'''}} </div>  
+
#if:{{{zone<includeonly>|</includeonly>}}}
<div style="position: center; font-size: 100%;"> <sup>{{small|[[Indian Railway]] Station}}</sup>''' </div>
+
|</td></tr><tr>
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|[[Image:{{{image}}}|{{#if:{{{image_size|}}}|<!--then:-->{{{image_size}}}px|<!--else:-->250px}}]]}}
+
<th>[[Indian Railways#Railway zones|Zone(s)]]</th>
| caption    = {{{caption<includeonly>|</includeonly>}}}
+
<td>{{{zone}}}
 +
}}{{
 +
#if:{{{division<includeonly>|</includeonly>}}}
 +
|</td></tr><tr>
 +
<th>[[Indian Railways#Railway zones|Division(s)]]</th>
 +
<td>{{{division}}}
 +
}}<noinclude>
 +
}}
 +
{{documentation|content=
 +
This template is used to add the Code/Division(s)/Zone(s) to {{tl|Infobox station}} for [[Indian Railways]] stations.
 +
== Usage ==
 +
<pre>
 +
{{Infobox station
 +
| name =
  
| headerstyle= text-align: center; font-weight: bolder; font-style: normal; font-size:110%; color:#FFFFFF; background: #191970;
+
...
| labelstyle =
 
| datastyle  =
 
  
| header1    = Location
+
| code = {{Indian railway code
| label2    = [[Geographic coordinate system|Coordinates]]
+
   | code =  
| data2      = {{{coordinates<includeonly>|</includeonly>}}}
+
  | zone =  
| label3    = Street
+
   | division =
| data3      = {{{street<includeonly>|</includeonly>}}}
+
   }}
| label4    = City
+
 
| data4      = {{{city<includeonly>|</includeonly>}}}
+
}}
| label5    = District
+
</pre>
| data5      = {{{district<includeonly>|</includeonly>}}}
+
 
| label6    = State
+
}}</noinclude>
| data6      = {{{state<includeonly>|</includeonly>}}}
 
| label7    = Elevation
 
| data7      = [[Mean Sea Level|MSL]] + {{{elevation<includeonly>|</includeonly>}}}
 
| header8    = Station Info & Facilities
 
| label9    = Station type
 
| data9      = {{{type<includeonly>|</includeonly>}}}
 
| label10    = Structure
 
| data10    = {{{structure<includeonly>|</includeonly>}}}
 
| label11    = Station status
 
| data11    = {{{status<includeonly>|</includeonly>}}}
 
| label12    = Other name(s)
 
| data12    = {{{other_name(s)<includeonly>|</includeonly>}}}
 
| label13    = Parking
 
| data13    = {{{parking<includeonly>|</includeonly>}}}
 
| label14    = Entrance(s)
 
| data14    = {{{entrance(s)<includeonly>|</includeonly>}}}
 
| label15    = Baggage check
 
| data15    = {{{baggage check<includeonly>|</includeonly>}}}
 
| label16    = Accessible
 
| data16    = <includeonly>{{#if:</includeonly>{{{ADA<includeonly>|</includeonly>}}}<includeonly>|{{Access icon}}}}</includeonly>
 
| label17    = Connections
 
| data17    = {{{connections<includeonly>|</includeonly>}}}
 
| header18   = Operation
 
| label19    = Code
 
| data19    = {{{code<includeonly>|</includeonly>}}}
 
| label20    = [[Indian Railways#Railway zones|Division(s)]]
 
| data20    = {{{division<includeonly>|</includeonly>}}}
 
| label21    = [[Indian Railways#Railway zones|Zone(s)]]
 
| data21    = {{{zone<includeonly>|</includeonly>}}}
 
| label22    = Line(s)
 
| data22    = {{{line(s)<includeonly>|</includeonly>}}}
 
| label23    = Track(s)
 
| data23    = {{{track(s)<includeonly>|</includeonly>}}}
 
| label24    = Platform(s)
 
| data24    = {{{platform<includeonly>|</includeonly>}}}
 
| header25   = History
 
| label26    = Opened
 
| data26    = {{{opened_date<includeonly>|</includeonly>}}}
 
| label27    = Former Owner(s)
 
| data27    = {{{formerly <includeonly>|</includeonly>}}}
 
| label28    = Electrified
 
| data28    = {{{electrified_date<includeonly>|</includeonly>}}}
 
| label29    = Renovated
 
| data29    = {{{renovated_date<includeonly>|</includeonly>}}}
 
| label30    = Closed
 
| data30    = {{{closed_date<includeonly>|</includeonly>}}}
 
| label31    = Rebuilt
 
| data31    = {{{rebuilt_date<includeonly>|</includeonly>}}}
 
| header32   = {{#if:{{{passengers<includeonly>|</includeonly>}}}{{{mpassengers|}}}|Traffic}}
 
| data33    = {{#if:{{{passengers<includeonly>|</includeonly>}}}|{{Rail pass box|system={{{pass_system|}}}|passengers={{{passengers<includeonly>|</includeonly>}}}|pass_year={{{pass_year<includeonly>|</includeonly>}}}|pass_percent={{{pass_percent|}}}}}}}
 
| label34    = Train(s)
 
| data34    = {{{train(s)<includeonly>|</includeonly>}}}
 
| label35    = Notes
 
| data35    = {{{notes<includeonly>|</includeonly>}}}
 
| header36  = {{#if:{{{map_locator<includeonly>|</includeonly>}}}|Location on Map}}
 
| data37    = {{{map_locator<includeonly>|</includeonly>}}}
 
}}<noinclude>{{Template doc}}</noinclude>
 

Revision as of 21:52, 30 September 2012

Code{{{code}}}
Zone(s) {{{zone}}}
Division(s) {{{division}}}
Template documentation

This template is used to add the Code/Division(s)/Zone(s) to {{Infobox station}} for Indian Railways stations.

Usage

{{Infobox station
| name = 

...

| code = {{Indian railway code
  | code = 
  | zone = 
  | division =
  }}

}}