Changes

Jump to: navigation, search

Template:Enemy Infobox

489 bytes added, 08:33, 9 February 2023
Greatly improving the formatting for the example
--->{{{name|{{PAGENAME}}}}}
{{#if: {{{subname|}}}
| <span style="color: #f2f2f2; font-size:80%; text-align:center;">(''{{{subname}}}'')</span>
}}
</div>
<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;"
===Example===
{| style="width:80%;"! style="font-size:150%; width: 50%;" | Wiki Text! style="font-size:150%; width: 50%;" | Result|-|<div style="display: flex; justify-content: center;"><!------><codestyle="display: table; white-space: pre-wrap;"><!--- ---><nowiki>  {{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]] }}</nowiki></code> produces the following:
</nowiki><!---
---></code>
</div>
|<div style="display: flex; justify-content: center;">
{{Enemy Infobox
| name = Goblin
| schedule_icon = [[File:Goblin Icon.png|60px]]
}}
</div>
|}
 
</noinclude>
__NOEDITSECTION__
WikiDefender, bureaucrat, administrator
617
edits

Navigation menu