Changes

Template:Enemy Infobox

2,932 bytes added, 11 May
m
added margin to border
{| class="infobox" style="float: right; font-size:89%; width:{{{width|23em}}}; border: 1px 5px solid #000000; border-radius: 5px; padding: 3px; margin: 10px; border-mozimage-source: linear-gradient(45deg, #380835 0%, #18022E 100%); border-radiusimage-slice: 5px1; padding box-shadow: 1.5px0 0 15px #9E6649;"
|-
! colspan="32" style="background: linear-color: gradient(to bottom, #18022E 0%, #f2f2f2380835 100%); color: #000000e69500; font-size:120150%; font-family: Impact; padding:0.5em3em; border-collapse:collapse; borderwebkit-text-stroke:0.1px #000000 1px solide3191c;" | <!------><div style="line><!--- ---height:17px;">{{#if:{{{name|}}}|{{{name}}PAGENAME}|{{BASEPAGENAME}}}} {{#if:{{{namesubsubname|}}} |<br><span p style="color: #f2f2f2FFA500; font-size:80%; text-align:center; margin: 0;">(''{{{namesub|subname}}}'')</spanp> }} </div>
|-
| colspan="2" style="text-align:center;" |<!------>{{#if:{{{imagetier1_image|}}} | <includeonlytabber> |-|Tier 1=[[{{{tier1_image|File:DefaultEnemy.png}}}|300px]] |-|Tier 2=[[{{{tier2_image|File:DefaultEnemy.png}}}|300px]] |-|Tier 3=[[{{{tier3_image|File:DefaultEnemy.png}}}|300px]] </includeonlytabber> | [[{{{image|File:DefaultEnemy.png}}} |300px]] }}|-|{{#if: {!{{caption|}}} | colspan="42" style="text-align:center;" {{!}} {{{caption}}} }}|-! colspan="2" style="background: linear-gradient(to bottom, #18022E 0%, #380835 100%); color:alpha#e69500; font-size:130%; font-family: Impact; -webkit-text-stroke: 0.1px #e3191c;" {{| Information|-| style="width:35%" | <!--Sets the width for the 1st column-->| style="width:65%" | <!}}--Sets the width for the 2nd column-->|-| '''Enemy Types'''|{{{imageenemy_types|?}}}|-| '''Lane Type'''|{{#ifswitch:{{{captionlane_type|}}} | Ground = [[File:Ground_Spawn_Symbol.png|30px]] Ground | Air = [[File:Air_Spawn_Symbol.png|30px]] Air |<br />{{{captionlane_type|?}}} }}|-| '''Appearances'''|{{!{appearances|?}}}|-| '''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. ===Parameters==={| border="1" style="border-collapse:collapse;"|-! Parameter !! Description|-| name || The name of the enemy.|-| subname || The subname of the enemy, if needed. Shows up underneath the name in smaller text inside parenthesis.|-| image || The image for the enemy. Do not use this parameter if you use the tier_image parameters.|-| tier1_image || The image for the tier 1 version of the enemy. Do not use this parameter if you use the image parameter.|-| tier2_image || The image for the tier 2 version of the enemy. Do not use this parameter if you use the image parameter.|-| tier3_image || The image for the tier 3 version of the enemy. Do not use this parameter if you use the image parameter.|-| caption || A caption for the image, if needed. Shows up underneath the image.
|-
! colspan="3" style="background-color: #f2f2f2; color: #000000; padding:0em; font-size:120%; border-collapse:collapse; border:#000000 1px solid;" | Informationenemy_types || The enemy's typing (such as Melee, Chaos, etc).
|-
| style="width:35%" lane_type || style="width:40%" || style="width:25%" |The type of lane the enemy appears in (Ground or Air).
|-
{{#if: {{{damage_type|}}}appearances |{{!}} '''[[Damage Type]]'''{{!}} colspan="2" style="font-size:120%" {{!}} {{{damage_type|}}} }}The game modes the enemy appears in.
|-
{{#if: {{{damage|}}}schedule_icon |{{!}} ''| The enemy'[[Damage]]'''{{!}} colspan="2" <br> style="font-size:120%" {{!}} {{{damage|}}} }}s icon on the Schedule Board.
|-
{{#if: {{{health|}}}width ||A custom width for the info box. Default value is <code>23em</code>.{{!|}} '''[[Health]]''' ===Example==={{| style="width:80%;"!}} colspanstyle="2font-size:150%; width: 50%;" | Wiki Text! style="font-size:120150%; width: 50% {{!}} {{{health;" |}}} }}Result
|-
|<div style="display: flex; justify-content: center;"><!---
---><code style="display: table; white-space: pre-wrap;"><!---
---><nowiki>
 
{{Enemy Infobox
| name = Goblin
| subname = Bob
| image = File:Goblin - Tier 3.png
| caption = a goblin with a sinister smile
| enemy_types = Melee, Goblin
| lane_type = Ground
| appearances = All game modes
| schedule_icon = File:Goblin Icon.png
}}
 
</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{Enemy Infobox
| name = Goblin
| subname = Bob
| image = File:Goblin - Tier 3.png
| caption = a goblin with a sinister smile
| enemy_types = Melee, Goblin
| lane_type = Ground
| appearances = All game modes
| schedule_icon = File:Goblin Icon.png
}}
</div>
|}
 
</noinclude>
__NOEDITSECTION__
WikiDefender
6,806
edits