• 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
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;}}}}]]}}<div 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|}}}}}|}}</div></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>|}}</includeonly><noinclude>
+
<includeonly>{{AdvancedTooltip|{{#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;}}}}]]}}|{{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:{{{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_class=Kongou}}</pre>
+
<pre>{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}</pre>
 
{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
 
{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
 
<pre>{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}</pre>
 
<pre>{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}</pre>
Line 16: Line 16:
 
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
 
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
 
==Tests==
 
==Tests==
{{ShipLink}}
 
 
{{ShipLink|Ooshio|kai=x|kai_ni=x}}
 
{{ShipLink|Ooshio|kai=x|kai_ni=x}}
 
{{ShipLink|Asashio|kai=x|kai_ni=x}}
 
{{ShipLink|Asashio|kai=x|kai_ni=x}}
{{ShipLink|Arashio|kai=x|kai_ni=x}}
 
 
{{ShipLink|Kasumi/Kai Ni|Kasumi/Kai Ni B|text=TsunShip}}
 
{{ShipLink|Kasumi/Kai Ni|Kasumi/Kai Ni B|text=TsunShip}}
{{ShipLink|Arashio|damaged=true|layers=smudge_heavy status_heavy_damage}}
 
 
</noinclude>
 
</noinclude>

Revision as of 02:39, 18 February 2018

Usage

{{ShipLink|Nagato}}

Template:AdvancedTooltip

{{ShipLink|Hiryuu/Kai Ni}}

Template:AdvancedTooltip

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

Template:AdvancedTooltip?

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

Template:AdvancedTooltip?

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

Template:AdvancedTooltip?

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

Template:AdvancedTooltip?

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

Template:AdvancedTooltip

Tests

Template:AdvancedTooltip Template:AdvancedTooltip Template:AdvancedTooltip