Template:Enemy

From Peglin Wiki
Jump to navigation Jump to search
Full protection shackle.svg
This template page is currently protected from editing.
This template has a documentation (Template:Enemy/doc) and a sandbox page (Template:Enemy/sandbox) that may be freely edited.
If there are sandbox changes you want to see merged with the main template, please notify an admin.




No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
imageimage

no description

Unknownsuggested
captioncaption

no description

Unknownoptional
upcoming_imageupcoming_image

no description

Unknownsuggested
upcoming_captionupcoming_caption

no description

Unknownoptional
healthhealth

no description

Unknownsuggested
melee_damagemelee_damage

no description

Unknownsuggested
ranged_damageranged_damage

no description

Unknownsuggested
cruciball_healthcruciball_health

no description

Unknownsuggested
cruciball_damagecruciball_damage

no description

Unknownoptional
cruciball_specialcruciball_special

no description

Unknownoptional
typetype

no description

Unknownsuggested
areaarea

no description

Unknownsuggested
specialspecial

no description

Unknownsuggested
bestiary_pagebestiary_page

no description

Unknownsuggested
bestiary_captionbestiary_caption

no description

Unknownoptional
descriptiondescription

no description

Unknownsuggested

As with all templates, basic categories are auto-added to any page it's used on. In this case, the enemies category is added.

Usage of this template is similar to the boss template.

To add this template to a page, put {{Enemy}} at the top of a page in the source editor, or insert > template in the visual editor.

Fill out each field with the corresponding information:

image will be an image of the enemy itself. Make sure the file name matches the enemies' name, and is a png file. Non-png images will be deleted & replaced.

upcoming_image will be an image of the enemy's upcoming icon (visible to the right of the pegboard)

health will be the enemy's maximum health. Icons for health and damage are automatically added, so you only need to list the number. Be sure to use dividers for numbers over a thousand (type 1,080 instead of 1080, for example).

cruciball_health will be its health on Cruciball 6+. Use what is listed in the enemies' Bestiary entry.

melee_damage will be the melee damage dealt when the enemy reaches the player. Use what is listed in the enemies' Bestiary entry.

ranged_damage will be the ranged damage dealt when the enemy fires at the player. Use what is listed in the enemies' Bestiary entry.

special will be any special notes about the enemy (such as the Castle Lightning Rod's effect)

type will be what type(s) of enemy it is - flying, space-skipping, etc. Make sure it links to the category page for that type (or just make it a link since they all have redirects - e.g. [[Flying]] instead of [[:Category:Flying|flying]]). A list of enemy types can be found here. Note that you will have to manually add the categories to the page itself.

area will be the area the enemy appears in, as a link to its page (e.g. [[Forest]] - the brackets will make it link to the Forest page).

As an example, this input produces the infobox for the Venom Battrap:

{{Enemy |image=venom_battrap.png |upcoming_image=venom_battrap_upcoming.png |area=[[Forest]] |health=70 |cruciball_health=80 |ranged_damage=3 |special=Has a [[Euphorbia|minion variant]]. |type=[[Plant]], [[Stationary]] |bestiary_page=venom_battrap_bestiary.png |description=''These stationary enemies will pelt you with a mild venom every few turns. Taking aim at them with early targeted attacks is the beset strategy to preserve your health.'' }}