Changes

Template:Enemy Infobox

386 bytes added, 19:09, 19 September 2025
m
no edit summary
{| class="infobox" style="float: right; width:{{{width|23em}}}; border: 1px 5px solid #800080; border-radius: 5px; padding: 3px; margin-left: 20px; margin-right: 10px; border-image-source: linear-gradient(45deg, #380835 0%, #18022E 100%); border-image-slice: 1; box-shadow:0 0 0.50em #9E6649;"
|-
! colspan="2" style="background: linear-color: gradient(to bottom, #18022E 0%, #800080380835 100%); color: white#cb9022; font-size:120150%; font-family: Oswald; letter-spacing: .5px; padding:0.3em; text-shadow: -1px -1px 0 #9b1112, 1px -1px 0 #9b1112, -1px 1px 0 #9B1112, 1px 1px 0 #9b1112;" |<!---
---><div><!---
--->{{{name|{{PAGENAME}}}}}
{{#if: {{{subname|}}}
| <p style="color: #f2f2f2cb9022; font-size:80%; text-align:center; margin: 0;">(''{{{subname}}}'')</p>
}}
</div>
--->{{#if: {{{tier1_image|}}}
| <tabber>
|-|Tier 1=[[{{{tier1_image|[[File:DefaultEnemy.png}}}|300px]]}}} |-|Tier 2=[[{{{tier2_image|[[File:DefaultEnemy.png}}}|300px]]}}} |-|Tier 3=[[{{{tier3_image|[[File:DefaultEnemy.png}}}|300px]]}}}
</tabber>
| {{#if: {{{image|}}} | [[{{{image}}} | [[File:DefaultEnemy.png}}}|300px]] }}
}}
|-
}}
|-
! colspan="2" style="background: linear-color: gradient(to bottom, #18022E 0%, #800080380835 100%); color: white#cb9022; font-size:120130%; font-family: Oswald; letter-spacing: .4px; text-shadow: -1px -1px 0 #9b1112, 1px -1px 0 #9b1112, -1px 1px 0 #9B1112, 1px 1px 0 #9b1112;" | Information
|-
| style="width:35%" | <!--Sets the width for the 1st column-->
|-
| '''Schedule Icon'''
|[[{{{schedule_icon|?File:Miscellaneous Enemy Icon.png}}}|60px]]
|-
|} <noinclude>
Subname and caption do not appear if they are not set. Setting the tier_image parameters produces a tabber that can show 3 variants of an enemy.
{{Enemy Infobox
| name = Goblin | subname = Bob | image = [[File:Goblin - Tier 3.png|300px]] | caption = a goblin with a sinister smile | enemy_types = Melee, Goblin | lane_type = Ground | appearances = All game modes | schedule_icon = [[File:Goblin Icon.png|60px]]
}}
|<div style="display: flex; justify-content: center;">
{{Enemy Infobox
| name = Goblin | subname = Bob | image = [[File:Goblin - Tier 3.png|300px]] | caption = a goblin with a sinister smile | enemy_types = Melee, Goblin | lane_type = Ground | appearances = All game modes | schedule_icon = [[File:Goblin Icon.png|60px]]
}}
</div>
WikiDefender
8,272
edits