• 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
Line 1: Line 1:
<includeonly><span class="advanced-tooltip">[[{{#replace:{{{1}}}|/|&#32;}}]]<div class="tooltip-contents">{{ShipBattleCard|{{{1}}}}}</div></span>{{#if:{{{help|}}}|<span style="color:#f00;"><sup>?</sup></span>|}}</includeonly><noinclude>
+
<includeonly><span class="advanced-tooltip">[[{{#if:{{{link|}}}|{{{link|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}|{{#if:{{{text|}}}|{{{text|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]<div class="tooltip-contents">{{ShipBattleCard|{{{1|}}}}}{{#if:{{{2|}}}|{{ShipBattleCard|{{{2|}}}}}|}}{{#if:{{{3|}}}|{{ShipBattleCard|{{{3|}}}}}|}}{{#if:{{{4|}}}|{{ShipBattleCard|{{{4|}}}}}|}}</div></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>|}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>{{ShipLink|Nagato}}</pre>
 
<pre>{{ShipLink|Nagato}}</pre>
Line 7: Line 7:
 
<pre>{{ShipLink|Hiryuu/Kai Ni|help=true}}</pre>
 
<pre>{{ShipLink|Hiryuu/Kai Ni|help=true}}</pre>
 
{{ShipLink|Hiryuu/Kai Ni|help=true}}
 
{{ShipLink|Hiryuu/Kai Ni|help=true}}
 +
<pre>{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link=Category:Kongou Class}}</pre>
 +
{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link=Category:Kongou Class|help=true}}
 
</noinclude>
 
</noinclude>

Revision as of 19:27, 17 November 2016

Usage

{{ShipLink|Nagato}}
Nagato
Ship Banner Nagato.png
{{ShipLink|Hiryuu/Kai Ni}}
Hiryuu Kai Ni
Ship Banner Hiryuu Kai Ni.png
{{ShipLink|Hiryuu/Kai Ni|help=true}}
Hiryuu Kai Ni
Ship Banner Hiryuu Kai Ni.png

?

{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link=Category:Kongou Class}}
Ship Banner Kongou.pngShip Banner Hiei.pngShip Banner Kirishima.pngShip Banner Haruna.png

?