Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

Difference between revisions of "Template:Infobox installation"

From AuroraWiki
Jump to navigation Jump to search
(Allowed custom titles (I hope))
(Added blank template, output fields)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox  
 
{{Infobox  
| bodyclass  = vevent
 
 
| title      = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 
| title      = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 
| titleclass = summary
 
| titleclass = summary
| labelstyle = white-space: nowrap
+
| labelstyle = white-space: nowrap;background:#ddd;width:50%;
 
| label1    = Name
 
| label1    = Name
 
| data1      = {{{name|}}}
 
| data1      = {{{name|}}}
| label2    = Cargo Size
+
| label2     = Transport Method
| data2     = {{#if:{{{cargo size|}}}|{{{cargo size}}} tons}}
+
| data2      = {{{transport method|Cargo Holds}}}
| label3     = Pop Required
+
| label3     = Cargo Size
| data3     = {{{pop required|}}}
+
| data3     = {{#if:{{{cargo size|}}}|{{{cargo size}}} tons}}
| label4     = Total Cost
+
| label4     = Pop Required
| data4     = {{{total cost|}}}
+
| data4     = {{{pop required|}}}
| label5     = Duranium
+
| label5    = {{{output|Output}}}
| data5     = {{{duranium|}}}
+
| data5      = {{{outputamt|}}}
| label6     = Neutronium
+
| label6     = Total Cost (BP)
| data6     = {{{neutronium|}}}
+
| data6     = {{{total cost|}}}
| label7     = Corbomite
+
| label7     = [[Duranium]]
| data7     = {{{corbomite|}}}
+
| data7     = {{{duranium|}}}
| label8    = Tritanium
+
| label8     = [[Neutronium]]
| data8      = {{{tritanium|}}}
+
| data8     = {{{neutronium|}}}
| label9    = Boronide
+
| label9     = [[Corbomite]]
| data9      = {{{boronide|}}}
+
| data9     = {{{corbomite|}}}
| label10    = Sorium
+
| label10    = [[Tritanium]]
| data10      = {{{sorium|}}}
+
| data10    = {{{tritanium|}}}
| label11    = Uridium
+
| label11    = [[Boronide]]
| data11      = {{{uridium|}}}
+
| data11    = {{{boronide|}}}
| label12   = Corundium
+
| label12    = [[Sorium]]
| data12     = {{{corundium|}}}
+
| data12    = {{{sorium|}}}
| label13    = Mercassium
+
| label13    = [[Uridium]]
| data13      = {{{mercassium|}}}
+
| data13    = {{{uridium|}}}
| label14    = Vendarite
+
| label14   = [[Corundium]]
| data14      = {{{vendarite|}}}
+
| data14     = {{{corundium|}}}
| label15    = Gallicite
+
| label15    = [[Mercassium]]
| data15    = {{{gallicite|}}}
+
| data15    = {{{mercassium|}}}
 +
| label16    = [[Vendarite]]
 +
| data16    = {{{vendarite|}}}
 +
| label17    = [[Gallicite]]
 +
| data17    = {{{gallicite|}}}
 +
}}<noinclude>
 +
<pre>
 +
{{Infobox installation
 +
| title            = <!-- defaults to page name -->
 +
| name            =
 +
| transport method = <!-- defaults to cargo holds -->
 +
| cargo size      = <!-- in tons -->
 +
| pop required    = <!-- population needed to operate 1 unit -->
 +
| output          = <!-- the thing it's producing -->
 +
| outputamt        = <!-- how much output, maybe specify a time period -->
 +
| total cost      = <!-- in BP -->
 +
| duranium        =
 +
| neutronium      =
 +
| corbomite        =
 +
| tritanium        =
 +
| boronide        =
 +
| sorium          =
 +
| uridium          =
 +
| corundium        =
 +
| mercassium      =
 +
| vendarite        =
 +
| gallicite        =
 +
}}
 +
</pre>
  
}}
+
{{documentation}}</noinclude>

Latest revision as of 14:46, 1 February 2016

Infobox installation
Transport Method Cargo Holds
{{Infobox installation
| title            = <!-- defaults to page name -->
| name             =
| transport method = <!-- defaults to cargo holds -->
| cargo size       = <!-- in tons -->
| pop required     = <!-- population needed to operate 1 unit -->
| output           = <!-- the thing it's producing -->
| outputamt        = <!-- how much output, maybe specify a time period -->
| total cost       = <!-- in BP -->
| duranium         =
| neutronium       = 
| corbomite        = 
| tritanium        = 
| boronide         = 
| sorium           = 
| uridium          = 
| corundium        = 
| mercassium       = 
| vendarite        = 
| gallicite        = 
}} 
[edit] [purge] Template-info.svg Template documentation

...