Difference between revisions of "Template:MapDetails"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#arraydefine:waves|{{{Waves}}}}}
+
{{#arraydefine:enemies|{{{Enemies}}}}}
  
 
{{#tag:tabber|
 
{{#tag:tabber|
Levels {{{LRangenDiff1}}}= {{#arrayprint:waves}}
+
Levels {{{LRangenDiff1}}}= {{#arrayprint:enemies}}
 
{{!}}-{{!}}
 
{{!}}-{{!}}
{{#if:{{{LRangenDiff2|}}}|Levels {{{LRangenDiff2}}}= {{#arrayprint:waves}}
+
{{#if:{{{LRangenDiff2|}}}|Levels {{{LRangenDiff2}}}= {{#arrayprint:enemies}}
 
{{!}}-{{!}}|}}
 
{{!}}-{{!}}|}}
{{#if:{{{LRangenDiff3|}}}|Levels {{{LRangenDiff3}}}= {{#arrayprint:waves}}
+
{{#if:{{{LRangenDiff3|}}}|Levels {{{LRangenDiff3}}}= {{#arrayprint:enemies}}
 
{{!}}-{{!}}|}}
 
{{!}}-{{!}}|}}
 
}}
 
}}
Line 31: Line 31:
  
 
===Example===
 
===Example===
<nowiki>{{MapDetails | Waves=3 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}}</nowiki> produces the following:
+
<nowiki>{{MapDetails | Enemies=Goblins,Bomb Goblins,Kobolds,Warboars,Orcs,Drakins,Javelin Throwers,Wyverns | Waves=3 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}}</nowiki> produces the following:
  
{{MapDetails | Waves=3 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}}
+
{{MapDetails | Enemies=Goblins,Bomb Goblins,Kobolds,Warboars,Orcs,Drakins,Javelin Throwers,Wyverns | Waves=3 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}}
 
</noinclude>
 
</noinclude>

Revision as of 17:28, 31 March 2016


{{{Enemies}}}


Parameters

Parameter Description
Enemies Enemies
EnemiesPW Enemies Per Wave
Waves Total Amount of Waves.
LRangenDiff1 What Are the level Ranges and difficulty
LRangenDiff2 What Are the level Ranges and difficulty
LRangenDiff3 What Are the level Ranges and difficulty

Example

{{MapDetails | Enemies=Goblins,Bomb Goblins,Kobolds,Warboars,Orcs,Drakins,Javelin Throwers,Wyverns | Waves=3 | LRangenDiff1=5-8(Easy) | LRangenDiff2=10-20(Normal)}} produces the following:


Expression error: Unrecognized punctuation character "{".