Difference between revisions of "Template:Enemy Summary"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m
(Cleaned up and simplified the template, and updated the documentation accordinly)
Line 9: Line 9:
 
         | {{{lane_type|Lane Type?}}}
 
         | {{{lane_type|Lane Type?}}}
 
     }}
 
     }}
−
     {{{name|Name?}}}
+
     [https://wiki.dungeondefenders2.com/wiki/{{{name|Name?}}} <span style="color: #CE47FF;">{{{name|Name?}}}</span>]
 
</p>
 
</p>
 
* '''Enemy Types:''' ''{{{enemy_types|?}}}''
 
* '''Enemy Types:''' ''{{{enemy_types|?}}}''
 
{{#if: {{{variants|}}}
 
{{#if: {{{variants|}}}
 
     | * '''Variants:''' ''{{{variants}}}''
 
     | * '''Variants:''' ''{{{variants}}}''
 +
}}
 
{{#if: {{{origin_stage|}}}
 
{{#if: {{{origin_stage|}}}
 
     | * '''Origin Stage:''' ''{{{origin_stage}}}''
 
     | * '''Origin Stage:''' ''{{{origin_stage}}}''
−
}}}}
+
}}
 
* ''{{{description|Description?}}}''
 
* ''{{{description|Description?}}}''
 
|}<noinclude>
 
|}<noinclude>
Line 27: Line 28:
 
| icon || The icon of the enemy.
 
| icon || The icon of the enemy.
 
|-
 
|-
−
| name || The name of the enemy. Bracket them with a link and color span style.
+
| name || The name of the enemy.
 
|-
 
|-
−
| lane type || The lane that the enemy walks in. Could either be Ground, Air or Boss.
+
| lane_type || The type of lane the enemy spawns in. Could either be Ground, Air or Boss.
 
|-
 
|-
 
| enemy_types || The enemy's typing (such as Melee, Chaos, etc).
 
| enemy_types || The enemy's typing (such as Melee, Chaos, etc).
Line 35: Line 36:
 
| variants || The variant of a particular enemy, could be a miniboss etc.
 
| variants || The variant of a particular enemy, could be a miniboss etc.
 
|-
 
|-
−
| origin_stage || The main region, map, or incursion an enemy is originally from. (only for Special Stage Enemies)
+
| origin_stage || The main region, map, or incursion an enemy is originally from. Only include this field for Special Stage Enemies.  
−
 
 
−
If an enemy doesn't have any variants, "Origin Stage" will have to be applied manually. (No idea how to fix this at the moment)
 
 
|-
 
|-
−
| description || The gist of what does an enemy do.
+
| description || Short description for the enemy.
 
|}
 
|}
  
Line 51: Line 50:
 
     ---><nowiki>
 
     ---><nowiki>
  
−
          {{Enemy Summary
+
            {{Enemy Summary
 
             | icon = File:Vanguard Icon.png
 
             | icon = File:Vanguard Icon.png
−
             | name = '''[https://wiki.dungeondefenders2.com/wiki/Vanguard <span style="color: #CE47FF;">Vanguard</span>]'''
+
             | name = Vanguard
 
             | lane_type = Ground
 
             | lane_type = Ground
 
             | enemy_types = Gobu, Melee, Chaos.
 
             | enemy_types = Gobu, Melee, Chaos.
−
             | variants = [[Vanguard#Miniboss_Variant_-_Shield_Goblin_Gorbstock|Shield Goblin Gorbstock.]]
+
             | variants = [[Shield Goblin Gorbstock]].
−
            | origin_stage = None <u>(not needed for Common or Chaos enemy)</u>
 
−
            * '''Origin Stage:''' <i>(Manual Application if an enemy does not have any variants.)</i>
 
 
             | description = Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles.
 
             | description = Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles.
 
             }}
 
             }}
Line 68: Line 65:
 
{{Enemy Summary
 
{{Enemy Summary
 
| icon = File:Vanguard Icon.png
 
| icon = File:Vanguard Icon.png
−
| name = '''[https://wiki.dungeondefenders2.com/wiki/Vanguard <span style="color: #CE47FF;">Vanguard</span>]'''
+
| name = Vanguard
 
| lane_type = Ground
 
| lane_type = Ground
 
| enemy_types = Gobu, Melee, Chaos.
 
| enemy_types = Gobu, Melee, Chaos.
−
| origin_stage = None <u>(not needed for Common or Chaos enemy)</u>
+
| variants = [[Shield Goblin Gorbstock]].
−
| variants = [[Vanguard#Miniboss_Variant_-_Shield_Goblin_Gorbstock|Shield Goblin Gorbstock.]]
 
 
| description = Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles.
 
| description = Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles.
 
}}
 
}}

Revision as of 18:25, 6 October 2023

Miscellaneous Enemy Icon.png

Lane Type? Name?

  • Enemy Types: ?


  • Description?

Parameters

Parameter Description
icon The icon of the enemy.
name The name of the enemy.
lane_type The type of lane the enemy spawns in. Could either be Ground, Air or Boss.
enemy_types The enemy's typing (such as Melee, Chaos, etc).
variants The variant of a particular enemy, could be a miniboss etc.
origin_stage The main region, map, or incursion an enemy is originally from. Only include this field for Special Stage Enemies.
description Short description for the enemy.

Example

Wiki Text Result
{{Enemy Summary | icon = File:Vanguard Icon.png | name = Vanguard | lane_type = Ground | enemy_types = Gobu, Melee, Chaos. | variants = [[Shield Goblin Gorbstock]]. | description = Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles. }}
Vanguard Icon.png

Custom Ground Enemy Icon.png Vanguard

  • Enemy Types: Gobu, Melee, Chaos.
  • Variants: Shield Goblin Gorbstock.
  • Chaos I enemy. Uses a frontal shield to block all incoming frontal projectiles.