Template:Ship/Link

Revision as of 17:32, 31 December 2018 by com>Kenji135 (Test adding new argument)

Links with ship battle card tooltips. Uses Template:ShipBattleCardHD and so is not limited by Lua limits (but is limited in features compared to Template:ShipBattleCardKai, see Template:ShipBattleCardHD#Notes).

Usage

{{ShipLink|Nagato}}

{{#if:|NagatoTemplate:ShipBattleCardHD

{{ShipLink|Hiryuu/Kai Ni}}

{{#if:|Hiryuu Kai NiTemplate:ShipBattleCardHD

{{ShipLink|Hiryuu/Kai Ni|help=true}}

{{#if:|Hiryuu Kai NiTemplate:ShipBattleCardHD?

{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}

{{#if:Kongou|[http://kancolle.wikia.com/wiki/Category:Kongou_ClassTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
?

{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}

{{#if:Fusou|[http://kancolle.wikia.com/wiki/Category:Fusou_ClassTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
?

{{ShipLink|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}

{{#if:Vittorio Veneto|[http://kancolle.wikia.com/wiki/Category:Vittorio_Veneto_ClassTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
?

{{ShipLink|Hiryuu|kai=x|kai_ni=x}}

{{#if:|HiryuuTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD

Tests

{{#if:|OoshioTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
{{#if:|AsashioTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
{{#if:|TsunShipTemplate:ShipBattleCardHD
Template:ShipBattleCardHD