• 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
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><span class="advanced-tooltip">{{#if:{{{link_class|}}}{{{link_category|}}}|[http://kancolle.wikia.com/wiki/Category:{{#if:{{{link_class|}}}|{{#replace:{{{link_class}}}| |_}}_Class|{{#if:{{{link_category}}}|{{#replace:{{{link_category}}}| |_}}}}}} {{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/|&#32;}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/|&#32;}}}}]]}}<span class="tooltip-contents">{{ShipBattleCardHD|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{ShipBattleCardHD|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{ShipBattleCardHD|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|<br>{{ShipBattleCardHD|{{{2}}}}}}}{{#if:{{{3|}}}|<br/>{{ShipBattleCardHD|{{{3}}}}}}}{{#if:{{{4|}}}|<br/>{{ShipBattleCardHD|{{{4}}}}}}}{{#if:{{{5|}}}|<br/>{{ShipBattleCardHD|{{{5}}}}}}}{{#if:{{{6|}}}|<br/>{{ShipBattleCardHD|{{{6}}}}}}}{{#if:{{{7|}}}|<br/>{{ShipBattleCardHD|{{{7}}}}}}}{{#if:{{{8|}}}|<br/>{{ShipBattleCardHD|{{{8}}}}}}}{{#if:{{{9|}}}|<br/>{{ShipBattleCardHD|{{{9}}}}}}}{{#if:{{{10|}}}|<br/>{{ShipBattleCardHD|{{{10}}}}}}}{{#if:{{{11|}}}|<br/>{{ShipBattleCardHD|{{{11}}}}}}}{{#if:{{{12|}}}|<br/>{{ShipBattleCardHD|{{{12}}}}}}}{{#if:{{{13|}}}|<br/>{{ShipBattleCardHD|{{{13}}}}}}}{{#if:{{{14|}}}|<br/>{{ShipBattleCardHD|{{{14}}}}}}}{{#if:{{{15|}}}|<br/>{{ShipBattleCardHD|{{{15}}}}}}}{{#if:{{{16|}}}|<br/>{{ShipBattleCardHD|{{{16}}}}}}}{{#if:{{{17|}}}|<br/>{{ShipBattleCardHD|{{{17}}}}}}}{{#if:{{{18|}}}|<br/>{{ShipBattleCardHD|{{{18}}}}}}}{{#if:{{{19|}}}|<br/>{{ShipBattleCardHD|{{{19}}}}}}}{{#if:{{{20|}}}|<br/>{{ShipBattleCardHD|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{#if:{{{kai|}}}{{{kai_ni|}}}|{{Link|{{{1|}}}|{{#if:{{{kai|}}}|{{{1|}}}/Kai}}|{{#if:{{{kai_ni|}}}|{{{1|}}}/Kai Ni}}|type=Ship|asset=Banner|help={{{help|}}}|text={{{text|}}}|link={{{link|}}}|link_category={{#if:{{{link_class|}}}|{{{link_class}}} Class|{{{link_category|}}}}}}}|{{Link|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|type=Ship|asset=Banner|help={{{help|}}}|text={{{text|}}}|link={{{link|}}}|link_category={{#if:{{{link_class|}}}|{{{link_class}}} Class|{{{link_category|}}}}}}}}}</includeonly><noinclude>
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]]).
+
Links with ship battle card tooltips. Uses [[Template:Link]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:Banner#Interface]]).
==Usage==
+
==Examples==
<pre>{{ShipLink|Nagato}}</pre>
+
<pre>{{Ship/Link|Nagato}}</pre>
{{ShipLink|Nagato}}
+
{{Ship/Link|Nagato}}
<pre>{{ShipLink|Hiryuu/Kai Ni}}</pre>
+
<pre>{{Ship/Link|Nagato/}}</pre>
{{ShipLink|Hiryuu/Kai Ni}}
+
{{Ship/Link|Nagato/}}
<pre>{{ShipLink|Hiryuu/Kai Ni|help=true}}</pre>
+
<pre>{{Ship/Link|Hiryuu/Kai Ni}}</pre>
{{ShipLink|Hiryuu/Kai Ni|help=true}}
+
{{Ship/Link|Hiryuu/Kai Ni}}
<pre>{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}</pre>
+
<pre>{{Ship/Link|Hiryuu/Kai Ni|help=true}}</pre>
{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
+
{{Ship/Link|Hiryuu/Kai Ni|help=true}}
<pre>{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}</pre>
+
<pre>{{Ship/Link|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}}
+
{{Ship/Link|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
<pre>{{ShipLink|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}</pre>
+
<pre>{{Ship/Link|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}</pre>
{{ShipLink|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}
+
{{Ship/Link|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}
<pre>{{ShipLink|Hiryuu|kai=x|kai_ni=x}}</pre>
+
<pre>{{Ship/Link|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}</pre>
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
+
{{Ship/Link|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}
<pre>{{ShipLink|Ro-500|text=Ro-series|link_category=Ro-series}}</pre>
+
<pre>{{Ship/Link|Hiryuu|kai=x|kai_ni=x}}</pre>
{{ShipLink|Ro-500|text=Ro-series|link_category=Ro-series}}
+
{{Ship/Link|Hiryuu|kai=x|kai_ni=x}}
 +
<pre>{{Ship/Link|Ro-500|text=Ro-series|link_category=Ro-series}}</pre>
 +
{{Ship/Link|Ro-500|text=Ro-series|link_category=Ro-series}}
 +
==Tests==
 +
(Souryuu in slot 18 to help with counting.)<br>
 +
{{Ship/Link|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|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uu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Souryuu|Hiryuu}}
 +
{{Ship/Link|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Hiryuu|Souryuu|Hiryuu|Hiryuu}}
 
</noinclude>
 
</noinclude>

Latest revision as of 06:05, 12 May 2022

[edit] Asset Template List
Template:Asset Other Templates
Template:Banner Template:Card Template:Link Others

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

Examples

{{Ship/Link|Nagato}}

NagatoNagato

{{Ship/Link|Nagato/}}

NagatoNagato

{{Ship/Link|Hiryuu/Kai Ni}}

Hiryuu Kai NiHiryuu Kai Ni

{{Ship/Link|Hiryuu/Kai Ni|help=true}}

Hiryuu Kai NiHiryuu Kai Ni?

{{Ship/Link|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}

Kongou ClassKongou
Hiei
Kirishima
Haruna
?

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

Fusou Class (Kai Ni)Fusou Kai Ni
Yamashiro Kai Ni
?

{{Ship/Link|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}

Vittorio VenetoLittorio
Roma
?

{{Ship/Link|Hiryuu|kai=x|kai_ni=x}}

HiryuuHiryuu
Hiryuu Kai
Hiryuu Kai Ni

{{Ship/Link|Ro-500|text=Ro-series|link_category=Ro-series}}

Ro-seriesRo-500

Tests

(Souryuu in slot 18 to help with counting.)
HiryuuHiryuu HiryuuHiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuSouryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuSouryuu
Hiryuu
HiryuuHiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuHiryuu
HiryuuSouryuu
HiryuuHiryuu