• 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>Kruss
(increasing limit)
com>Kruss
Line 1: Line 1:
<includeonly><span class="advanced-tooltip">{{#if:{{{link_class|}}}|[http://kancolle.wikia.com/wiki/Category:{{#replace:{{{link_class}}}| |_}}_Class {{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/|&#32;}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]}}<span class="tooltip-contents">{{ShipBattleCard|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{ShipBattleCard|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{ShipBattleCard|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|<br>{{ShipBattleCard|{{{2}}}}}}}{{#if:{{{3|}}}|<br/>{{ShipBattleCard|{{{3}}}}}}}{{#if:{{{4|}}}|<br/>{{ShipBattleCard|{{{4}}}}}}}{{#if:{{{5|}}}|<br/>{{ShipBattleCard|{{{5}}}}}}}{{#if:{{{6|}}}|<br/>{{ShipBattleCard|{{{6}}}}}}}{{#if:{{{7|}}}|<br/>{{ShipBattleCard|{{{7}}}}}}}{{#if:{{{8|}}}|<br/>{{ShipBattleCard|{{{8}}}}}}}{{#if:{{{9|}}}|<br/>{{ShipBattleCard|{{{9}}}}}}}{{#if:{{{10|}}}|<br/>{{ShipBattleCard|{{{10}}}}}}}{{#if:{{{11|}}}|<br/>{{ShipBattleCard|{{{11}}}}}}}{{#if:{{{12|}}}|<br/>{{ShipBattleCard|{{{12}}}}}}}{{#if:{{{13|}}}|<br/>{{ShipBattleCard|{{{13}}}}}}}{{#if:{{{14|}}}|<br/>{{ShipBattleCard|{{{14}}}}}}}{{#if:{{{15|}}}|<br/>{{ShipBattleCard|{{{15}}}}}}}{{#if:{{{16|}}}|<br/>{{ShipBattleCard|{{{16}}}}}}}{{#if:{{{17|}}}|<br/>{{ShipBattleCard|{{{17}}}}}}}{{#if:{{{18|}}}|<br/>{{ShipBattleCard|{{{18}}}}}}}{{#if:{{{19|}}}|<br/>{{ShipBattleCard|{{{19}}}}}}}{{#if:{{{20|}}}|<br/>{{ShipBattleCard|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}
+
<includeonly><span class="advanced-tooltip">{{#if:{{{link_class|}}}|[http://kancolle.wikia.com/wiki/Category:{{#replace:{{{link_class}}}| |_}}_Class {{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/|&#32;}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]}}<span class="tooltip-contents">{{ShipBattleCard|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{ShipBattleCard|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{ShipBattleCard|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|<br>{{ShipBattleCard|{{{2}}}}}}}{{#if:{{{3|}}}|<br/>{{ShipBattleCard|{{{3}}}}}}}{{#if:{{{4|}}}|<br/>{{ShipBattleCard|{{{4}}}}}}}{{#if:{{{5|}}}|<br/>{{ShipBattleCard|{{{5}}}}}}}{{#if:{{{6|}}}|<br/>{{ShipBattleCard|{{{6}}}}}}}{{#if:{{{7|}}}|<br/>{{ShipBattleCard|{{{7}}}}}}}{{#if:{{{8|}}}|<br/>{{ShipBattleCard|{{{8}}}}}}}{{#if:{{{9|}}}|<br/>{{ShipBattleCard|{{{9}}}}}}}{{#if:{{{10|}}}|<br/>{{ShipBattleCard|{{{10}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Links with ship battle card tooltips. Uses [[Template:ShipBattleCard]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:ShipBattleCard#Notes]]).
 
Links with ship battle card tooltips. Uses [[Template:ShipBattleCard]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:ShipBattleCard#Notes]]).

Revision as of 21:05, 1 August 2018

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

Usage

{{ShipLink|Nagato}}

NagatoShip Banner Nagato.png

{{ShipLink|Hiryuu/Kai Ni}}

Hiryuu Kai NiShip Banner Hiryuu Kai Ni.png

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

Hiryuu Kai NiShip Banner Hiryuu Kai Ni.png?

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

Kongou ClassShip Banner Kongou.png
Ship Banner Hiei.png
Ship Banner Kirishima.png
Ship Banner Haruna.png
?

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

Fusou Class (Kai Ni)Ship Banner Fusou Kai Ni.png
Ship Banner Yamashiro Kai Ni.png
?

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

Vittorio VenetoShip Banner Littorio.png
Ship Banner Roma.png
?

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

HiryuuShip Banner Hiryuu.png
Ship Banner Hiryuu Kai.png
Ship Banner Hiryuu Kai Ni.png

Tests

OoshioShip Banner Ooshio.png
Ship Banner Ooshio Kai.png
Ship Banner Ooshio Kai Ni.png

AsashioShip Banner Asashio.png
Ship Banner Asashio Kai.png
Ship Banner Asashio Kai Ni.png

TsunShipShip Banner Kasumi Kai Ni.png
Ship Banner Kasumi Kai Ni B.png