Difference between revisions of "Template:MapDetails"
From Dungeon Defenders 2 Wiki
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}}}}}}}|}} | ||
− | {{# | + | {{#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}}}}}}}|}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#tag:tabber| | {{#tag:tabber| | ||
− | iPWR {{{ | + | 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:{{{ | + | {{#if:{{{G{{#var:i}}|}}}| |
{{!}}[[Goblins]] | {{!}}[[Goblins]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|0| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|1| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|2| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|3| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|4| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|5| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|6| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|7| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|8| }} |
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:G{{#var:i}}|9| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{BG{{#var:i}}|}}}| |
{{!}}[[Bomb Goblins]] | {{!}}[[Bomb Goblins]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:BG{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{JT{{#var:i}}|}}}| |
{{!}}[[Javelin Throwers]] | {{!}}[[Javelin Throwers]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:JT{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{NK{{#var:i}}|}}}| |
{{!}}[[Normal Kobolds]] | {{!}}[[Normal Kobolds]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:NK{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{FK{{#var:i}}|}}}| |
{{!}}[[Flying Kobolds]] | {{!}}[[Flying Kobolds]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:FK{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{DM{{#var:i}}|}}}| |
{{!}}[[Dark Mages]] | {{!}}[[Dark Mages]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:DM{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{WB{{#var:i}}|}}}| |
{{!}}[[Witherbeasts]] | {{!}}[[Witherbeasts]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:WB{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{O{{#var:i}}|}}}| |
{{!}}[[Orcs]] | {{!}}[[Orcs]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:O{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{LO{{#var:i}}|}}}| |
{{!}}[[Lady Orcs]] | {{!}}[[Lady Orcs]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:LO{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{OG{{#var:i}}|}}}| |
{{!}}[[Ogres]] | {{!}}[[Ogres]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:OG{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{W{{#var:i}}|}}}| |
{{!}}[[Wyverns]] | {{!}}[[Wyverns]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:W{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{D{{#var:i}}|}}}| |
{{!}}[[Drakins]] | {{!}}[[Drakins]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:D{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{WBR{{#var:i}}|}}}| |
{{!}}[[Warboards]] | {{!}}[[Warboards]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#arrayindex:WBR{{#var:i}}|0| }} |
|}} | |}} | ||
{{!}}- | {{!}}- | ||
− | {{#if:{{{ | + | {{#if:{{{LB{{#var:i}}|}}}| |
{{!}}[[Lightning Bugs]] | {{!}}[[Lightning Bugs]] | ||
− | {{!}}{{#arrayindex: | + | {{!}}{{#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 | | + | <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 | | + | {{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 |