Difference between revisions of "Template:Enemy Summary"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m
(Removing text decoration from the enemy name (it's a link, so the underline on hover is now removed))
(21 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|100px|link=https://wiki.dungeondefenders2.com/wiki/{{{name|}}}]]
 
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|100px|link=https://wiki.dungeondefenders2.com/wiki/{{{name|}}}]]
 
|
 
|
<p style="font-size: 170%; font-family: Constantia Bold; font-weight: bolder; transform: scaleX(1.1); color: #CE47FF; margin-left: 1em; margin-bottom: -0.1em;">
+
<p style="font-size: 200%; font-family: Constantia Bold; font-weight: bolder; color: #CE47FF; margin: 0;">
 
     {{#switch: {{{lane_type|}}}
 
     {{#switch: {{{lane_type|}}}
 
         | Ground = [[File:Old Ones Symbol - Ground Icon.png|45px]]
 
         | Ground = [[File:Old Ones Symbol - Ground Icon.png|45px]]
 
         | Air = [[File:Old Ones Symbol - Air Icon.png|75px]]
 
         | Air = [[File:Old Ones Symbol - Air Icon.png|75px]]
         | Boss = [[File:Old Ones_Symbol - Custom Boss Icon.pngg|75px]]
+
         | Boss = [[File:Old Ones_Symbol - Custom Boss Icon.png|45px]]
 
         | {{{lane_type|Lane Type?}}}
 
         | {{{lane_type|Lane Type?}}}
 
     }}
 
     }}
     {{{name|Name?}}}
+
     <span class="no-decoration">[[{{{name|Name?}}}|<span style="color: #CE47FF">{{{name|Name?}}}</span>]]</span>
 
</p>
 
</p>
* '''Enemy Types:''' {{{enemy_types|?}}}
+
{{  #if: {{{enemy_types|}}}
{{#if: {{{variants|}}}
+
    | * '''Enemy Types:''' ''{{{enemy_types}}}''
 +
}}{{#if: {{{variants|}}}
 
     | * '''Variants:''' ''{{{variants}}}''
 
     | * '''Variants:''' ''{{{variants}}}''
}}
+
}}{{#if: {{{origin_stage|}}}
{{#if: {{{origin stage|}}}
+
     | * '''Origin Stage:''' ''{{{origin_stage}}}''
     | * '''Origin Stage:''' ''{{{origin stage}}}''
+
}}{{#if: {{{encounter|}}}
 +
    | * '''Encountered in:''' ''{{{encounter}}}''
 
}}
 
}}
 
* ''{{{description|Description?}}}''
 
* ''{{{description|Description?}}}''
Line 28: Line 30:
 
| 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 36: Line 38:
 
| 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.
 +
|-
 +
| encounter || The map the enemy is encountered in. Only used for bosses and certain special enemies.
 
|-
 
|-
| description || The gist of what does an enemy do.
+
| description || Short description for the enemy.
 
|}
 
|}
  
Line 50: Line 54:
 
     ---><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.
            | origin stage = ''None ''(don't use it for Common or Chaos enemy)''''
+
             | 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.
 
             }}
 
             }}
Line 66: Line 69:
 
{{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 '''(don't use it for Common or Chaos enemy)'''''
+
| 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 01:32, 7 October 2023

Miscellaneous Enemy Icon.png

Lane Type? Name?

  • 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.
encounter The map the enemy is encountered in. Only used for bosses and certain special 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

Old Ones Symbol - Ground 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.