Template

Infobox Station

From Dogcraft Wiki

imported>William278
No edit summary
imported>William
No edit summary
Line 1: Line 1:
<infobox>
  <title source="title1"/>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <group>
    <header>Station</header>
    <data source="location">
      <label>Location</label>
    </data>
    <data source="network(s)">
      <label>Network(s)</label>
    </data>
    <data source="line">
      <label>Line</label>
    </data>
    <data source="builder">
      <label>Builder</label>
    </data>
    <data source="opened">
      <label>Opened</label>
    </data>
  </group>
  <group collapse="open">
    <header>Terminals</header>
    <data source="main_lines">
      <label>Main Lines</label>
    </data>
    <data source="secondary_lines">
      <label>Secondary Lines</label>
    </data>
  </group>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
An infobox for usage on pages about Railway Stations.
 
==== Note ====
* sur3_branchlines is for use on stations in the [[Survival 3]] world.
* sur1-2_secondarylines is for use on stations in the [[Survival 2]] / [[Survival 1]] world.
<pre>
{{Infobox Station
{{Infobox Station
|title1=Example
|title        =  
|image1=Example
|image        =  
|caption1=Example
|caption      =  
|location=Example
|world        =  
|line=Example
|line         =  
|builder=Example
|builders    =  
|opened=Example
|opened       =  
|main_lines=Example
|xcoord      =  
|secondary_lines=Example
|ycoord      =
|zcoord      =
|mainlines    =
|sur3_branchlines      =
|sur1-2_secondarylines      =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>{{Infobox
|name        =
|bodystyle    =
|title        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|titlestyle  =
|image        = [[File:{{{image|}}}|250px]]
|imagestyle  =
|caption      = {{{caption|}}}
|captionstyle = color:#000;
|headerstyle  = background:#3C8DBC; color:#fff;
|labelstyle  = padding: 3px;
|datastyle    = padding: 3px;
|header1 = {{Large|Station}}
|label2  = World
|data2  = {{#if: {{{world}}}|{{{world}}}|}}
|label3  = Line
|data3  = {{{line|}}}
|label4  = Location
|data4  = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}
|label5  = Builder(s)
|data5  = {{{builders|}}}
|label6  = Opened
|data6  = {{{opened|}}}
|header9 = {{Large|Station Stats}}
|label10  = N<u>°</u> of Main Lines
|data10  = {{{mainlines|}}}
|label11  = N<u>°</u> of Secondary Lines
|data11  = {{{sur1-2_secondarylines|}}}
|label11  = N<u>°</u> of Branch Lines
|data11  = {{{sur3_branchlines|}}}
}}
[[Category:Stations]]
</includeonly>

Revision as of 16:30, 7 September 2019

An infobox for usage on pages about Railway Stations.

Note

{{Infobox Station
|title        = 
|image        = 
|caption      = 
|world        = 
|line         = 
|builders     = 
|opened       = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|mainlines    = 
|sur3_branchlines      = 
|sur1-2_secondarylines      = 
}}


This page was last modified on 7 September 2019, at 16:30. (9 months ago)