Template

Infobox Station

From Dogcraft Wiki

imported>William278
No edit summary
No edit summary
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<infobox>
<includeonly>{{Infobox Locatable
  <title source="title1"/>
|name        =
  <image source="image1">
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
    <caption source="caption1"/>
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
  </image>
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
  <group>
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
    <header>Station</header>
{{{image2|}}}{{!}}{{{caption2|}}}
    <data source="location">
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}}
      <label>Location</label>
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}}
    </data>
|caption      = {{#if:{{{image2|}}}||{{{caption|}}}}}
    <data source="network(s)">
|header1      = Station
      <label>Network(s)</label>
|label2  = World
    </data>
|data2  = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
    <data source="line">
|label3  = Network
      <label>Line</label>
|data3  = {{#if:{{{network|}}}|{{{network|}}}|{{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}|mode=Network}}}}
    </data>
|label4  = Line
    <data source="builder">
|data4  = {{{line|}}}
      <label>Builder</label>
|label5  = Opened
    </data>
|data5  = {{{opened|}}}
    <data source="opened">
|label6  = <nowiki>Builder(s)</nowiki>
      <label>Opened</label>
|data6  = {{{builders|}}}
    </data>
|label7  = Location
   </group>
|data7  = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
   <group collapse="open">
|label8  = NTN Connection
    <header>Terminals</header>
|data8   = {{{ntnconnection|}}}
    <data source="main_lines">
|label9  = Connections
      <label>Main Lines</label>
|data9   = {{#if:{{{mainlines|}}}|<span class="playername" style="white-space:nowrap;">[[File:Main Connections Icon.png|24px|Main-line connections]]{{{mainlines|}}}</span>|}}&nbsp;{{#if:{{{branchlines|}}}|<span class="playername" style="white-space:nowrap;">[[File:Branch Connections Icon.png|24px|Branch connections]]{{{branchlines|}}}</span>|}}
    </data>
|world = {{{world|Survival 6}}}
    <data source="secondary_lines">
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}}
      <label>Secondary Lines</label>
|xcoord = {{{xcoord|0}}}
    </data>
|zcoord = {{{zcoord|0}}}
  </group>
}}
</infobox>
[[Category:Stations]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly>
 
<noinclude>
<noinclude>
Example usage:<pre>
{{Infobox Station
{{Infobox Station
|title1=Example
|title        = Spawn Station
|image1=Example
|image        = 2018-11-21_18.13.23.png
|caption1=Example
|caption      = [[Spawn Station (Survival 2)|Spawn Station]] on Survival 2
|location=Example
|world        = Survival 2
|line=Example
|subworld    =
|builder=Example
|network      =
|opened=Example
|line         = North Line
|main_lines=Example
|builders    = {{Player|_edo}}<br/>{{Player|Brianetta}}<br/>{{Player|darparniox}}
|secondary_lines=Example
|opened       = September 2<sup>nd</sup>, 2017
|xcoord      = -1775
|ycoord      =
|zcoord      = 2490
|mainlines    = 2
|branchlines  = 0
}}
An infobox for railway network stations.
 
<pre>
{{Infobox Station
|title          =
|image          =
|caption        =
|world          =
|subworld        =
|network        =
|line            =
|builders        =
|opened          =
|xcoord          =
|ycoord          =
|zcoord          =
|ntnconnection  =
|mainlines      =  
|branchlines    =  
}}
}}
</pre>
</pre>
</noinclude>
{{clear}}

Latest revision as of 15:57, 13 February 2024


Spawn Station
Survival 2
2018-11-21 18.13.23.png
Spawn Station on Survival 2
Station
WorldSurvival 2
NetworkSurvival Railway Network (Survival 2)
LineNorth Line
OpenedSeptember 2nd, 2017
Builder(s)20.png _edo
20.png Brianetta
20.png darparniox
LocationX= -1775
Z= 2490
ConnectionsMain-line connections2 Branch connections0


An infobox for railway network stations.

{{Infobox Station
|title           = 
|image           = 
|caption         = 
|world           = 
|subworld        = 
|network         =
|line            = 
|builders        = 
|opened          = 
|xcoord          = 
|ycoord          = 
|zcoord          = 
|ntnconnection   =
|mainlines       = 
|branchlines     = 
}}
Background SRN Opening by Montenator