• 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/Link"

From Kancolle Wiki
Jump to navigation Jump to search
com>Kenji135
(Test v2)
com>Kenji135
Line 16: Line 16:
 
<pre>{{ShipLink|Hiryuu|kai=x|kai_ni=x}}</pre>
 
<pre>{{ShipLink|Hiryuu|kai=x|kai_ni=x}}</pre>
 
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
 
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
 +
 +
==Note==
 +
For ship class categories that don't end with _Class, use link_category instead.
 +
<pre>{{ShipLink|Ro-500|text=Ro-series|link_class=Ro-series}}</pre>
 +
{{ShipLink|Ro-500|text=Ro-series|link_class=Ro-series}}
 +
<pre>{{ShipLink|Ro-500|text=Ro-series|link_category=Ro-series}}</pre>
 +
{{ShipLink|Ro-500|text=Ro-series|link_category=Ro-series}}
 +
 
==Tests==
 
==Tests==
 
{{ShipLink|Ooshio|kai=x|kai_ni=x}}
 
{{ShipLink|Ooshio|kai=x|kai_ni=x}}

Revision as of 17:48, 31 December 2018

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}}

NagatoTemplate:ShipBattleCardHD

{{ShipLink|Hiryuu/Kai Ni}}

Hiryuu Kai NiTemplate:ShipBattleCardHD

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

Hiryuu Kai NiTemplate:ShipBattleCardHD?

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

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}}

Fusou Class (Kai Ni)Template:ShipBattleCardHD
Template:ShipBattleCardHD
?

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

Vittorio VenetoTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
?

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

HiryuuTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD

Note

For ship class categories that don't end with _Class, use link_category instead.

{{ShipLink|Ro-500|text=Ro-series|link_class=Ro-series}}

Ro-seriesTemplate:ShipBattleCardHD

{{ShipLink|Ro-500|text=Ro-series|link_category=Ro-series}}

Ro-seriesTemplate:ShipBattleCardHD

Tests

OoshioTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
AsashioTemplate:ShipBattleCardHD
Template:ShipBattleCardHD
Template:ShipBattleCardHD
TsunShipTemplate:ShipBattleCardHD
Template:ShipBattleCardHD