- 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:Ship/Banner"
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:{{#replace:{{{1}}}|/| }}...") |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative;">[[File:{{#replace:{{{1}}}|/| }} Banner{{#if:{{{damaged|  Damaged | + | <includeonly>{{#if:{{{1|}}}|<span class="image-stack" style="display:inline-block;overflow:hidden;vertical-align:middle;position:relative;">[[File:{{#replace:{{{1}}}|/| }} Banner{{#if:{{{damaged|}}}| Damaged}}.png|link={{{link|{{#replace:{{{1}}}|/| }}}}}|{{{caption|{{#replace:{{{1}}}|/| }}}}}]]{{#if:{{{ring|}}}|<span class="image-layer" style="line-height:0px;position:absolute;top:19px;left:138px;">[[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;top:10px;opacity:0.7;left:126px;">[[File:Battle Card Marriage Ring Glow.png|link={{{link|{{#replace:{{{1}}}|/| }}}}}|{{{caption|{{#replace:{{{1}}}|/| }}}}}]]</span>|}}</span>|[[File:Catbomb.png|160x40px]]}}</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:ShipLink]]. | 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:ShipLink]]. | ||
==Usage== | ==Usage== | ||
Line 13: | Line 13: | ||
<pre>{{ShipBattleCardHD|I-401/Kai}}</pre> | <pre>{{ShipBattleCardHD|I-401/Kai}}</pre> | ||
{{ShipBattleCardHD|I-401/Kai}} | {{ShipBattleCardHD|I-401/Kai}} | ||
+ | |||
+ | <pre>{{ShipBattleCardHD|I-401/Kai|damaged=true}}</pre> | ||
+ | {{ShipBattleCardHD|I-401/Kai|damaged=true}} | ||
<pre>{{ShipBattleCardHD|I-401/Kai|caption=Shioi|ring=true|ring_glow=true}}</pre> | <pre>{{ShipBattleCardHD|I-401/Kai|caption=Shioi|ring=true|ring_glow=true}}</pre> | ||
Line 18: | Line 21: | ||
==Notes== | ==Notes== | ||
− | *Supported parameters: ''[1]'', ''link'', ''caption'', ''ring'', ''ring_glow''. | + | *Supported parameters: ''[1]'', ''link'', ''caption'', ''ring'', ''ring_glow'', ''damaged''. |
*The following parameters can be added: ''name'', ''model'', ''size'', ''grayscale'', ''mode''. | *The following parameters can be added: ''name'', ''model'', ''size'', ''grayscale'', ''mode''. | ||
*Other layers also can be supported (''flagship'', etc.). | *Other layers also can be supported (''flagship'', etc.). | ||
*Automatic enemy aircraft layers are not supported. | *Automatic enemy aircraft layers are not supported. | ||
</noinclude> | </noinclude> |
Revision as of 16:18, 18 August 2018
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:ShipLink.
Usage
{{ShipBattleCardHD|I-401}}
{{ShipBattleCardHD|I-401/}}
{{ShipBattleCardHD|I-401 Kai}}
{{ShipBattleCardHD|I-401/Kai}}
{{ShipBattleCardHD|I-401/Kai|damaged=true}}
{{ShipBattleCardHD|I-401/Kai|caption=Shioi|ring=true|ring_glow=true}}
Notes
- Supported parameters: [1], link, caption, ring, ring_glow, damaged.
- The following parameters can be added: name, model, size, grayscale, mode.
- Other layers also can be supported (flagship, etc.).
- Automatic enemy aircraft layers are not supported.