Content added Content deleted
(category) |
(add more parameters) |
||
Line 27: | Line 27: | ||
|- |
|- |
||
| colspan="2" id="image-{{#if:{{{colorID|}}}|{{{colorID}}}}}" | <!-- |
| colspan="2" id="image-{{#if:{{{colorID|}}}|{{{colorID}}}}}" | <!-- |
||
-->{{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}{{!}}|}}frameless|center]]|}} |
-->{{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}{{!}}|}}frameless|center{{#switch: {{{notpageimage|false}}} |false= |{{!}}class{{=}}notpageimage}}]]|}} |
||
|- |
|- |
||
{{#if:{{{hp|}}}| |
{{#if:{{{hp|}}}| |
Revision as of 14:47, 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 |
Sample EnemyInfobox