FANDOM


m (Fix for sliders with no known base affinity)
m (Max slider level increased to 165)
Line 180: Line 180:
 
{{#if: {{{ferritearmor|}}} | | {{#if: {{{alloyarmor|}}} | | {{#if: {{{cflesharmor|}}} | | {{#if: {{{flesharmor|}}} | | {{#if: {{{fossilarmor|}}} | | {{#if: {{{infestedarmor|}}} | | {{#if: {{{iflesharmor|}}} | | {{#if: {{{sinewarmor|}}} | | {{#if: {{{machinearmor|}}} | | {{#if: {{{roboarmor|}}} | | {{#if: {{{shieldarmor|}}} | | {{#if: {{{protoarmor|}}} | | <span id="damage_redux">0</span> }} }} }} }} }} }} }} }} }} }} }} }}
 
{{#if: {{{ferritearmor|}}} | | {{#if: {{{alloyarmor|}}} | | {{#if: {{{cflesharmor|}}} | | {{#if: {{{flesharmor|}}} | | {{#if: {{{fossilarmor|}}} | | {{#if: {{{infestedarmor|}}} | | {{#if: {{{iflesharmor|}}} | | {{#if: {{{sinewarmor|}}} | | {{#if: {{{machinearmor|}}} | | {{#if: {{{roboarmor|}}} | | {{#if: {{{shieldarmor|}}} | | {{#if: {{{protoarmor|}}} | | <span id="damage_redux">0</span> }} }} }} }} }} }} }} }} }} }} }} }}
 
{{#if: {{{spawnlevel|}}} | | <span id="spawnlevel">0</span> }}
 
{{#if: {{{spawnlevel|}}} | | <span id="spawnlevel">0</span> }}
<span id="slider_max">160</span></span><div style="position:relative; margin-top:5px; height:15px;"><div id="slider_div">JavaScript not loaded.</div></div></format></data>
+
<span id="slider_max">165</span></span><div style="position:relative; margin-top:5px; height:15px;"><div id="slider_div">JavaScript not loaded.</div></div></format></data>
<data source="baselevel"><label>{{text||Selected Level|hover=For enemy levels higher than 160, input the value manually.|cursor=help}}</label><format><span id="out_lvl">---</span><span id="reset_btn"></span></format></data>
+
<data source="baselevel"><label>{{text||Selected Level|hover=For enemy levels higher than 165, input the value manually.|cursor=help}}</label><format><span id="out_lvl">---</span><span id="reset_btn"></span></format></data>
 
<data source="baselevel"><label>{{text||Effective Health|hover=Effective amount of hit points, taking health, armor and shields into account.|cursor=help}}</label><format><span id="out_ehp">---</span></format></data>
 
<data source="baselevel"><label>{{text||Effective Health|hover=Effective amount of hit points, taking health, armor and shields into account.|cursor=help}}</label><format><span id="out_ehp">---</span></format></data>
 
</group>
 
</group>

Revision as of 20:25, April 30, 2019

Template documentation (for the above template, sometimes hidden or invisible)

Displays enemy stats.

Change Log

15:08, March 4, 2019 (UTC)

All possible health, armor, and shield types added (of the currently existing original types).

19:22, November 10, 2018 (UTC)

New armor types added.

17:38, July 24, 2018 (UTC)

Added section for level scaling, including slider and effective health calculation. See MediaWiki:EnemyInfoboxSlider.js and Special:Diff/1791923.

10:30, March 7, 2018 (UTC)

Added the parameter Spawn Level to help distinguish the difference between Base Level and Spawn Level (as seen in Teralyst, Gantulyst and Hydrolyst).

14:24, November 29, 2015 (UTC)

Converted to portable infobox.

  • Image randomization changed to preset tabs: Full, Codex, In-game, Other. All inputs optional.
  • Use "image = " to disable tabbers.
  • Removed other tabbers capability as portable infobox does not support them.
  • Switched around some damage/vulnerability fields' positions but all of them should still remain.
  • Updated usage and blank values. Removed some unused values.
View Archived changes List

15/08/2015 Tabber Infobox

Added tabber to the template for enemy variants (up to 4 various enemies).

18/07/2014 Statistics Detail

Updated from Twilight053's idea to make the statistics more detailed. As of now the resistances are shown directly, but the collapsible function is still pending.

23/04/2014 AddOn - Image Randomization

From Hilycker's idea (for Specter (Enemy) page) but Brizingr5 and ChickenBar's technical suggestions, fixes and essentially all the work, now this template will use an image randomization function. This means every time the page will be accesed a random image from the list put will be choosen to be displayed.
Simply add a new line for each image with a progressive number.

Example:
               | image                = imageblablabla.png  "if only this line is put it'll work as usual"
               | image2               = imageolalu.png      "if you add this it will randomly choose between those 2" 
               | image3               = imageuauaua.png     "and so on"

At the moment it can randomize up to 24 images, but if more is needed just add more lines in the source template. I'm not sure but i think it can't go beyond 40.

Usage

{{Enemy
| name                 = Enemy name

| image                = Default: Image file (typically formatted as name.png). Disables image tabber if used.
| imgfull              = Optional tabber 1: image of full body 
| imgcodex             = Optional tabber 2: image of codex portrait
| imgingame            = Optional tabber 3: image of enemy in game
| imgother             = Optional tabber 4: Other high quality image

| introduced           = Update Enemy was introduced in
| faction              = Faction Enemy is associated with 
| planet               = Planet Enemy is located in
| tileset              = Map Enemy is located in
| mission              = Mission Enemy is located in
| type                 = Role of enemy (i.e. Melee/Short Ranged/Long Ranged/Heavy/Utility)
| weapon               = Primary weapon enemy uses
| abilities            = Special abilities

| clonedflesh          = Amount at base level, see codex for reference.
| flesh                = Amount at base level.
| fossilized           = Amount at base level.
| infested             = Amount at base level.
| infestedflesh        = Amount at base level.
| infestedsinew        = Amount at base level.
| machinery            = Amount at base level.
| robotic              = Amount at base level.
| hitpoints            = Amount at base level.
| object               = Amount at base level.
| bleedout             = Has a constant base of 300 HP. Insert 300 when required.

| shield               = Amount at base level.
| protoshield          = Amount at base level.

| ferritearmor         = Amount at base level.
| alloyarmor           = Amount at base level.
| cflesharmor          = Amount at base level.
| flesharmor           = Amount at base level.
| fossilarmor          = Amount at base level.
| infestedarmor        = Amount at base level.
| iflesharmor          = Amount at base level.
| sinewarmor           = Amount at base level.
| machinearmor         = Amount at base level.
| roboarmor            = Amount at base level.

| baseexperience       = Experience at base level.
| baselevel            = Base level in which the enemy begin to scale.
| spawnlevel           = Spawning level.
| specialbodyparts     = Any damage dealt to this body part gets multiplied by this much.
| codex_scans          = The amount of scans needed to unlock all codex information.
| mod_drops            = Mods that drop from this mob.  Please separate with <br>.
| blueprint_drops      = Blueprints that drop from this mod. Plese separate with <br>.
| other_drops          = Other things such as resources that drop from this mob. Please separate with <br>.
}}

Blank

{{Enemy
| name                 =
| image                =

| imgfull              =
| imgcodex             =
| imgingame            =
| imgother             =

| notes                =
| introduced           =
| faction              =
| type                 =
| weapon               =
| planet               =
| tileset              =
| mission              =
| abilities            =

| clonedflesh          =
| flesh                =
| fossilized           =
| infested             =
| infestedflesh        =
| infestedsinew        =
| machinery            =
| robotic              =
| shieldhealth         =
| protohealth          =
| ferritehealth        =
| alloyhealth          =

| shield               =
| protoshield          =
| cfleshshield         =
| fleshshield          =
| fossilshield         =
| infestedshield       =
| ifleshshield         =
| sinewshield          =
| machineshield        =
| roboshield           =
| ferriteshield        =
| alloyshield          =

| ferritearmor         =
| alloyarmor           =
| cflesharmor          =
| flesharmor           =
| fossilarmor          =
| infestedarmor        =
| iflesharmor          =
| sinewarmor           =
| machinearmor         =
| roboarmor            =
| shieldarmor          =
| protoarmor           =

| baseexperience       =
| baselevel            =
| spawnlevel           =
| specialbodyparts     =
| codex_scans          =
| mod_drops            =
| blueprint_drops      =
| other_drops          =
}}

Visit Template:Enemy/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.