2,352 bytes added
, 3 years ago
<includeonly>{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative;">[[File:Enemy Banner {{#replace:{{{1}}}|/| }}.png|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{{link|{{#replace:{{{1}}}|/| }}}}}|{{{caption|{{#replace:{{{1}}}|/| }}}}}]]{{#if:{{{ring|}}}|<span class="image-layer" style="line-height:0px;position:absolute;{{#if:{{{small|}}}|top:19px;left:138px;|top:29px;left:210px;}}">[[File:Battle Card Marriage Ring.png|link={{{link|{{#replace:{{{1}}}|/| }}}}}|{{{caption|{{#replace:{{{1}}}|/| }}}}}]]</span>|}}{{#if:{{{ring_glow|}}}|<span class="image-layer" style="line-height:0px;position:absolute;opacity:0.7;{{#if:{{{small|}}}|top:10px;left:126px;|top:25px;left:206px;}}">[[File:Battle Card Marriage Ring Glow.png|link={{{link|{{#replace:{{{1}}}|/| }}}}}|{{{caption|{{#replace:{{{1}}}|/| }}}}}]]</span>|}}</span>|[[File:Catbomb.png|{{#if:{{{small|}}}|160x40px|240x60px}}]]}}</includeonly><noinclude>
Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page. Required by [[Template:EnemyLink]].
==Usage==
<pre>{{EnemyBanner|New Submarine Princess Flagship}}</pre>
{{EnemyBanner|New Submarine Princess Flagship}}
<pre>{{EnemyBanner|New Submarine Princess Flagship II}}</pre>
{{EnemyBanner|New Submarine Princess Flagship II}}
<pre>{{EnemyBanner|New Submarine Princess Flagship/II}}</pre>
{{EnemyBanner|New Submarine Princess Flagship/II}}
<pre>{{EnemyBanner|New Battleship Princess Damaged}}</pre>
{{EnemyBanner|New Battleship Princess Damaged}}
<pre>{{EnemyBanner|Kasumi/Kai|caption=Shioi|ring=true|ring_glow=true}}</pre>
{{EnemyBanner|Destroyer Princess|caption=Shioi|ring=true|ring_glow=true}}
<pre>{{EnemyBanner|Kasumi/Kai|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}</pre>
{{EnemyBanner|Ancient Destroyer Princess|caption=Shioi|ring=true|ring_glow=true|small=true}}
==Notes==
*Supported parameters: ''[1]'', ''link'', ''caption'', ''ring'', ''ring_glow'', ''damaged'', ''small'' (downscale HD card to Phase 1 size).
*The following parameters can be added: ''name'', ''model'', ''grayscale'', ''mode''.
*Other layers also can be supported (''flagship'', etc.).
*Automatic enemy aircraft layers are not supported.
</noinclude>