• 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
m
m (Undo revision 747892 by がか (talk))
Line 1: Line 1:
<includeonly><span class="advanced-tooltip">[[{{#if:{{{link_class|}}}|{{#replace:/Category/{{{link_class|}}}_Class|/|&#58;}}|{{#if:{{{link|}}}|{{{link|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}}}|{{#if:{{{text|}}}|{{{text|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]<div class="tooltip-contents">{{ShipBattleCard|{{{1|}}}}}{{#if:{{{2|}}}|{{ShipBattleCard|{{{2|}}}}}|}}{{#if:{{{3|}}}|<br/>{{ShipBattleCard|{{{3|}}}}}|}}{{#if:{{{4|}}}|{{ShipBattleCard|{{{4|}}}}}|}}</div></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>|}}</includeonly><noinclude>
+
<includeonly><span class="advanced-tooltip">{{#if:{{{link_class|}}}|[http://kancolle.wikia.com/wiki/Category:{{#replace:{{{link_class|}}}|&#32;|_}}_Class {{#if:{{{text|}}}|{{{text|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]|[[{{#if:{{{link|}}}|{{{link|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}|{{#if:{{{text|}}}|{{{text|}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]}}<div class="tooltip-contents">{{ShipBattleCard|{{{1|}}}}}{{#if:{{{2|}}}|{{ShipBattleCard|{{{2|}}}}}|}}{{#if:{{{3|}}}|<br/>{{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 13: Line 13:
 
==Tests==
 
==Tests==
 
{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}
 
{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}
{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Vittorio Veneto|help=true}}
 
 
</noinclude>
 
</noinclude>

Revision as of 20:04, 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=Kongou Class}}
Kongou Class
Ship Banner Kongou.pngShip Banner Hiei.png
Ship Banner Kirishima.pngShip Banner Haruna.png

?

{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link=Fusou Class|help=true}}
Fusou Class (Kai Ni)
Ship Banner Fusou Kai Ni.pngShip Banner Yamashiro Kai Ni.png

?

Tests

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

?