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)
m (Reverted edits by Pexy (talk) to last revision by ActualZyra)
Tag: Rollback
 
(7 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)|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)|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 16: Line 16:
|actions=Attack, Attack, Attack, Skitter
|actions=Attack, Attack, Attack, Skitter
|windupactions=N/A
|windupactions=N/A
|statusimmunities=None
|initialstatus=N/A
|initialstatus=N/A
}}
}}
Line 26: Line 27:


--><includeonly>
--><includeonly>
{| id="{{#if:{{{colorID|}}}|{{{colorID}}}}}" class="infobox spacemono-text" style="width:300px"
{| 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 47: Line 48:
{{#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>

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

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