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
(oops i forgot to actually add the parameters)
(template params + fix)
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)}}
{{#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=Maximup HP)|actions (label=actions)}}


Ignoring title will automatically use the page name instead.<br>
Ignoring title will automatically use the page name instead.<br>
Line 33: Line 33:
{{#if:{{{hp|}}}|
{{#if:{{{hp|}}}|
{{!}} ::HP:: {{{hp}}}
{{!}} ::HP:: {{{hp}}}
}}
|-
|-
{{#if:{{{maxhp|}}}|
{{#if:{{{maxhp|}}}|
{{!}} ::MAXIMUM HP:: {{{maxhp}}}
{{!}} ::MAXIMUM HP:: {{{maxhp}}}
}}
|-
|-
{{#if:{{{actions|}}}|
{{#if:{{{actions|}}}|

Revision as of 14:52, 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=
}}

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

Sample EnemyInfobox

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