FANDOM


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:ShipBattleCardKai/doc to edit this documentation. (How does this work?)
Note: this template is/can be generated from its JSX subpage.
This template displays the battle card image for the requested ship.

Examples

{{ShipBattleCardKai|Aircraft Carrier Princess}}
{{ShipBattleCardKai|Standard Carrier Wo-Class/Flagship II|flagship=true}}
{{ShipBattleCardKai|Akitsushima/|grayscale=true|layers=status_sunk}}
{{ShipBattleCardKai|Shigure/Kai Ni|layers=ring ring_glow}}
{{ShipBattleCardKai|name=Ooyodo|model=Kai}}
{{ShipBattleCardKai|Taihou/Kai|damaged=true|layers=smudge_medium status_medium_damage}}
{{ShipBattleCardKai|Taihou/Kai|hd=true}}
{{ShipBattleCardKai|Taihou/Kai|damaged=true|hd=true}}

becomes

Aircraft Carrier Princess Banner Standard Carrier Wo-Class Flagship BannerHell plane 2Battle Card Flagship Icon Akitsushima BannerBattle Card Status Sunk Shigure Kai Ni BannerBattle Card Marriage RingBattle Card Marriage Ring Glow Ooyodo Kai Banner Taihou Kai Banner DamagedBattle Card Smudge MediumBattle Card Status Medium Damage Taihou Kai Banner Taihou Kai Banner Damaged

Parameters

The following are the parameters that can be passed.

[1]

The key of the ship, which consists of: The name of the ship, followed by a slash (/), optionally followed by the suffix of the ship.

This method is included as a shortcut and for convenience. name and model will take precedence over this.

name

The name of the ship, without any suffixes.

model

The model of the ship, ie. the suffix. For example, Kai or Kai Ni.

To specify the base model you can omit model or leave model empty.

flagship

Set to true to display the flagship icon in the top right of the battle card.

damaged

Boolean. Set to true to show the damaged card. Defaults to false.

layers

A list of strings separated by spaces. Adds the specified layers on top of the card.

Available layers are:

  • status_light_damage
  • status_medium_damage
  • status_heavy_damage
  • status_sunk
  • status_repair
  • status_expedition
  • status_light_damage_installation
  • status_medium_damage_installation
  • status_heavy_damage_installation
  • status_sunk_installation
  • smudge_light
  • smudge_medium
  • smudge_heavy
  • flagship
    • This does the same thing as setting the flagship parameter to true.
  • ring
  • ring_glow

link

String. If set, the image (and any layer images) becomes a link to the parameter's value. Set to nil to have images to link to themselves (like plain wikitext images). Set to false to force images to be unlinked.

caption

String. If set, hovering over the image will show the parameter's value as a tooltip. Will default to the ship's full name (base name with suffix).

size

String. If set, the card is resized to the specified size. The format of the string is the same as for normal wikitext images. 160x40px by default (pre-HTML5 size).

hd

Boolean. Set to true to use HD (HTML5) card size (HD assets are always used, downscaled to pre-HTML5 size when this parameter is not set). Same as setting size to 240x60px.

grayscale

Boolean. Set to true to grayscale the image. Only works in browsers that support the CSS grayscale filter, unprefixed or with -webkit prefix (no IE).

mode

String. Changes the mode of the template. The default mode returns a fully formatted image.

Set to source to return the image's filename. All image formatting parameters are ignored in this mode. This mode is intended for use in conjunction with the gallery tag called via the #tag parser function.

Tests

Parameters

CodeSDHD
[1] Taihou Kai Banner Taihou Kai Banner
name, model Taihou Kai Banner Taihou Kai Banner
damaged Taihou Kai Banner Damaged Taihou Kai Banner Damaged
link, caption Taihou Kai Banner Taihou Kai Banner
grayscale Taihou Kai Banner Taihou Kai Banner

Layers

CodeSDHD
attack_hawk_r Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment
attack_hawk_r1 Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment
attack_hawk_r2 Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment Taihou Kai BannerAbyssal Patrolling Attack Hawk 574 Equipment
attack_seaplane_kai_r Taihou Kai BannerAbyssal Attack Seaplane Kai 555 Equipment Taihou Kai BannerAbyssal Attack Seaplane Kai 555 Equipment
cat_night_r Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment
cat_night_r1 Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment
cat_night_r2 Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment Taihou Kai BannerAbyssal Night Cat Fighter 581 Equipment
cat_r Taihou Kai BannerHell plane 1 Taihou Kai BannerHell plane 1
cat_r1 Taihou Kai BannerHell plane 1 Taihou Kai BannerHell plane 1
cat_r2 Taihou Kai BannerHell plane 1 Taihou Kai BannerHell plane 1
dive_night_r Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment
dive_night_r1 Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment
dive_night_r2 Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment Taihou Kai BannerAbyssal Night Dive Bomber 582 Equipment
flagship Taihou Kai BannerBattle Card Flagship Icon Taihou Kai BannerBattle Card Flagship Icon
fortress_ace_r1 Taihou Kai BannerAbyssal Sky Fortress Ace (Reconnaissance Model) 595 Equipment Taihou Kai BannerAbyssal Sky Fortress Ace (Reconnaissance Model) 595 Equipment
fortress_ace_r2 Taihou Kai BannerAbyssal Sky Fortress Ace (Reconnaissance Model) 595 Equipment Taihou Kai BannerAbyssal Sky Fortress Ace (Reconnaissance Model) 595 Equipment
fortress_heavy_ace_r1 Taihou Kai BannerAbyssal Sky Fortress Ace (Heavy Bomber Model) 598 Equipment Taihou Kai BannerAbyssal Sky Fortress Ace (Heavy Bomber Model) 598 Equipment
fortress_heavy_ace_r2 Taihou Kai BannerAbyssal Sky Fortress Ace (Heavy Bomber Model) 598 Equipment Taihou Kai BannerAbyssal Sky Fortress Ace (Heavy Bomber Model) 598 Equipment
fortress_heavy_r Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment
fortress_heavy_r1 Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment
fortress_heavy_r2 Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment Taihou Kai BannerAbyssal Sky Fortress (Heavy Bomber Model) 597 Equipment
fortress_r Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment
fortress_r1 Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment
fortress_r2 Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment Taihou Kai BannerAbyssal Sky Fortress (Reconnaissance Model) 594 Equipment
hell Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
hell_cat_kai_r Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment
hell_cat_kai_r1 Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment
hell_cat_kai_r2 Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment Taihou Kai BannerAbyssal Cat Fighter Kai 556 Equipment
hell_kai_l1 Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment
hell_kai_offset_l1 Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment
hell_kai_offset_r1 Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment
hell_kai_r1 Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment Taihou Kai BannerAbyssal Hell Dive Bomber Kai 557 Equipment
hell_l1 Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
hell_offset_l1 Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
hell_offset_r1 Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
hell_r Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
hell_r1 Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2
liberation_ace_r1 Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber Ace 562 Equipment Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber Ace 562 Equipment
liberation_ace_r2 Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber Ace 562 Equipment Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber Ace 562 Equipment
liberation_r Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment
liberation_r1 Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment
liberation_r2 Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment Taihou Kai BannerAbyssal Liberation Land-based Dive Bomber 561 Equipment
revenge_kai_l2 Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment
revenge_kai_offset_l2 Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment
revenge_kai_offset_r2 Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment
revenge_kai_r1 Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment
revenge_kai_r2 Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment Taihou Kai BannerAbyssal Revenge Torpedo Bomber Kai 558 Equipment
revenge_night_r Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment
revenge_night_r1 Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment
revenge_night_r2 Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment Taihou Kai BannerAbyssal Night Revenge Torpedo Bomber 583 Equipment
revenge_r2 Taihou Kai BannerHell plane 3 Taihou Kai BannerHell plane 3
ring Taihou Kai BannerBattle Card Marriage Ring Taihou Kai BannerBattle Card Marriage Ring
ring_glow Taihou Kai BannerBattle Card Marriage Ring Glow Taihou Kai BannerBattle Card Marriage Ring Glow
smudge_heavy Taihou Kai BannerBattle Card Smudge Heavy Taihou Kai BannerBattle Card Smudge Heavy
smudge_light Taihou Kai BannerBattle Card Smudge Light Taihou Kai BannerBattle Card Smudge Light
smudge_medium Taihou Kai BannerBattle Card Smudge Medium Taihou Kai BannerBattle Card Smudge Medium
status_expedition Taihou Kai BannerBattle Card Status Expedition Taihou Kai BannerBattle Card Status Expedition
status_heavy_damage Taihou Kai BannerBattle Card Status Heavy Damage Taihou Kai BannerBattle Card Status Heavy Damage
status_heavy_damage_installation Taihou Kai BannerBattle Card Status Heavy Damage Installation Taihou Kai BannerBattle Card Status Heavy Damage Installation
status_light_damage Taihou Kai BannerBattle Card Status Light Damage Taihou Kai BannerBattle Card Status Light Damage
status_light_damage_installation Taihou Kai BannerBattle Card Status Light Damage Installation Taihou Kai BannerBattle Card Status Light Damage Installation
status_medium_damage Taihou Kai BannerBattle Card Status Medium Damage Taihou Kai BannerBattle Card Status Medium Damage
status_medium_damage_installation Taihou Kai BannerBattle Card Status Medium Damage Installation Taihou Kai BannerBattle Card Status Medium Damage Installation
status_repair Taihou Kai BannerBattle Card Status Repair Taihou Kai BannerBattle Card Status Repair
status_retreat Taihou Kai BannerBattle Card Status Retreat Taihou Kai BannerBattle Card Status Retreat
status_sunk Taihou Kai BannerBattle Card Status Sunk Taihou Kai BannerBattle Card Status Sunk
status_sunk_installation Taihou Kai BannerBattle Card Status Sunk Installation Taihou Kai BannerBattle Card Status Sunk Installation
takoyaki Taihou Kai BannerHell plane 2 Taihou Kai BannerHell plane 2

Scale

Taihou Kai BannerBattle Card Status Expedition Taihou Kai BannerBattle Card Status Expedition Taihou Kai BannerBattle Card Status Expedition
Taihou Kai BannerBattle Card Flagship Icon Taihou Kai BannerBattle Card Flagship Icon Taihou Kai BannerBattle Card Flagship Icon
Community content is available under CC-BY-SA unless otherwise noted.