• 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...")
 
m (Damage Debuffed -> Debuffed)
 
(13 intermediate revisions by 3 users not shown)
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>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{Banner|{{{1|}}}|type=Enemy|suffix1={{#if: {{{debuffed|}}} | Debuffed }}|text={{{text|}}}|caption={{{caption|}}}|small={{{small|}}}}}</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]].
+
Inherited from [[Template:Banner]]. Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page.
==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|Gotou Islands Seabed Princess Damaged}}</pre>
{{EnemyBanner|Ancient Destroyer Princess|caption=Shioi|ring=true|ring_glow=true|small=true}}
+
{{Enemy/Banner|Gotou Islands Seabed Princess Damaged}}
  
==Notes==
+
<pre>{{Enemy/Banner|Gotou Islands Seabed Princess Debuffed}}</pre>
*Supported parameters: ''[1]'', ''link'', ''caption'', ''ring'', ''ring_glow'', ''damaged'', ''small'' (downscale HD card to Phase 1 size).
+
{{Enemy/Banner|Gotou Islands Seabed Princess Debuffed}}
*The following parameters can be added: ''name'', ''model'', ''grayscale'', ''mode''.
+
 
*Other layers also can be supported (''flagship'', etc.).
+
<pre>{{Enemy/Banner|Gotou Islands Seabed Princess/Debuffed}}</pre>
*Automatic enemy aircraft layers are not supported.
+
{{Enemy/Banner|Gotou Islands Seabed Princess/Debuffed}}
 +
 
 +
<pre>{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true}}</pre>
 +
{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true}}
 +
 
 +
<pre>{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|caption=...}}</pre>
 +
{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|caption=...|}}
 +
 
 +
<pre>{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|small=true|text=...}}</pre>
 +
{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|small=true|text=...}}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:50, 20 September 2022

[edit] Asset Template List
Template:Asset Other Templates
Template:Banner Template:Card Template:Link Others

Inherited from Template:Banner. Simplified version of Template:ShipBattleCardKai. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page.

Examples

{{Enemy/Banner|New Battleship Princess}}

Enemy Banner New Battleship Princess.png

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

Enemy Banner New Battleship Princess.png

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

Enemy Banner New Battleship Princess Damaged.png

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

Enemy Banner New Battleship Princess Damaged.png

{{Enemy/Banner|Gotou Islands Seabed Princess Damaged}}

Enemy Banner Gotou Islands Seabed Princess Damaged.png

{{Enemy/Banner|Gotou Islands Seabed Princess Debuffed}}

Enemy Banner Gotou Islands Seabed Princess Debuffed.png

{{Enemy/Banner|Gotou Islands Seabed Princess/Debuffed}}

Enemy Banner Gotou Islands Seabed Princess Debuffed.png

{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true}}

Enemy Banner Gotou Islands Seabed Princess Debuffed.png

{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|caption=...}}

...

{{Enemy/Banner|Gotou Islands Seabed Princess|debuffed=true|small=true|text=...}}

...