Template

Infobox Base

From Dogcraft Wiki

imported>William278
No edit summary
imported>William
No edit summary
Line 1: Line 1:
<infobox>
  <title source="title1">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image1">
    <caption source="caption1"/>
  </image>
  <group>
    <header>Base</header>
    <data source="world">
      <label>World</label>
    </data>
    <data source="location">
      <label>Location</label>
    </data>
    <data source="builder(s)">
      <label>Builder(s)</label>
    </data>
    <data source="founded">
      <label>Founded</label>
    </data>
    <data source="status">
      <label>[[Status]]</label>
    </data>
  </group>
  <group collapse="open">
    <header>Transport</header>
    <data source="railway">
      <label>Railway</label>
    </data>
    <data source="nether">
      <label>Nether</label>
    </data>
  </group>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
<pre>
{{Infobox base
{{Infobox Settlement
|title1=Example
|title        =  
|image1=Example
|image        =  
|caption1=Example
|caption      =  
|world=Example
|world       =  
|location=Example
|builders    =  
|builder(s)=Example
|founded      =
|founded=Example
|xcoord      =  
|[[Status]]=Example
|ycoord      =
|railway=Example
|zcoord      =
|nether=Example
|dimension    =  
|status      =  
|railway     =  
|nether       =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly>{{Infobox
|name        =
|bodystyle    =
|title        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|titlestyle  =
|image        = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|imagestyle  =
|caption      = {{{caption|<br />}}}
|captionstyle = color:#000;
|headerstyle  = background:#3C8DBC; color:#fff;
|labelstyle  = padding: 3px;
|datastyle    = padding: 3px;
|header1 = {{Large|Settlement}}
|label2  = World
|data2  = {{#if: {{{world}}}|{{{world}}}|}}
|label4  = Builder(s)
|data4  = {{{builders|}}}
|label5  = Founded
|data5  = {{{founded|}}}
|label6  = Location
|data6  = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}
|label7  = Dimension
|data7  = {{{dimension|Overworld}}}
|label8  = [[Status]]
|data8  = {{{status|Unknown}}}
|header9 = {{#if: {{{nether}}}|{{Large|Transport}}|}}
|label10  = Railway
|data10  = {{{railway|}}}
|label11  = Nether
|data11  = {{{nether|}}}
}}
[[Category:Bases]]
</includeonly>

Revision as of 15:24, 1 November 2019

{{Infobox Settlement
|title        = 
|image        = 
|caption      = 
|world        = 
|builders     = 
|founded      = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|dimension    = 
|status       = 
|railway      = 
|nether       = 
}}


This page was last modified on 1 November 2019, at 15:24. (2 months ago)