Content added Content deleted
(add more parameters) |
m (Reverted edits by Pexy (talk) to last revision by ActualZyra) Tag: Rollback |
||
(11 intermediate revisions by 3 users not shown) | |||
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=Maximum HP)|actions (label=actions)|windupactions (label=Windup actions)|statusimmunities (label=Status Immunities)|initialstatus (label=Initial Status Effect)|notpageimage (label=Not Page Image)}} |
||
Ignoring title will automatically use the page name instead.<br> |
Ignoring title will automatically use the page name instead.<br> |
||
Line 13: | Line 13: | ||
|imagecaption=Hostile Container |
|imagecaption=Hostile Container |
||
|hp=6 |
|hp=6 |
||
|maxhp=6 |
|||
|actions=Attack, Attack, Attack, Skitter |
|||
|windupactions=N/A |
|||
|statusimmunities=None |
|||
|initialstatus=N/A |
|||
}} |
}} |
||
Sample EnemyInfobox |
Sample EnemyInfobox |
||
Line 22: | Line 27: | ||
--><includeonly> |
--><includeonly> |
||
{| id="{{#if:{{{colorID|}}}|{{{colorID}}}}}" class="infobox spacemono-text" |
{| id="{{#if:{{{colorID|}}}|{{{colorID}}}}}" class="infobox spacemono-text" |
||
! colspan="2" style="font-size:300%" id="title{{#ifeq:{{{colorID|}}}|Bstrd|-Bstrd}}"|<!-- |
! colspan="2" style="font-size:300%" id="title{{#ifeq:{{{colorID|}}}|Bstrd|-Bstrd}}"|<!-- |
||
-->{{#ifeq:{{{colorID|}}}|Bstrd|{{{title|{{PAGENAME}}}}}|<nowiki>!!__</nowiki>{{{title|{{PAGENAME}}}}}<nowiki>__!!</nowiki>}} |
-->{{#ifeq:{{{colorID|}}}|Bstrd|{{{title|{{PAGENAME}}}}}|<nowiki>!!__</nowiki>{{{title|{{PAGENAME}}}}}<nowiki>__!!</nowiki>}} |
||
Line 31: | Line 36: | ||
{{#if:{{{hp|}}}| |
{{#if:{{{hp|}}}| |
||
{{!}} ::HP:: {{{hp}}} |
{{!}} ::HP:: {{{hp}}} |
||
}} |
|||
|- |
|||
{{#if:{{{maxhp|}}}| |
|||
{{!}} ::MAXIMUM HP:: {{{maxhp}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{actions|}}}| |
|||
{{!}} ::ACTIONS:: {{{actions}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{windupactions|}}}| |
|||
{{!}} ::WINDUP ACTIONS:: {{{windupactions}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{statusimmunities|}}}| |
|||
{{!}} ::IMMUNE TO:: {{{statusimmunities}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{initialstatus|}}}| |
|||
{{!}} ::INITIAL STATUS EFFECTS:: {{{initialstatus}}} |
|||
}} |
}} |
||
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
|}<templatestyles src="EnemyInfobox/styles.css"/></includeonly> |
Latest revision as of 16:57, 4 July 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= |notpageimage= }}
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 | |
::IMMUNE TO:: None | |
::INITIAL STATUS EFFECTS:: N/A |
Sample EnemyInfobox