Difference between revisions of "Template:MapDetails"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 14: Line 14:
 
{{#arraydefine:WBR1|{{{WBR1}}}}}
 
{{#arraydefine:WBR1|{{{WBR1}}}}}
 
{{#arraydefine:LB1|{{{LB1}}}}}
 
{{#arraydefine:LB1|{{{LB1}}}}}
 
{{#arrayindex:NK1|0}}
 
 
{{#arrayindex:NK1 |0}}
 
  
 
{{#tag:tabber|
 
{{#tag:tabber|
Line 34: Line 30:
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
!{{#ifexpr:{{{Waves}}}>=10|Wave 10}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:G1|}}|{{!}}[[Goblins]]{{#arrayprint:G1|0}}|}}
+
{{#if:{{#arraysize:G1|}}|{{!}}[[Goblins]]{{#arrayindex:G1|0}}|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:BG1|}}|{{!}}[[Bomb Goblins]]|}}
+
{{#if:{{#arraysize:BG1|}}|{{!}}[[Bomb Goblins]]{{#arrayindex:BG1|0}}|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:JT1|}}|{{!}}[[Javelin Throwers]]|}}
+
{{#if:{{#arraysize:JT1|}}|{{!}}[[Javelin Throwers]]{{#arrayindex:JT1|0}}|}}
 
{{!}}-
 
{{!}}-
{{#if:{{#arraysize:NK1|}}|{{!}}[[Normal Kobolds]]{{#arrayprint:NK1|0}}|}}
+
{{#if:{{#arraysize:NK1|}}|{{!}}[[Normal Kobolds]]{{#arrayindex:NK1|0}}|}}
 
{{!}}-
 
{{!}}-
 
{{#if:{{#arraysize:FK1|}}|{{!}}[[Flying Kobolds]]|}}
 
{{#if:{{#arraysize:FK1|}}|{{!}}[[Flying Kobolds]]|}}

Revision as of 20:57, 31 March 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 "{".
Goblins{{{G1}}}
Bomb Goblins{{{BG1}}}
Javelin Throwers{{{JT1}}}
Normal Kobolds{{{NK1}}}
Flying Kobolds
Dark Mages
Witherbeasts
Ogres
Lady Orcs
Orcs
Drakins
Warboards
Lightning Bugs


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 "{".