Difference between revisions of "Template:MapDetails"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 30: Line 30:
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:G1|}}|{{!}}[[Goblins]]{{!}}{{#arrayindex:G1|0|}}|}}
+
{{#ifexpr:{{#arrayindex:G1|0}}=1|
 +
{{!}}[[Goblins]]
 +
{{!}}{{#arrayindex:G1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:BG1|}}|{{!}}[[Bomb Goblins]]{{!}}{{#arrayindex:BG1|0|}}|}}
+
{{#ifexpr:{{#arrayindex:BG1|0}}=1|
 +
{{!}}[[Bomb Goblins]]
 +
{{!}}{{#arrayindex:BG1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
 
{{#ifexpr:{{#arrayindex:JT1|0}}=1|
 
{{#ifexpr:{{#arrayindex:JT1|0}}=1|
Line 54: Line 60:
 
|}}
 
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:WB1|}}|{{!}}[[Witherbeasts]]|}}
+
{{#ifexpr:{{#arrayindex:WB1|0}}=1|
 +
{{!}}[[Witherbeasts]]
 +
{{!}}{{#arrayindex:WB1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:O1|}}|{{!}}[[Ogres]]|}}
+
{{#ifexpr:{{#arrayindex:O1|0}}=1|
 +
{{!}}[[Ogres]]
 +
{{!}}{{#arrayindex:O1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:LO1|}}|{{!}}[[Lady Orcs]]|}}
+
{{#ifexpr:{{#arrayindex:LO1|0}}=1|
 +
{{!}}[[Lady Orcs]]
 +
{{!}}{{#arrayindex:LO1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:NO1|}}|{{!}}[[Orcs]]|}}
+
{{#ifexpr:{{#arrayindex:NO1|0}}=1|
 +
{{!}}[[Orcs]]
 +
{{!}}{{#arrayindex:NO1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:W1|}}|{{!}}[[Wyverns]]|}}
+
{{#ifexpr:{{#arrayindex:W1|0}}=1|
 +
{{!}}[[Wyverns]]
 +
{{!}}{{#arrayindex:W1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:D1|}}|{{!}}[[Drakins]]|}}
+
{{#ifexpr:{{#arrayindex:D1|0}}=1|
 +
{{!}}[[Drakins]]
 +
{{!}}{{#arrayindex:D1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:WBR1|}}|{{!}}[[Warboards]]|}}
+
{{#ifexpr:{{#arrayindex:WBR1|0}}=1|
 +
{{!}}[[Warboards]]
 +
{{!}}{{#arrayindex:WBR1|1| }}
 +
|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:LB1|}}|{{!}}[[Lightning Bugs]]|}}
+
{{#ifexpr:{{#arrayindex:LB1|0}}=1|
 +
{{!}}[[Lightning Bugs]]
 +
{{!}}{{#arrayindex:LB1|1| }}
 +
|}}
 
{{!}}}
 
{{!}}}
  

Revision as of 21:20, 31 March 2016









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 "{".Expression error: Unrecognized punctuation character "{".Expression error: Unexpected = operator.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 "{".


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 Ogres
LO1 Lady Orcs
NO1 Normal Orcs
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 | Enemies=Goblins,Bomb Goblins,Kobolds,Warboars,Orcs,Drakins,Javelin Throwers,Wyverns | Waves=5 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}} produces the following:


Expression error: Unrecognized punctuation character "{".