Difference between revisions of "Template:MapDetails"
From Dungeon Defenders 2 Wiki
m |
|||
(143 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{#vardefine:maploops|{{{Diffs}}}}} | ||
+ | {{#ifexpr:{{#var:maploops}}>10 |{{#vardefine:maploops|1}} Too many difficulties set.|}} | ||
+ | |||
{{#tag:tabber| | {{#tag:tabber| | ||
− | {{{ | + | {{ |
+ | #loop: i | ||
+ | | 1 | ||
+ | | {{#var:maploops}} | ||
+ | | | ||
+ | {{#if:{{{G{{#var:i}}|}}}|{{#arraydefine:G{{#var:i}}|{{{G{{#var:i}}}}}}}|}} | ||
+ | {{#if:{{{BG{{#var:i}}|}}}|{{#arraydefine:BG{{#var:i}}|{{{BG{{#var:i}}}}}}}|}} | ||
+ | {{#if:{{{JT{{#var:i}}|}}}|{{#arraydefine:JT{{#var:i}}|{{{JT{{#var:i}}}}}}}|}} | ||
+ | {{#if:{{{K{{#var:i}}|}}}|{{#arraydefine:K{{#var:i}}|{{{K{{#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}}}}}}}|}} | ||
+ | |||
+ | iPWR {{{iPWRnDiff{{#var:i}}}}}= {{{!}} cellspacing="5" cellpadding="5" style="text-align:left;" | ||
+ | {{!}}- | ||
+ | ! Enemies | ||
+ | ! Wave 1 | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=2|Wave 2}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=3|Wave 3}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=4|Wave 4}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=5|Wave 5}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=6|Wave 6}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=7|Wave 7}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=8|Wave 8}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=9|Wave 9}} | ||
+ | !{{#ifexpr:{{{Waves{{#var:i}}}}}>=10|Wave 10}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{G{{#var:i}}|}}}| | ||
+ | {{!}}[[Goblins]] | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:G{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{BG{{#var:i}}|}}}| | ||
+ | {{!}}[[Bomb Goblins]] | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:BG{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{JT{{#var:i}}|}}}| | ||
+ | {{!}}[[Javelin Throwers]] | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:JT{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{K{{#var:i}}|}}}| | ||
+ | {{!}}[[Kobolds_(Regular)|Kobolds]] | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:K{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{FK{{#var:i}}|}}}| | ||
+ | {{!}}[[Flying Kobolds]] | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:FK{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{DM{{#var:i}}|}}}| | ||
+ | {{!}}[[Dark Mages]] | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:DM{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{WB{{#var:i}}|}}}| | ||
+ | {{!}}[[Witherbeasts]] | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:WB{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{O{{#var:i}}|}}}| | ||
+ | {{!}}[[Orcs]] | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:O{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{LO{{#var:i}}|}}}| | ||
+ | {{!}}[[Lady Orcs]] | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:LO{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{OG{{#var:i}}|}}}| | ||
+ | {{!}}[[Ogres]] | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:OG{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{W{{#var:i}}|}}}| | ||
+ | {{!}}[[Wyverns]] | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:W{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{D{{#var:i}}|}}}| | ||
+ | {{!}}[[Drakins]] | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:D{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{WBR{{#var:i}}|}}}| | ||
+ | {{!}}[[Warboars]] | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:WBR{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}- | ||
+ | {{#if:{{{LB{{#var:i}}|}}}| | ||
+ | {{!}}[[Lightning Bugs]] | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|0| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|1| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|2| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|3| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|4| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|5| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|6| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|7| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|8| }} | ||
+ | {{!}}{{#arrayindex:LB{{#var:i}}|9| }} | ||
+ | |}} | ||
+ | {{!}}} | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
− | {{#if:{{{ | + | |
− | {{!}}-{{!}} | + | <!--{{#if:{{{iPWRnDiff2|}}}|{{{iPWRnDiff2}}}= {{#arrayindex:Kobolds |1}}--> |
− | |}} | + | <!--{{!}}-{{!}}|}}--> |
+ | <!--{{#if:{{{iPWRnDiff3|}}}|{{{iPWRnDiff3}}}= {{#arrayprint:enemies}}--> | ||
+ | <!--{{!}}-{{!}}|}}--> | ||
+ | }} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<noinclude> | <noinclude> | ||
Line 22: | Line 250: | ||
| Enemies|| Enemies | | Enemies|| Enemies | ||
|- | |- | ||
− | | | + | | G1 || Goblins |
+ | |- | ||
+ | | BG1 || Bomb Goblins | ||
+ | |- | ||
+ | | JT1 || Javelin Throwers | ||
+ | |- | ||
+ | | K1 || 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 |
|- | |- | ||
− | | | + | | Waves1 || Total Amount of Waves. |
|- | |- | ||
− | | | + | | iPWRnDiff1 || What are the iPWR ranges and difficulty |
|} | |} | ||
===Example=== | ===Example=== | ||
− | <nowiki>{{MapDetails | | + | <nowiki>{{MapDetails | G1=0,6,7,8,9 | G2=4 | G3=9 | D2=20,30,40,50,60 | BG1=1,5,203,1904,205 | DM1=5,9,0,40,4 | WB1=2,3 | LB1=5,14,200 | Waves1=5 | Waves2=9 | Waves3=2 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal) | iPWRnDiff3=50-200(Hard) | Diffs=3}}</nowiki> produces the following: |
− | {{MapDetails | | + | {{MapDetails | G1=0,6,7,8,9 | G2=4 | G3=9 | D2=20,30,40,50,60 | BG1=1,5,203,1904,205 | DM1=5,9,0,40,4 | WB1=2,3 | LB1=5,14,200 | Waves1=5 | Waves2=9 | Waves3=2 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal) | iPWRnDiff3=50-200(Hard) | Diffs=3}} |
</noinclude> | </noinclude> |
Latest revision as of 15:14, 1 April 2016
Expression error: Unrecognized punctuation character "{".
Parameters
Parameter | Description |
---|---|
Enemies | Enemies |
G1 | Goblins |
BG1 | Bomb Goblins |
JT1 | Javelin Throwers |
K1 | 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 |
Waves1 | Total Amount of Waves. |
iPWRnDiff1 | What are the iPWR ranges and difficulty |
Example
{{MapDetails | G1=0,6,7,8,9 | G2=4 | G3=9 | D2=20,30,40,50,60 | BG1=1,5,203,1904,205 | DM1=5,9,0,40,4 | WB1=2,3 | LB1=5,14,200 | Waves1=5 | Waves2=9 | Waves3=2 | iPWRnDiff1=5-8(Easy) | iPWRnDiff2=10-20(Normal) | iPWRnDiff3=50-200(Hard) | Diffs=3}} produces the following:
Enemies | Wave 1 | Wave 2 | Wave 3 | Wave 4 | Wave 5 | |||||
---|---|---|---|---|---|---|---|---|---|---|
Goblins | 0 | 6 | 7 | 8 | 9 | |||||
Bomb Goblins | 1 | 5 | 203 | 1904 | 205 | |||||
Dark Mages | 5 | 9 | 0 | 40 | 4 | |||||
Witherbeasts | 2 | 3 | ||||||||
Lightning Bugs | 5 | 14 | 200 |
Enemies | Wave 1 | Wave 2 | Wave 3 | Wave 4 | Wave 5 | Wave 6 | Wave 7 | Wave 8 | Wave 9 | |
---|---|---|---|---|---|---|---|---|---|---|
Goblins | 4 | |||||||||
Drakins | 20 | 30 | 40 | 50 | 60 |
Enemies | Wave 1 | Wave 2 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Goblins | 9 |