• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Enemy/Banner"

From Kancolle Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative;">File:Enemy Banner {{#replace:{{{1...")
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative;">[[File:Enemy Banner {{#replace:{{{1}}}|/|&#32;}}.png|{{#if:{{{small|}}}|160x40px|240x60px}}|link={{{link|{{#replace:{{{1}}}|/|&#32;}}}}}|{{{caption|{{#replace:{{{1}}}|/|&#32;}}}}}]]{{#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}}}|/|&#32;}}}}}|{{{caption|{{#replace:{{{1}}}|/|&#32;}}}}}]]</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}}}|/|&#32;}}}}}|{{{caption|{{#replace:{{{1}}}|/|&#32;}}}}}]]</span>|}}</span>|[[File:Catbomb.png|{{#if:{{{small|}}}|160x40px|240x60px}}]]}}</includeonly><noinclude>
+
<includeonly>{{Ship/Banner|{{{1}}}|type=Enemy|damaged={{{damaged|}}}|small={{{small|}}}|link={{{link|}}}|caption={{{caption|}}}|ring={{{ring|}}}|ring_glow={{{ring_glow|}}}}}</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]].
+
Enemy version of [[Template:Ship/Banner]].
==Usage==
 
<pre>{{EnemyBanner|New Submarine Princess Flagship}}</pre>
 
{{EnemyBanner|New Submarine Princess Flagship}}
 
  
<pre>{{EnemyBanner|New Submarine Princess Flagship II}}</pre>
+
==Examples==
{{EnemyBanner|New Submarine Princess Flagship II}}
+
<pre>{{Enemy/Banner|New Battleship Princess}}</pre>
 +
{{Enemy/Banner|New Battleship Princess}}
  
<pre>{{EnemyBanner|New Submarine Princess Flagship/II}}</pre>
+
<pre>{{Enemy/Banner|New Battleship Princess/}}</pre>
{{EnemyBanner|New Submarine Princess Flagship/II}}
+
{{Enemy/Banner|New Battleship Princess/}}
  
<pre>{{EnemyBanner|New Battleship Princess Damaged}}</pre>
+
<pre>{{Enemy/Banner|New Battleship Princess Damaged}}</pre>
{{EnemyBanner|New Battleship Princess Damaged}}
+
{{Enemy/Banner|New Battleship Princess Damaged}}
  
<pre>{{EnemyBanner|Kasumi/Kai|caption=Shioi|ring=true|ring_glow=true}}</pre>
+
<pre>{{Enemy/Banner|New Battleship Princess/Damaged}}</pre>
{{EnemyBanner|Destroyer Princess|caption=Shioi|ring=true|ring_glow=true}}
+
{{Enemy/Banner|New Battleship Princess/Damaged}}
  
<pre>{{EnemyBanner|Kasumi/Kai|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}</pre>
+
<pre>{{Enemy/Banner|New Battleship Princess/Damaged|damaged=true}}</pre>
{{EnemyBanner|Ancient Destroyer Princess|caption=Shioi|ring=true|ring_glow=true|small=true}}
+
{{Enemy/Banner|New Battleship Princess/Damaged|damaged=true}}
  
==Notes==
+
<pre>{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true}}</pre>
*Supported parameters: ''[1]'', ''link'', ''caption'', ''ring'', ''ring_glow'', ''damaged'', ''small'' (downscale HD card to Phase 1 size).
+
{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true}}
*The following parameters can be added: ''name'', ''model'', ''grayscale'', ''mode''.
+
 
*Other layers also can be supported (''flagship'', etc.).
+
<pre>{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}</pre>
*Automatic enemy aircraft layers are not supported.
+
{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}
 
</noinclude>
 
</noinclude>

Revision as of 21:44, 30 November 2020

Enemy version of Template:Ship/Banner.

Examples

{{Enemy/Banner|New Battleship Princess}}

File:Ship Banner New Battleship Princess.png

{{Enemy/Banner|New Battleship Princess/}}

File:Ship Banner New Battleship Princess.png

{{Enemy/Banner|New Battleship Princess Damaged}}

File:Ship Banner New Battleship Princess Damaged.png

{{Enemy/Banner|New Battleship Princess/Damaged}}

File:Ship Banner New Battleship Princess Damaged.png

{{Enemy/Banner|New Battleship Princess/Damaged|damaged=true}}

File:Ship Banner New Battleship Princess Damaged Damaged.png

{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true}}

Shioi

{{Enemy/Banner|New Battleship Princess/Damaged|caption=Shioi|ring=true|ring_glow=true|damaged=true|small=true}}

Shioi