Changes

Template:Enemy Summary

2,082 bytes added, 05:32, 7 October 2023
Removing text decoration from the enemy name (it's a link, so the underline on hover is now removed)
|[[{{{icon|File:Miscellaneous Enemy Icon.png}}}|100px|link=https://wiki.dungeondefenders2.com/wiki/{{{name|}}}]]
|
<p style="font-size: 170200%; font-family: Constantia Bold; font-weight: bolder; transform: scaleX(1.1); color: #CE47FF; margin-left: 1em0;">
{{#switch: {{{lane_type|}}}
| Ground = [[File:Old Ones Symbol - Ground Icon.png|40px45px]] | Air = [[File:Old Ones Symbol - Air Icon.png|40px75px]] | Boss = [[File:Old Ones_Symbol - Custom Boss Icon.png|45px]]
| {{{lane_type|Lane Type?}}}
}}
<span class="no-decoration">[[{{{name|Name?}}}|<span style="color: #CE47FF">{{{name|Name?}}}</span>]]</span>
</p>
{{ #if: {{{enemy_types|}}} | * '''Enemy Types:''''' {{{enemy_types|?}}}''}}{{#if: {{{variants|}}}
| * '''Variants:''' ''{{{variants}}}''
}}{{#if: {{{origin_stage|}}}
| * '''Origin Stage:''' ''{{{origin_stage}}}''
}}{{#if: {{{encounter|}}}
| * '''Encountered in:''' ''{{{encounter}}}''
}}
* ''{{{description|Description?}}}''
|}<noinclude>
 
===Parameters===
{| border="1" style="border-collapse:collapse;"
|-
! 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===
{| style="width:80%;"
! style="font-size:150%; width: 50%;" | Wiki Text
! style="font-size:150%; width: 50%;" | Result
|-
|<div style="display: flex; justify-content: center;"><!---
---><code style="display: table; white-space: pre-wrap;"><!---
---><nowiki>
 
{{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.
}}
 
</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{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.
}}
</div>
|}
 
</noinclude>
__NOEDITSECTION__
WikiDefender, bureaucrat, administrator
617
edits