Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:EnemyInfobox: Difference between revisions

Template page
Content added Content deleted
(added initial status effect)
(added status immunities)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:title (label=Title)|colorID (label=Color ID)|image (label=Image)|imagesize (label=Image size)|imagecaption (label=Image caption)|hp (label=hp)|maxhp (label=Maximum HP)|actions (label=actions)|windupactions (label=Windup actions)|initialstatus (label=Initial Status Effect)}}
{{#template_params:title (label=Title)|colorID (label=Color ID)|image (label=Image)|imagesize (label=Image size)|imagecaption (label=Image caption)|hp (label=hp)|maxhp (label=Maximum HP)|actions (label=actions)|windupactions (label=Windup actions)|statusimmunities (label=Status Immunities)|initialstatus (label=Initial Status Effect)}}


Ignoring title will automatically use the page name instead.<br>
Ignoring title will automatically use the page name instead.<br>
Line 47: Line 47:
{{#if:{{{windupactions|}}}|
{{#if:{{{windupactions|}}}|
{{!}} ::WINDUP ACTIONS:: {{{windupactions}}}
{{!}} ::WINDUP ACTIONS:: {{{windupactions}}}
}}
|-
{{#if:{{{statusimmunities|}}}|
{{!}} ::IMMUNE TO:: {{{statusimmunities}}}
}}
}}
|-
|-
{{#if:{{{initialstatus|}}}|
{{#if:{{{initialstatus|}}}|
{{!}} ::INITIAL STATUS EFFECT:: {{{initialstatus}}}
{{!}} ::INITIAL STATUS EFFECTS:: {{{initialstatus}}}
}}
}}
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly>
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly>

Revision as of 15:21, 28 May 2024

This is the "EnemyInfobox" template.

It should be called in the following format:

{{EnemyInfobox
|title=
|colorID=
|image=
|imagesize=
|imagecaption=
|hp=
|maxhp=
|actions=
|windupactions=
|statusimmunities=
|initialstatus=
}}

Edit the page to see the template text.

Ignoring title will automatically use the page name instead.
colorID controls the borders' color, and can be "Obesk", "Human", "Moth", "Mindspike", or "Bstrd". If ignored, it will default to "Mindspike".
image should be a filename, like Container (Enemy).gif.


!!__Container__!!
::HP:: 6
::MAXIMUM HP:: 6
::ACTIONS:: Attack, Attack, Attack, Skitter
::WINDUP ACTIONS:: N/A
::INITIAL STATUS EFFECTS:: N/A

Sample EnemyInfobox

Cookies help us deliver our services. By using our services, you agree to our use of cookies.