Difference between revisions of "Template:Enemy Infobox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Massive overhaul of this template. Cleaning up the wikitext, documenting the parameters, and adding native support for tabbers for enemies with 3 tiers.)
(Lowering font size down to 100% for field values)
Line 31: Line 31:
 
|-
 
|-
 
| '''Enemy Types'''
 
| '''Enemy Types'''
| style="font-size:120%" |{{{enemy_types|?}}}
+
|{{{enemy_types|?}}}
 
|-
 
|-
 
| '''Lane Type'''
 
| '''Lane Type'''
| style="font-size:120%" |<!--
+
|{{#switch: {{{primary_lane|}}}
-->{{#switch: {{{primary_lane|}}}
 
 
     | Ground = [[File:Ground_Spawn_Symbol.png|30px]] Ground
 
     | Ground = [[File:Ground_Spawn_Symbol.png|30px]] Ground
 
     | Air = [[File:Air_Spawn_Symbol.png|30px]] Air
 
     | Air = [[File:Air_Spawn_Symbol.png|30px]] Air
Line 42: Line 41:
 
|-
 
|-
 
| '''Appearances'''
 
| '''Appearances'''
| style="font-size:120%" |{{{appearances|?}}}
+
|{{{appearances|?}}}
 
|-
 
|-
 
| '''Schedule Icon'''
 
| '''Schedule Icon'''
| style="font-size:120%" |{{{schedule_icon|?}}}
+
|{{{schedule_icon|?}}}
 
|-
 
|-
 
|}
 
|}

Revision as of 01:43, 9 February 2023

Enemy Infobox
DefaultEnemy.png
Information
Enemy Types ?
Lane Type ?
Appearances ?
Schedule Icon ?


Parameters

Parameter Description
name The name of the enemy.
subname The subname of the enemy, if needed. Shows up underneath the name in smaller text inside parenthesis.
image The image for the enemy. Do not use this parameter if you use the tier_image parameters.
tier1_image The image for the tier 1 version of the enemy.
tier2_image The image for the tier 2 version of the enemy.
tier3_image The image for the tier 3 version of the enemy.
caption A caption for the image, if needed. Shows up underneath the image.
enemy_types The enemy's typing (such as Melee, Chaos, etc).
lane_type The type of lane the enemy appears in (Ground or Air).
appearances The game modes the enemy appears in.
schedule_icon The enemy's icon on the Schedule Board.
width A custom width for the info box. Default value is 23em.