Difference between revisions of "Template:Facility Comfort"

From Space Haven Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude><p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/doc|> Template:{{PAGENAME}}/doc]]</p>
<nowiki>
+
<p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/version|> Template:{{PAGENAME}}/version]]</p>
{{Facility_Comfort
+
{{{{PAGENAME}}/doc}}
|   sleep =
+
 
| leisure =  
+
== Exemplary presentation ==</noinclude>
|   work =
+
 
|  radius =
+
== Comfort ==
}}</nowiki>
 
</noinclude>== Comfort ==
 
 
The center of the comfort circle is at the same tile the power node is. If there isn't a power node the center of the comfort circle is marked with a green outline. For the location you can reference the chapter "Dimensions". The rotation of the structure itself doesn't matter. If you are not sure how comfort works check out '''[[Comfort|the suitable tutorial]]'''
 
The center of the comfort circle is at the same tile the power node is. If there isn't a power node the center of the comfort circle is marked with a green outline. For the location you can reference the chapter "Dimensions". The rotation of the structure itself doesn't matter. If you are not sure how comfort works check out '''[[Comfort|the suitable tutorial]]'''
 
<div><ul>
 
<div><ul>
<li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{sleep|}}}.png|thumb|none|300px|Comfort modifier for sleep]] </li>
+
{{#if: {{{sleep|}}} | <li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{sleep|}}}.png|thumb|none|300px|Comfort modifier for sleep]] </li> |}}
<li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{leisure|}}}.png|thumb|none|300px|Comfort modifier for leisure]] </li>
+
{{#if: {{{leisure|}}} | <li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{leisure|}}}.png|thumb|none|300px|Comfort modifier for leisure]] </li> |}}
 
{{#if: {{{work|}}} | <li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{work|}}}.png|thumb|none|300px|Comfort modifier for work]] </li> |}}
 
{{#if: {{{work|}}} | <li style="display: inline-block;"> [[File:Structure_Comfort_{{{radius|}}}_{{{work|}}}.png|thumb|none|300px|Comfort modifier for work]] </li> |}}
 
</ul></div>
 
</ul></div>

Latest revision as of 20:53, 26 April 2025

> Template:Facility Comfort/doc

> Template:Facility Comfort/version

Styleguide

Changing the template

Parameter

Template

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

{{Facility_Comfort
 | version = 2025.04.25.0
 |   sleep = 
 | leisure = 
 |    work = 
 |  radius = 
}}

Exemplary presentation

Comfort

The center of the comfort circle is at the same tile the power node is. If there isn't a power node the center of the comfort circle is marked with a green outline. For the location you can reference the chapter "Dimensions". The rotation of the structure itself doesn't matter. If you are not sure how comfort works check out the suitable tutorial