- 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 (increasing limit) |
com>Kruss |
||
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}}}}}}}{{#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 | + | <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}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}} |
</includeonly><noinclude> | </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]]). |
Revision as of 21:05, 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