Difference between revisions of "Template:Facilityinfobox"

From Space Haven Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 300px;">
+
<noinclude><p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/doc|> Template:{{PAGENAME}}/doc]]</p>
 +
<p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/version|> Template:{{PAGENAME}}/version]]</p>
 +
{{{{PAGENAME}}/doc}}
 +
 
 +
== Exemplary presentation ==</noinclude>
 +
<div class="infobox" style= "background: #eee; border: 1px solid #aaa; float: left; margin: 0 1em 1em 0; padding: 1em; width: 400px;">
 
<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;">[[File:Structure_{{PAGENAME}}.png|300px]]</div>
 
<div class="infobox-image" style= "text-align: center;">[[File:Structure_{{PAGENAME}}.png|300px]]</div>
Line 52: Line 57:
 
| style="width: 1%; font-size:150%; font-weight: bold" | Comfort
 
| style="width: 1%; font-size:150%; font-weight: bold" | Comfort
 
| <hr>
 
| <hr>
|-
 
 
|}
 
|}
  
Line 70: Line 74:
  
 
{| style="margin:auto; width: 100%"
 
{| style="margin:auto; width: 100%"
| style="width: 1%" | [[File:Icon_Power.png|30px|link=Power|Power Consumption]]
+
| style="width: 1%" | [[File:Icon_Power.png|30px|link=Power|Power Consumption]]
| style="width: 47%; text-align:left;" | <b>{{{PowerLow|}}}</b>
+
| style="width: 99%; text-align:left;" | <b>Consumption: {{{PowerLow|}}}</b>
| style="width: 1%" | [[File:Icon_Power_High.png|30px|link=Power|High Power needed?]]
+
{{#if: {{{PowerHigh|}}} |
| style="width: 47%; text-align:left;" | <b>{{{PowerHigh|}}}</b>
+
{{!}}-
 +
{{!}} style="width: 1%" {{!}} [[File:Icon_Power_High.png|30px|link=Power|High Power needed?]]
 +
{{!}} style="width: 99%; text-align:left;" {{!}} <b>Needs high capacity power</b>
 +
|}}
 
|}
 
|}
  

Latest revision as of 20:16, 26 April 2025

> Template:Facilityinfobox/doc

> Template:Facilityinfobox/version

Styleguide

Changing the template

Parameter

Template

Use this template to copy and paste it onto the page of your liking.

{{In-Game_Desciption
 |         version = 2025.04.25.0
 |
}}

Exemplary presentation

Facilityinfobox
Build cost
Comfort
Work Comfort Leisure Comfort Sleep Comfort
Power
Power Consumption Consumption:
Byproducts
Heat Hazardous Gas
Condition
Condition Points
Needed Research
Research [[Research|]]