Difference between revisions of "Template:Legio Battle Extract"

From Australis Ultima 30k
Jump to: navigation, search
(Created page with "{| class="wikitable" style="" {{#vardefine:errcheck|{{#sub:{{#dpl: |category =Battlereport |category =Battle |category ={{PAGENAME}} |notnamespace=Template }}|3|9}}}} {{#ifeq:...")
 
m
Line 32: Line 32:
 
|category =Battle
 
|category =Battle
 
|category ={{PAGENAME}}
 
|category ={{PAGENAME}}
|include={Campaign Honour}:image2,{Battlereport}:date,{armyname}:armyname,{Battlereport}:outcome,#Campaign Summary[200],  
+
|include={Battlereport}:date,{armyname}:armyname,{Battlereport}:outcome,#Battle Summary[200],  
 
|notnamespace=Template
 
|notnamespace=Template
 
|format=,[[%PAGE%]],$
 
|format=,[[%PAGE%]],$
 
|secseparators=¶¦
 
|secseparators=¶¦
}}|$}}
+
}}|$}}{{!!}}Date
{{!!}}Badge
+
{{!!}}Date
+
 
{{!!}}Campaign Name
 
{{!!}}Campaign Name
 
{{!!}}Campaign Summary
 
{{!!}}Campaign Summary
Line 51: Line 49:
 
   | {{ #ifexpr: {{ #var: ilc }} < {{#expr:{{#var:cntlegiocam}}-1}} | true }}
 
   | {{ #ifexpr: {{ #var: ilc }} < {{#expr:{{#var:cntlegiocam}}-1}} | true }}
 
   |{{!-}}
 
   |{{!-}}
{{!}}{{#vardefine:tmpimg|{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|1}}}}[[{{#var:tmpimg}}|25px]]
+
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|1}}
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|2}}
+
 
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|0}}
 
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|0}}
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|5}}{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|6}}
+
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|4}}{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|5}}
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|4}}
+
{{!}}{{#explode:{{#arrayindex:legiocam|{{#var: ilc}}}}|{{!}}|3}}
{{#arraydefine:llegiocam|{{#sub:{{#explode:{{#replace:{{#arrayindex:legiocam|{{#var: ilc}}}}|L|@L}}|{{!}}|3}}|1|{{#len:{{#replace:{{#arrayindex:legiocam|{{#var: ilc}}}}|L|@L}}}}}}|@}}{{#vardefine:cntllegiocam|{{#arraysize:llegiocam}}}}{{ #vardefine: ilc2 | 0 }}{{!}}
+
{{#arraydefine:llegiocam|{{#sub:{{#explode:{{#replace:{{#arrayindex:legiocam|{{#var: ilc}}}}|L|@L}}|{{!}}|2}}|1|{{#len:{{#replace:{{#arrayindex:legiocam|{{#var: ilc}}}}|L|@L}}}}}}|@}}{{#vardefine:cntllegiocam|{{#arraysize:llegiocam}}}}{{ #vardefine: ilc2 | 0 }}{{!}}
 
{{#while:
 
{{#while:
 
   | {{ #ifexpr: {{ #var: ilc2 }} < {{#var:cntllegiocam}} | true }}
 
   | {{ #ifexpr: {{ #var: ilc2 }} < {{#var:cntllegiocam}} | true }}

Revision as of 23:33, 31 August 2014

Imperial Search....No Result