Difference between revisions of "Template:Factionstandings/line"
From Space Engineers Wiki
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:factionname|{{#explode:{{#titleparts: {{FULLPAGENAME}} | 1 }}|:|1}}}}{{#vardefine:tstance|{{ | + | <includeonly>{{#vardefine:factionname|{{#explode:{{#titleparts: {{FULLPAGENAME}} | 1 }}|:|1}}}}{{#vardefine:tstance|{{get standing|{{{1|}}}|Faction:{{#var:factionname}}}}}}{{#vardefine:mstance|{{get standing|{{{1|}}}|Faction:{{#var:factionname}}}}}}{{#if: {{#var:tstance}} | | {{#vardefine:tstance|0}}}}{{#if: {{#var:mstance}} | | {{#vardefine:mstance|0}}}}{{#vardefine:stance|0}}{{#ifexpr: {{#var:tstance}} > {{#var:mstance}} | {{#vardefine:stance|{{#var:mstance}}}} | {{#vardefine:stance|{{#var:tstance}}}} }} |
{{#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;"> |