Difference between revisions of "Template:Solar Calculate Influence"
From Australis Ultima 30k
m |
m |
||
Line 154: | Line 154: | ||
have control of the planet. --> | have control of the planet. --> | ||
<!--------------------------------------------------------> | <!--------------------------------------------------------> | ||
− | Faction:Influence<br> | + | <span style="text-align: center;>Faction:Influence<br> |
{{ #vardefine: if | 0 }} | {{ #vardefine: if | 0 }} | ||
{{#while: | {{#while: | ||
Line 161: | Line 161: | ||
{{ #vardefine: if | {{ #expr: {{ #var: if }} + 1 }} }} | {{ #vardefine: if | {{ #expr: {{ #var: if }} + 1 }} }} | ||
}} | }} | ||
+ | </span> | ||
<!--------------------------------------> | <!--------------------------------------> | ||
<!--Display Controlling Factions Image--> | <!--Display Controlling Factions Image--> | ||
<!--------------------------------------> | <!--------------------------------------> | ||
− | |||
− | |||
{{#ifexpr:{{#explode:{{#var:highfaction}}|@|1}}>{{#expr:{{#explode:{{#var:2ndhighfaction}}|@|1}}+{{#ifeq:{{#var:planetype}}|Major|{{Template:Control Influence Major}}|{{Template:Control Influence Minor}}}}}} | {{#ifexpr:{{#explode:{{#var:highfaction}}|@|1}}>{{#expr:{{#explode:{{#var:2ndhighfaction}}|@|1}}+{{#ifeq:{{#var:planetype}}|Major|{{Template:Control Influence Major}}|{{Template:Control Influence Minor}}}}}} | ||
|{{#switch:{{#explode:{{#var:highfaction}}|@|0}} | |{{#switch:{{#explode:{{#var:highfaction}}|@|0}} | ||
Line 177: | Line 176: | ||
}}|[[Image:Undecided.png]] | }}|[[Image:Undecided.png]] | ||
}} | }} | ||
− | |||
<noinclude> | <noinclude> | ||
[[Category:Influence]] | [[Category:Influence]] | ||
</noinclude> | </noinclude> |
Revision as of 06:37, 9 September 2014
Faction:Influence
Unresolved:90
Traitor:667
Loyalist:598
Imperial:51
Xenos:16
Secessionist:77
Orks:10
Traitors:5
Inconclusive:5
none:5
Enter Here:5
Undecided:20
Alpha Legion:5
Loyalists:5
Antigones mob Traitor:5
Iron Hands Loyalist:5
Eisens arme Hunde Loyalist:5
Loyalisy:1
Synod:7