Difference between revisions of "Template:Block"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style='display: {{#ifexpr: {{{2|1}}} >= 0.01|inline-block|none}}; border: 1px {{#ifexpr: {{{2|1}}} >= 0.1|solid|{{#ifexpr: {{{2|1}}} >= 0.01|dotted|none}}}}; margin: 0 2px; {{#ifexpr: {{{2|1}}} >= 1|width: 8px; height: 8px|{{#ifexpr: {{{2|1}}} >= 0.5|width: 4px; height: 4px; padding: 2px|width: 0; height: 0; padding: 4px}}}}'><div style='background: {{{1|#000}}}; width: 100%; height: 100%'></div></div>
+
<div style='display: {{#ifexpr: {{{2|1}}} >= 0.01|inline-block|none}}; border: 1px {{#ifexpr: {{{2|1}}} >= 0.1|solid|{{#ifexpr: {{{2|1}}} >= 0.01|dotted|none}}}}; margin: 0 2px; {{#ifexpr: {{{2|1}}} >= 1|width: 8px; height: 8px|{{#ifexpr: {{{2|1}}} >= 0.5|width: 4px; height: 4px; padding: 2px|width: 0; height: 0; padding: 4px}}}}'><div style='background: {{#if:1|{{{1|#000}}}}}; width: 100%; height: 100%'></div></div>

Revision as of 07:43, 14 January 2015