Difference between revisions of "Template:Factionstandings/line"
From Space Engineers Wiki
Line 2: | Line 2: | ||
{{#vardefine:tstance|{{#show:{{{1|}}}/Embassy|?stance}}}} | {{#vardefine:tstance|{{#show:{{{1|}}}/Embassy|?stance}}}} | ||
{{#vardefine:mstance|{{#show:Faction:{{#var:factionname}}/Embassy|?stance}}}} | {{#vardefine:mstance|{{#show:Faction:{{#var:factionname}}/Embassy|?stance}}}} | ||
− | {{#if {{#var:tstance}} | | {{#vardefine:tstance|0}}}} | + | {{#if: {{#var:tstance}} | | {{#vardefine:tstance|0}}}} |
− | {{#if {{#var:mstance}} | | {{#vardefine:mstance|0}}}} | + | {{#if: {{#var:mstance}} | | {{#vardefine:mstance|0}}}} |
{{#ifeq: {{#explode:{{{1|}}}|:|1}}| {{#var:factionname}} || | {{#ifeq: {{#explode:{{{1|}}}|:|1}}| {{#var:factionname}} || | ||
<div style="width:600px;height:25px;background:#b2d5e8;"> | <div style="width:600px;height:25px;background:#b2d5e8;"> |