Difference between revisions of "Template:Infobox enemy"
Added sizing functionality
bkwikia>The Light6 |
bkwikia>Toomai (Added sizing functionality) |
||
Line 5: | Line 5: | ||
! colspan="2" style="font-size:100%;text-align:center;" | {{#if:{{{title|}}}|{{{title}}}|}} | ! colspan="2" style="font-size:100%;text-align:center;" | {{#if:{{{title|}}}|{{{title}}}|}} | ||
|- | |- | ||
|colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}150px]]|[[Special:Upload|Please add an image!]]}} | |colspan="2" align="center"|{{#if:{{{image|}}}|[[Image:{{{image}}}{{!}}{{{imagesize|150px}}}]]|[[Special:Upload|Please add an image!]]}} | ||
{{!}}- | {{!}}- | ||
|colspan="2" style="font-size:110%;background:#fa9;text-align: center;"|{{#ifeq:{{{boss}}}|yes|'''♦ BOSS ♦''' [[Category:Bosses]]|{{#ifeq:{{{boss}}}|no|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}|No|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}||[[Category:Enemies]]|}}}} | |colspan="2" style="font-size:110%;background:#fa9;text-align: center;"|{{#ifeq:{{{boss}}}|yes|'''♦ BOSS ♦''' [[Category:Bosses]]|{{#ifeq:{{{boss}}}|no|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}|No|[[Category:Enemies]]|}}{{#ifeq:{{{boss}}}||[[Category:Enemies]]|}}}} | ||
Line 32: | Line 32: | ||
image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png ([[User:Chicken7]] can | image = An image of the enemy. Do not type the <nowiki>[[Image:____]]</nowiki> extensions in. Example, Ticker.png ([[User:Chicken7]] can | ||
supply images]]) | supply images]]) | ||
imagesize = The size of the image in pixels. Default (unspecified) is 150px. | |||
boss = If it is a boss or not, Yes or No | boss = If it is a boss or not, Yes or No | ||
game = The game(s) the enemy is found in | game = The game(s) the enemy is found in | ||
Line 46: | Line 47: | ||
{{Infobox enemy</nowiki><br><nowiki> | {{Infobox enemy</nowiki><br><nowiki> | ||
|image = </nowiki><br><nowiki> | |image = </nowiki><br><nowiki> | ||
|imagesize = </nowiki><br><nowiki> | |||
|boss = </nowiki><br><nowiki> | |boss = </nowiki><br><nowiki> | ||
|game = </nowiki><br><nowiki> | |game = </nowiki><br><nowiki> |