Content added Content deleted
(template params + fix) |
(add windup actions) |
||
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= |
{{#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)}} |
||
Ignoring title will automatically use the page name instead.<br> |
Ignoring title will automatically use the page name instead.<br> |
||
Line 15: | Line 15: | ||
|maxhp=6 |
|maxhp=6 |
||
|actions=Attack, Attack, Attack, Skitter |
|actions=Attack, Attack, Attack, Skitter |
||
|windupactions=N/A |
|||
}} |
}} |
||
Sample EnemyInfobox |
Sample EnemyInfobox |
||
Line 41: | Line 42: | ||
{{#if:{{{actions|}}}| |
{{#if:{{{actions|}}}| |
||
{{!}} ::ACTIONS:: {{{actions}}} |
{{!}} ::ACTIONS:: {{{actions}}} |
||
}} |
|||
|- |
|||
{{#if:{{{windupactions|}}}| |
|||
{{!}} ::WINDUP ACTIONS:: {{{windupactions}}} |
|||
}} |
}} |
||
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
Revision as of 14:57, 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= }}
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 |
Sample EnemyInfobox