Content added Content deleted
(add more parameters) |
(oops i forgot to actually add the parameters) |
||
Line 13: | Line 13: | ||
|imagecaption=Hostile Container |
|imagecaption=Hostile Container |
||
|hp=6 |
|hp=6 |
||
|maxhp=6 |
|||
|actions=Attack, Attack, Attack, Skitter |
|||
}} |
}} |
||
Sample EnemyInfobox |
Sample EnemyInfobox |
||
Line 31: | Line 33: | ||
{{#if:{{{hp|}}}| |
{{#if:{{{hp|}}}| |
||
{{!}} ::HP:: {{{hp}}} |
{{!}} ::HP:: {{{hp}}} |
||
|- |
|||
{{#if:{{{maxhp|}}}| |
|||
{{!}} ::MAXIMUM HP:: {{{maxhp}}} |
|||
|- |
|||
{{#if:{{{actions|}}}| |
|||
{{!}} ::ACTIONS:: {{{actions}}} |
|||
}} |
}} |
||
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
Revision as of 14:48, 28 May 2024
This is the "EnemyInfobox" template.
It should be called in the following format:
{{EnemyInfobox |title= |colorID= |image= |imagesize= |imagecaption= |hp= }}
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