Difference between revisions of "Template:Factionstandings/line"

From Space Engineers Wiki
Jump to: navigation, search
Line 2: Line 2:
 
{{#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;">
<div style="width:300px;position:absolute;"> {{#explode:{{{1|}}}|:|1}} </div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:300px;background:{{#switch: {{#var:tstance}} | -2 =  #F00000 | -1 =  #B00000 | 0 = #bbbbbb | 1 = #8383db | 2 = #0012ff}};"> {{#switch: {{#var:tstance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }}</div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:400px;background:{{#switch: {{#var:mstance}} | -2 =  #F00000 | -1 =  #B00000 | 0 = #bbbbbb | 1 = #8383db | 2 = #0012ff}};"> {{#switch: {{#var:mstance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }} </div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:500px;background:{{#switch: {{#var:stance}} | -2 =  #F00000 | -1 =  #B00000 | 0 = #bbbbbb | 1 = #8383db | 2 = #0012ff}};"> {{#switch: {{#var:stance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }} </div>
+
<div style="width:300px;position:absolute;"> {{#explode:{{{1|}}}|:|1}} </div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:300px;background:{{#switch: {{#var:tstance}} | -2 =  #F00000 | -1 =  #ff9900 | 0 = #bbbbbb | 1 = #008bff | 2 = #00cc43}};"> {{#switch: {{#var:tstance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }}</div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:400px;background:{{#switch: {{#var:mstance}} | -2 =  #FF0000 | -1 =  #ff9900 | 0 = #bbbbbb | 1 = #008bff | 2 = #00cc43}};"> {{#switch: {{#var:mstance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }} </div><div style="padding-left:3px;position:absolute;width:97px;height:25px;left:500px;background:{{#switch: {{#var:stance}} | -2 =  #FF0000 | -1 =  #ff9900 | 0 = #bbbbbb | 1 = #008bff | 2 = #00cc43}};"> {{#switch: {{#var:stance}} | -2 = War | -1 = Hostile | 0 = Neutral | 1 = Friendly | 2 = Allied }} </div>
 
</div>
 
</div>
  
 
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
 
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 07:39, 28 March 2014