Difference between revisions of "Template:Enemy Summary"
From Dungeon Defenders 2 Wiki
m (Removing unwanted newline when certain parameters aren't supplied) |
m |
||
(22 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: | + | <p style="font-size: 200%; font-family: Oswald; letter-spacing: .6px; font-weight: 400; color: #cb9022; margin: 0; text-shadow:1.5px 0 0 #9b1112,0 1.5px 0 #9b1112,-1.5px 0 0 #9b1112,0 -1.5px 0 #9b1112;"> |
{{#switch: {{{lane_type|}}} | {{#switch: {{{lane_type|}}} | ||
− | | Ground = [[File: | + | | Ground = [[File:Custom Ground Enemy Icon.png|35px]] |
− | | Air = [[File: | + | | Air = [[File:Custom Air Enemy Icon.png|55px]] |
− | | Boss = [[File: | + | | Boss = [[File:Custom Boss Enemy Icon.png|35px]] |
| {{{lane_type|Lane Type?}}} | | {{{lane_type|Lane Type?}}} | ||
}} | }} | ||
− | [ | + | <span class="no-decoration">[[{{{name|Name?}}}|<span style="color: #cb9022">{{{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 36: | Line 39: | ||
|- | |- | ||
| origin_stage || The main region, map, or incursion an enemy is originally from. Only include this field 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 || Short description for the enemy. | | description || Short description for the enemy. |
Latest revision as of 23:32, 12 June 2024
Lane Type? Name?
|
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.
}}
|
|