Difference between revisions of "Template:Planet Calculate Influence"
From Australis Ultima 30k
m |
|||
Line 41: | Line 41: | ||
{{#arraymerge:subbattleall|battleall}} | {{#arraymerge:subbattleall|battleall}} | ||
{{#arraymerge:subskirmishall|skirmishall}} | {{#arraymerge:subskirmishall|skirmishall}} | ||
− | + | <!----------------------------------------------> | |
+ | <!-- Set the inital variables and define requried | ||
+ | variables for the while loop, --> | ||
+ | <!----------------------------------------------> | ||
+ | {{#vardefine:planetype|{{#var:planettype}}}} | ||
+ | {{#arrayunique:subcampall}} | ||
+ | {{#arrayunique:subbattleall}} | ||
+ | {{#arrayunique:subskirmishall}} | ||
+ | {{#vardefine:type|{{#ifeq:Major|Major|{{Template:Control Influence Major}}|{{Template:Control Influence Minor}}}}}} | ||
+ | {{#vardefine:subcallsize|{{#arraysize:subcampall}}}} | ||
+ | {{#vardefine:callsize|{{#arraysize:campall}}}} | ||
+ | {{#vardefine:subbatsize|{{#arraysize:subbattleall}}}} | ||
+ | {{#vardefine:batsize|{{#arraysize:battleall}}}} | ||
+ | {{#vardefine:subskisize|{{#arraysize:subskirmishall}}}} | ||
+ | {{#vardefine:skisize|{{#arraysize:skirmishall}}}} | ||
+ | <!--{{#arrayprint:campall}}for error checking --> | ||
+ | <!--{{#arrayprint:subcampall}}for error checking --> | ||
+ | <!--{{#arrayprint:battleall}}for error checking --> | ||
+ | <!--{{#arrayprint:subbattleall}}for error checking --> | ||
<!----------------------------------------------> | <!----------------------------------------------> | ||
<!-- While loop which runs through the array and counts instances of the specific faction/force name and outputs in the form of Faction1@3,Faction2@4,Faction3@1 1st loop for Campaigns 2nd loop is for battles, essentially identical --> | <!-- While loop which runs through the array and counts instances of the specific faction/force name and outputs in the form of Faction1@3,Faction2@4,Faction3@1 1st loop for Campaigns 2nd loop is for battles, essentially identical --> |
Revision as of 16:20, 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 |