Difference between revisions of "Template:Infobox Facility"

From Space Haven Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
  |        leisure =  
 
  |        leisure =  
 
  |          work =  
 
  |          work =  
  |         range =  
+
  |         radius =  
 
  |      roomdrop =  
 
  |      roomdrop =  
 
<!-- Power -->
 
<!-- Power -->
Line 33: Line 33:
 
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div>
 
<div class="infobox-title" style= "font-size: 2em; text-align: center;">{{PAGENAME}}</div>
 
<div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Structure_{{PAGENAME}}.png | [[File:Structure_{{PAGENAME}}.png|300px]] |}}</div>
 
<div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Structure_{{PAGENAME}}.png | [[File:Structure_{{PAGENAME}}.png|300px]] |}}</div>
 +
<div class="infobox-image" style= "text-align: center;">{{#ifexist: Media:Structure_{{PAGENAME}}_Roof.png | <br>[[File:Structure_{{PAGENAME}}_Roof.png|300px]] |}}</div>
  
 
{| style="margin:auto; width: 100%"
 
{| style="margin:auto; width: 100%"
Line 83: Line 84:
 
   {{!}}-
 
   {{!}}-
 
  |}}
 
  |}}
|}
+
|}{{#if: {{{corepoint|}}}{{{systempoint|}}} | {{{!}} style="margin:auto; width: 100%"
 
+
  {{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} Point modifier
{| style="margin:auto; width: 100%"
+
  {{!}} <hr>
| style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" | Point modifier
+
  {{!}} style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" {{!}} [[File:Icon_Question_Mark.png|30px|link=Building|Tutorial for Building]]
| <hr>
+
{{!}}}
| style="width: 1%; font-size:150%; font-weight: bold; white-space: nowrap;" | [[File:Icon_Question_Mark.png|30px|link=Building|Tutorial for Building]]
+
{{{!}} style="margin:auto; width:100%;"
|}
+
  {{#if: {{{corepoint|}}} |
{| style="margin:auto; width:100%;"
+
  {{!}} style="width: 5%;" {{!}} [[File:Icon_Core_Point.png|30px|link=Core_Point|Core Point]]
{{#if: {{{corepoint|}}} |
+
  {{!}} style="width: 6%; text-align: right; font-weight: bold;" {{!}} {{{corepoint|}}}
  {{!}} style="width: 5%;" {{!}} [[File:Icon_Core_Point.png|30px|link=Core_Point|Core Point]]
+
  {{!}} style="width: 89%; text-align: left; font-weight: bold;" {{!}} [[Core Point]]
  {{!}} style="width: 6%; text-align: right; font-weight: bold;" {{!}} {{{corepoint|}}}
+
  {{!}}-
  {{!}} style="width: 89%; text-align: left; font-weight: bold;" {{!}} [[Core Point]]
+
  |}}
  {{!}}-
+
  {{#if: {{{systempoint|}}} |
|}}
+
  {{!}} style="width: 5%;" {{!}} [[File:Icon_System_Point.png|30px|link=System_Point|System Point]]
{{#if: {{{systempoint|}}} |
+
  {{!}} style="width: 6%; text-align: right; font-weight: bold;" {{!}} {{{systempoint|}}}
  {{!}} style="width: 5%;" {{!}} [[File:Icon_System_Point.png|30px|link=System_Point|System Point]]
+
  {{!}} style="width: 89%; text-align: left; font-weight: bold;" {{!}} [[System Point]]
  {{!}} style="width: 6%; text-align: right; font-weight: bold;" {{!}} {{{systempoint|}}}
+
  {{!}}-
  {{!}} style="width: 89%; text-align: left; font-weight: bold;" {{!}} [[System Point]]
+
  |}}
  {{!}}-
+
  {{!}}}
  |}}
+
|}}
|}
 
  
 
{| style="margin:auto; width: 100%"
 
{| style="margin:auto; width: 100%"
Line 167: Line 167:
  
 
{| style="margin:auto; width: 100%"
 
{| style="margin:auto; width: 100%"
  | style="width: 1%" | [[File:Icon_Condition.png|30px|link=Condition|Condition]]
+
  | style="width: 5%" | [[File:Icon_Condition.png|30px|link=Condition|Condition]]
  | style="width: 99%; text-align:left; font-weight: bold;" | {{#ifeq: {{{condition|}}} | 1 | {{{condition|}}} Point | {{{condition|}}} Points}}
+
  | style="width: 6%; text-align:right; font-weight: bold;" | {{{condition|}}}
 +
| style="width: 89%; text-align:left; font-weight: bold;" | {{#ifeq: {{{condition|}}} | 1 | Point | Points}}
 
|}
 
|}
  

Latest revision as of 15:23, 6 April 2025

{{Infobox_Facility
<!-- Build cost -->
 |  buildingtools = 
 |    energyblock = 
 |      hullblock = 
 |     infrablock = 
 |      softblock = 
 |      techblock = 
 |     superblock = 
<!-- Ship points -->
 |      corepoint = 
 |    systempoint = 
<!-- Comfort -->
 |          sleep = 
 |        leisure = 
 |           work = 
 |         radius = 
 |       roomdrop = 
<!-- Power -->
 |       powerlow = 
 |      powerhigh = 
<!-- Byproducts -->
 |           heat = 
 |   hazardousgas = 
<!-- Condition -->
 |      condition = 
<!-- Research -->
 | neededresearch = 
}}
Infobox Facility
Build cost
Tutorial for Building
Comfort
Tutorial for Comfort
Sleep Leisure Work
Radius Room Drop
Power consumption
Tutorial for Power
Byproducts
Tutorial for Atmosphere
No Heat No Hazardous Gas
Condition
Tutorial for Condition
Condition Points
Needed Research
Tutorial for Research
Research none