Difference between revisions of "Template:Planet Calculate Influence"
From Australis Ultima 30k
(Created page with "<!-------------------------------------------> <!-- Initial DPL retrieval --> <!-------------------------------------------> <!-----------------------------...") |
m |
||
Line 7: | Line 7: | ||
{{#arraydefine:campall|{{#sub:{{#dpl: | {{#arraydefine:campall|{{#sub:{{#dpl: | ||
|category =Campaign | |category =Campaign | ||
− | |category = | + | |category ={{{pagename}}} |
|notcategory=draw | |notcategory=draw | ||
|notnamespace=Template | |notnamespace=Template | ||
Line 18: | Line 18: | ||
{{#arraydefine:battleall|{{#sub:{{#dpl: | {{#arraydefine:battleall|{{#sub:{{#dpl: | ||
|category =Battle | |category =Battle | ||
− | |category = | + | |category ={{{pagename}}} |
|notcategory=draw | |notcategory=draw | ||
|notnamespace=Template | |notnamespace=Template | ||
Line 29: | Line 29: | ||
{{#arraydefine:skirmishall|{{#sub:{{#dpl: | {{#arraydefine:skirmishall|{{#sub:{{#dpl: | ||
|category =Skirmish | |category =Skirmish | ||
− | |category = | + | |category ={{{pagename}}} |
|notcategory=draw | |notcategory=draw | ||
|notnamespace=Template | |notnamespace=Template | ||
Line 45: | Line 45: | ||
variables for the while loop, --> | variables for the while loop, --> | ||
<!----------------------------------------------> | <!----------------------------------------------> | ||
+ | {{#vardefine:planetype|{{#var:planettype}}}} | ||
{{#arrayunique:subcampall}} | {{#arrayunique:subcampall}} | ||
{{#arrayunique:subbattleall}} | {{#arrayunique:subbattleall}} | ||
Line 200: | Line 201: | ||
}} | }} | ||
|} | |} | ||
− | + | <!--------------------------------------> | |
<!--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}} |
Revision as of 15:53, 7 September 2014
Influence Summary | |
---|---|
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 |