Difference between revisions of "User:Sirrob01"

From Australis Ultima 30k
Jump to: navigation, search
m (DPL Fun)
m (DPL Fun)
Line 20: Line 20:
 
<!--1st x2 DPLs retrieve Campaign Info -->
 
<!--1st x2 DPLs retrieve Campaign Info -->
 
<!--------------------------------------->
 
<!--------------------------------------->
 
 
{{#arraydefine:campall|{{#sub:{{#dpl:
 
{{#arraydefine:campall|{{#sub:{{#dpl:
 
|category =Campaign
 
|category =Campaign
Line 37: Line 36:
 
|format=,$
 
|format=,$
 
}}|1}}|$}}
 
}}|1}}|$}}
 
 
<!------------------------------------->
 
<!------------------------------------->
 
<!--2nd x2 DPLs retrieve Battle Info -->
 
<!--2nd x2 DPLs retrieve Battle Info -->
Line 57: Line 55:
 
|format=,$
 
|format=,$
 
}}|1}}|$}}
 
}}|1}}|$}}
 
 
<!---------------------------------------------->
 
<!---------------------------------------------->
 
<!-- Set the inital variables and define requried  
 
<!-- Set the inital variables and define requried  
Line 73: Line 70:
 
{{#vardefine:subbatsize|{{#arraysize:subbattleall}}}}
 
{{#vardefine:subbatsize|{{#arraysize:subbattleall}}}}
 
{{#vardefine:batsize|{{#arraysize:battleall}}}}
 
{{#vardefine:batsize|{{#arraysize:battleall}}}}
 
 
<!---------------------------------------------->
 
<!---------------------------------------------->
 
<!-- While loop which runs through the array and  
 
<!-- While loop which runs through the array and  
Line 81: Line 77:
 
2nd loop is for battles, essentially identical -->
 
2nd loop is for battles, essentially identical -->
 
<!---------------------------------------------->
 
<!---------------------------------------------->
 
 
{{ #vardefine: iac | 0 }}
 
{{ #vardefine: iac | 0 }}
 
{{
 
{{
Line 100: Line 95:
 
}}
 
}}
 
{{#arraydefine:subsumbatall|{{#var:sumbatall}}|$|}}
 
{{#arraydefine:subsumbatall|{{#var:sumbatall}}|$|}}
 
 
<!--{{#arrayprint:subsumcampall}}for error checking -->
 
<!--{{#arrayprint:subsumcampall}}for error checking -->
 
<!--{{#arrayprint:subsumbatall}}for error checking -->
 
<!--{{#arrayprint:subsumbatall}}for error checking -->
 
 
<!---------------------------------------------->
 
<!---------------------------------------------->
 
<!-- The below two loops multiply the number of  
 
<!-- The below two loops multiply the number of  
Line 110: Line 103:
 
Templates for easy maintenance/adjustment-->
 
Templates for easy maintenance/adjustment-->
 
<!---------------------------------------------->
 
<!---------------------------------------------->
   
+
  {{ #vardefine: icp | 0 }}
{{ #vardefine: icp | 0 }}
+
 
{{#vardefine:sumcampall}}
 
{{#vardefine:sumcampall}}
 
{{
 
{{
Line 132: Line 124:
 
<!--{{#arrayprint:subsumbatall2}}for error checking -->
 
<!--{{#arrayprint:subsumbatall2}}for error checking -->
 
<!--{{#arrayprint:subsumcampall2}}for error checking -->
 
<!--{{#arrayprint:subsumcampall2}}for error checking -->
 
 
<!-------------------------------------------------------->
 
<!-------------------------------------------------------->
 
<!-- Merge the three arrays together to make one large array  
 
<!-- Merge the three arrays together to make one large array  
Line 162: Line 153:
 
{{#arraydefine:arrallsum|{{#sub:{{#var:allsum}}|1}}|$}}
 
{{#arraydefine:arrallsum|{{#sub:{{#var:allsum}}|1}}|$}}
 
<!--{{#arrayprint:arrallsum}}for error checking -->
 
<!--{{#arrayprint:arrallsum}}for error checking -->
 
 
<!-------------------------------------------------------->
 
<!-------------------------------------------------------->
 
<!-- The below goes through the total array and compares
 
<!-- The below goes through the total array and compares
Line 186: Line 176:
 
2nd highest faction:{{#var:2ndhighfaction}}<br>
 
2nd highest faction:{{#var:2ndhighfaction}}<br>
 
Highest faction: {{#var:highfaction}}
 
Highest faction: {{#var:highfaction}}
 
 
<!-------------------------------------------------------->
 
<!-------------------------------------------------------->
 
<!--The 2nd highest and highest faction are now compared to check
 
<!--The 2nd highest and highest faction are now compared to check

Revision as of 05:32, 6 September 2014

Template:Army/Preload Template:Preset Army Data Trial:Legio CIX Template:.IArmy/Preload

new Sirrob01

Value1:Sirrob01


DPL Fun











Expression error: Missing operand for >. 2nd highest faction:0@0
Highest faction: 0@0

Influence Summary
Faction Influence
p>Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.</p>










junk 3

a:A, a, b, A

x:A, A
a:A, a, b, A






15


junk2

  • 0* 1* 2
→ yes

for(int i = 0; i < size; i++) with an if statement inside it, like this 1 2 if(num > largets) largest = num;

Legio Topper


Blanche DA.jpg
Legio I.png
Legio Nil.png
Legio Nil.png
Legio Nil.png
DA Legionary Primaris 2.jpg
Legio Nil.png
Legio I.png
Legio Nil.png
Hh da by warbringervi-dalm316.jpg
VolkTroop.png
Legio Nil.png
Legio I.png
Legio I.png
Legio Nil.png

Break

default Loyalist.png

Initial Array setup

apple@red, apple@green, green@apple, apple@red, apple@purple, purple@apple, apple@purple, apple@purple, apple@purple, apple@purple

apple@red, apple@green, green@apple, apple@purple, purple@apple





apple@red@2
apple@green@1
green@apple@1

unique list enemys

red, green, purple

Final Array

red@2@0$green@1@1$purple@5@1$

Final Output

red@2@0, green@1@1, purple@5@1,

apple fought
Combatants Won Lost
red 2 0
green 1 1
purple 5 1

Top Banner

Dark Angels White Scars Space Wolves Imperial Fists Blood Angels Iron Hands Ultramarines Salamanders Raven Guard Adeptus Mechanicus Emperor's Children Iron Warriors Night Lords World Eaters Death Guard Thousand Sons Sons of Horus Word Bearers Alpha Legion

Dark Angels
White Scars
Space Wolves
Imperial Fists
Blood Angels
Iron Hands
Ultramarines
Salamanders
Raven Guard
Adeptus Mechanicus
Emperor's Children
Iron Warriors
Night Lords
World Eaters
Death Guard
Thousand Sons
Sons of Horus
Word Bearers
Alpha Legion






Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.







Sirrob01 Battle Major

Sirrob01 Battle Minor


________________________________

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Wrong 'mode' parameter: 'inline'! Using default: 'unordered'. Help: mode= none | ordered | unordered.