Difference between revisions of "Template:MapDetails"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 6: Line 6:
 
   |
 
   |
 
{{#if:{{{G{{#var:i}}|}}}|{{#arraydefine:G{{#var:i}}|{{{G{{#var:i}}}}}}}|}}
 
{{#if:{{{G{{#var:i}}|}}}|{{#arraydefine:G{{#var:i}}|{{{G{{#var:i}}}}}}}|}}
{{#arrayindex:G{{#var:i}}|0| }}
+
{{#if:{{{BG{{#var:i}}|}}}|{{#arraydefine:BG{{#var:i}}|{{{BG{{#var:i}}}}}}}|}}
 +
{{#if:{{{JT{{#var:i}}|}}}|{{#arraydefine:JT{{#var:i}}|{{{JT{{#var:i}}}}}}}|}}
 +
{{#if:{{{NK{{#var:i}}|}}}|{{#arraydefine:NK{{#var:i}}|{{{NK{{#var:i}}}}}}}|}}
 +
{{#if:{{{FK{{#var:i}}|}}}|{{#arraydefine:FK{{#var:i}}|{{{FK{{#var:i}}}}}}}|}}
 +
{{#if:{{{DM{{#var:i}}|}}}|{{#arraydefine:DM{{#var:i}}|{{{DM{{#var:i}}}}}}}|}}
 +
{{#if:{{{WB{{#var:i}}|}}}|{{#arraydefine:WB{{#var:i}}|{{{WB{{#var:i}}}}}}}|}}
 +
{{#if:{{{O{{#var:i}}|}}}|{{#arraydefine:O{{#var:i}}|{{{O{{#var:i}}}}}}}|}}
 +
{{#if:{{{LO{{#var:i}}|}}}|{{#arraydefine:LO{{#var:i}}|{{{LO{{#var:i}}}}}}}|}}
 +
{{#if:{{{OG{{#var:i}}|}}}|{{#arraydefine:OG{{#var:i}}|{{{OG{{#var:i}}}}}}}|}}
 +
{{#if:{{{W{{#var:i}}|}}}|{{#arraydefine:W{{#var:i}}|{{{W{{#var:i}}}}}}}|}}
 +
{{#if:{{{D{{#var:i}}|}}}|{{#arraydefine:D{{#var:i}}|{{{D{{#var:i}}}}}}}|}}
 +
{{#if:{{{WBR{{#var:i}}|}}}|{{#arraydefine:WBR{{#var:i}}|{{{WBR{{#var:i}}}}}}}|}}
 +
{{#if:{{{LB{{#var:i}}|}}}|{{#arraydefine:LB{{#var:i}}|{{{LB{{#var:i}}}}}}}|}}
 
}}
 
}}
 
 
{{#if:{{{BG1|}}}|{{#arraydefine:BG1|{{{BG1}}}}}|}}
 
{{#if:{{{JT1|}}}|{{#arraydefine:JT1|{{{JT1}}}}}|}}
 
{{#if:{{{NK1|}}}|{{#arraydefine:NK1|{{{NK1}}}}}|}}
 
{{#if:{{{FK1|}}}|{{#arraydefine:FK1|{{{FK1}}}}}|}}
 
{{#if:{{{DM1|}}}|{{#arraydefine:DM1|{{{DM1}}}}}|}}
 
{{#if:{{{WB1|}}}|{{#arraydefine:WB1|{{{WB1}}}}}|}}
 
{{#if:{{{O1|}}}|{{#arraydefine:O1|{{{O1}}}}}|}}
 
{{#if:{{{LO1|}}}|{{#arraydefine:LO1|{{{LO1}}}}}|}}
 
{{#if:{{{OG1|}}}|{{#arraydefine:OG1|{{{OG1}}}}}|}}
 
{{#if:{{{W1|}}}|{{#arraydefine:W1|{{{W1}}}}}|}}
 
{{#if:{{{D1|}}}|{{#arraydefine:D1|{{{D1}}}}}|}}
 
{{#if:{{{WBR1|}}}|{{#arraydefine:WBR1|{{{WBR1}}}}}|}}
 
{{#if:{{{LB1|}}}|{{#arraydefine:LB1|{{{LB1}}}}}|}}
 
 
  
  
  
 
{{#tag:tabber|
 
{{#tag:tabber|
iPWR {{{iPWRnDiff1}}}= {{{!}} cellspacing="5" cellpadding="5" style="text-align:left;"
+
iPWR {{{iPWRnDiff{{#var:i}}}}}= {{{!}} cellspacing="5" cellpadding="5" style="text-align:left;"
 
{{!}}-
 
{{!}}-
 
! Enemies
 
! Enemies
Line 42: Line 38:
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
{{!}}-
 
{{!}}-
{{#if:{{{G1|}}}|
+
{{#if:{{{G{{#var:i}}|}}}|
 
{{!}}[[Goblins]]
 
{{!}}[[Goblins]]
{{!}}{{#arrayindex:G1|0| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|0| }}
{{!}}{{#arrayindex:G1|1| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|1| }}
{{!}}{{#arrayindex:G1|2| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|2| }}
{{!}}{{#arrayindex:G1|3| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|3| }}
{{!}}{{#arrayindex:G1|4| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|4| }}
{{!}}{{#arrayindex:G1|5| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|5| }}
{{!}}{{#arrayindex:G1|6| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|6| }}
{{!}}{{#arrayindex:G1|7| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|7| }}
{{!}}{{#arrayindex:G1|8| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|8| }}
{{!}}{{#arrayindex:G1|9| }}
+
{{!}}{{#arrayindex:G{{#var:i}}|9| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{BG1|}}}|
+
{{#if:{{{BG{{#var:i}}|}}}|
 
{{!}}[[Bomb Goblins]]
 
{{!}}[[Bomb Goblins]]
{{!}}{{#arrayindex:BG1|0| }}
+
{{!}}{{#arrayindex:BG{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{JT1|}}}|
+
{{#if:{{{JT{{#var:i}}|}}}|
 
{{!}}[[Javelin Throwers]]
 
{{!}}[[Javelin Throwers]]
{{!}}{{#arrayindex:JT1|0| }}
+
{{!}}{{#arrayindex:JT{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{NK1|}}}|
+
{{#if:{{{NK{{#var:i}}|}}}|
 
{{!}}[[Normal Kobolds]]
 
{{!}}[[Normal Kobolds]]
{{!}}{{#arrayindex:NK1|0| }}
+
{{!}}{{#arrayindex:NK{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{FK1|}}}|
+
{{#if:{{{FK{{#var:i}}|}}}|
 
{{!}}[[Flying Kobolds]]
 
{{!}}[[Flying Kobolds]]
{{!}}{{#arrayindex:FK1|0| }}
+
{{!}}{{#arrayindex:FK{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{DM1|}}}|
+
{{#if:{{{DM{{#var:i}}|}}}|
 
{{!}}[[Dark Mages]]
 
{{!}}[[Dark Mages]]
{{!}}{{#arrayindex:DM1|0| }}
+
{{!}}{{#arrayindex:DM{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{WB1|}}}|
+
{{#if:{{{WB{{#var:i}}|}}}|
 
{{!}}[[Witherbeasts]]
 
{{!}}[[Witherbeasts]]
{{!}}{{#arrayindex:WB1|0| }}
+
{{!}}{{#arrayindex:WB{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{O1|}}}|
+
{{#if:{{{O{{#var:i}}|}}}|
 
{{!}}[[Orcs]]
 
{{!}}[[Orcs]]
{{!}}{{#arrayindex:O1|0| }}
+
{{!}}{{#arrayindex:O{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{LO1|}}}|
+
{{#if:{{{LO{{#var:i}}|}}}|
 
{{!}}[[Lady Orcs]]
 
{{!}}[[Lady Orcs]]
{{!}}{{#arrayindex:LO1|0| }}
+
{{!}}{{#arrayindex:LO{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{OG1|}}}|
+
{{#if:{{{OG{{#var:i}}|}}}|
 
{{!}}[[Ogres]]
 
{{!}}[[Ogres]]
{{!}}{{#arrayindex:OG1|0| }}
+
{{!}}{{#arrayindex:OG{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{W1|}}}|
+
{{#if:{{{W{{#var:i}}|}}}|
 
{{!}}[[Wyverns]]
 
{{!}}[[Wyverns]]
{{!}}{{#arrayindex:W1|0| }}
+
{{!}}{{#arrayindex:W{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{D1|}}}|
+
{{#if:{{{D{{#var:i}}|}}}|
 
{{!}}[[Drakins]]
 
{{!}}[[Drakins]]
{{!}}{{#arrayindex:D1|0| }}
+
{{!}}{{#arrayindex:D{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{WBR1|}}}|
+
{{#if:{{{WBR{{#var:i}}|}}}|
 
{{!}}[[Warboards]]
 
{{!}}[[Warboards]]
{{!}}{{#arrayindex:WBR1|0| }}
+
{{!}}{{#arrayindex:WBR{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{{LB1|}}}|
+
{{#if:{{{LB{{#var:i}}|}}}|
 
{{!}}[[Lightning Bugs]]
 
{{!}}[[Lightning Bugs]]
{{!}}{{#arrayindex:LB1|0| }}
+
{{!}}{{#arrayindex:LB{{#var:i}}|0| }}
 
|}}
 
|}}
 
{{!}}}
 
{{!}}}
 +
{{!}}-{{!}}
  
{{!}}-{{!}}
+
<!--{{#if:{{{iPWRnDiff2|}}}|{{{iPWRnDiff2}}}= {{#arrayindex:Kobolds |1}}-->
{{#if:{{{iPWRnDiff2|}}}|{{{iPWRnDiff2}}}= {{#arrayindex:Kobolds |1}}
+
<!--{{!}}-{{!}}|}}-->
{{!}}-{{!}}|}}
+
<!--{{#if:{{{iPWRnDiff3|}}}|{{{iPWRnDiff3}}}= {{#arrayprint:enemies}}-->
{{#if:{{{iPWRnDiff3|}}}|{{{iPWRnDiff3}}}= {{#arrayprint:enemies}}
+
<!--{{!}}-{{!}}|}}-->
{{!}}-{{!}}|}}
 
 
}}
 
}}
  
Line 180: Line 176:
  
 
===Example===
 
===Example===
<nowiki>{{MapDetails | G1=0,6,7,8,9 | BG1=1,5,203,1904,205 | DM1=5,9,0,40,4 | WB1=2,3 | LB1=5,14,200 | Waves=5 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal)}}</nowiki> produces the following:
+
<nowiki>{{MapDetails | G{{#var:i}}=0,6,7,8,9 | BG{{#var:i}}=1,5,203,1904,205 | DM{{#var:i}}=5,9,0,40,4 | WB{{#var:i}}=2,3 | LB{{#var:i}}=5,14,200 | Waves=5 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal)}}</nowiki> produces the following:
  
{{MapDetails | G1=0,6,7,8,9 | G2=4 | G3=9 | BG1=1,5,203,1904,205 | DM1=5,9,0,40,4 | WB1=2,3 | LB1=5,14,200 | Waves=5 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal) | Diffs=3}}
+
{{MapDetails | G{{#var:i}}=0,6,7,8,9 | G2=4 | G3=9 | BG{{#var:i}}=1,5,203,1904,205 | DM{{#var:i}}=5,9,0,40,4 | WB{{#var:i}}=2,3 | LB{{#var:i}}=5,14,200 | Waves=5 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal) | iPWRnDiff3=50-200(Hard) | Diffs=3}}
 
</noinclude>
 
</noinclude>

Revision as of 08:51, 1 April 2016



Enemies Wave 1 Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".


Parameters

Parameter Description
Enemies Enemies
G1 Goblins
BG1 Bomb Goblins
JT1 Javelin Throwers
NK1 Normal Kobolds
FK1 Flying Kobolds
DM1 Dark Mages
WB1 Witherbeasts
O1 Orcs
LO1 Lady Orcs
OG1 Ogres
W1 Wyverns
D1 Drakins
WBR1 Warboars
LB1 Lightning Bugs
Waves Total Amount of Waves.
iPWRnDiff1 What are the iPWR ranges and difficulty
iPWRnDiff2 What are the iPWR ranges and difficulty
iPWRnDiff3 What are the iPWR ranges and difficulty
iPWRnDiff4 What are the iPWR ranges and difficulty
iPWRnDiff5 What are the iPWR ranges and difficulty

Example

{{MapDetails | G{{#var:i}}=0,6,7,8,9 | BG{{#var:i}}=1,5,203,1904,205 | DM{{#var:i}}=5,9,0,40,4 | WB{{#var:i}}=2,3 | LB{{#var:i}}=5,14,200 | Waves=5 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal)}} produces the following:



Enemies Wave 1 Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".

Enemies Wave 1 Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Goblins 4

Enemies Wave 1 Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".
Goblins 9