Difference between revisions of "Template:Set standing"

From Space Engineers Wiki
Jump to: navigation, search
Line 5: Line 5:
 
Is faction defined?
 
Is faction defined?
 
{{#if: {{{1|}}} | yes{{#vardefine:faction|{{{1}}}}}
 
{{#if: {{{1|}}} | yes{{#vardefine:faction|{{{1}}}}}
:faction:{{#var:faction}}{{#if: {{#explode:{{#var:faction}}|:|1}} | | {{#vardefine:faction|Faction:{{#vardefine:standing|0}}
+
:faction:{{#var:faction}}{{#if: {{#explode:{{#var:faction}}|:|1}} | | {{#vardefine:faction|Faction:{{#var:faction}}}}}
 +
{{#vardefine:standing|0}}
 
{{#switch: {{lc:{{{2|}}}}}
 
{{#switch: {{lc:{{{2|}}}}}
 
| war
 
| war

Revision as of 18:42, 28 March 2014

{{#ifeq: Template | Faction |