- 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"
Jump to navigation
Jump to search
com>Kruss m |
com>Kruss (increasing limit) |
||
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|}}}|/| }}}}]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/| }}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]}}<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}}}}}}}</span></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}}}| |_}}_Class {{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/| }}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]}}<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><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]]). | ||
==Usage== | ==Usage== |
Revision as of 21:00, 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}}
{{ShipLink|Hiryuu/Kai Ni}}
{{ShipLink|Hiryuu/Kai Ni|help=true}}
{{ShipLink|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
{{ShipLink|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}
{{ShipLink|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}
{{ShipLink|Hiryuu|kai=x|kai_ni=x}}
Tests