Difference between revisions of "Template:MapDetails"
From Dungeon Defenders 2 Wiki
Line 4: | Line 4: | ||
{{#arraydefine:Kobolds|{{{Kobolds}}}}} | {{#arraydefine:Kobolds|{{{Kobolds}}}}} | ||
+ | {{#if:{{#arraysize:Kobolds|}}|{{#arrayindex:Kobolds |1}}|}} | ||
{{#tag:tabber| | {{#tag:tabber| | ||
− | Levels {{{LRangenDiff1}}}= {{#arrayindex: | + | Levels {{{LRangenDiff1}}}= {| |
+ | ! style="text-align:left;"| Wave 1 | ||
+ | ! Wave 2 | ||
+ | |- | ||
+ | {{#if:{{#arraysize:Kobolds|}}||Kobolds:{{#arrayindex:Kobolds |0}}|{{#arrayindex:Kobolds |1}}|}} | ||
+ | |} | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
− | {{#if:{{{LRangenDiff2|}}}|Levels {{{LRangenDiff2}}}= | + | {{#if:{{{LRangenDiff2|}}}|Levels {{{LRangenDiff2}}}= {{#arrayindex:Kobolds |1}} |
{{!}}-{{!}}|}} | {{!}}-{{!}}|}} | ||
{{#if:{{{LRangenDiff3|}}}|Levels {{{LRangenDiff3}}}= {{#arrayprint:enemies}} | {{#if:{{{LRangenDiff3|}}}|Levels {{{LRangenDiff3}}}= {{#arrayprint:enemies}} |
Revision as of 17:57, 31 March 2016
{
Parameters
Parameter | Description |
---|---|
Enemies | Enemies |
Goblins | |
Bomb Goblins | |
Kobolds | |
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 "{".