- 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
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:even_break|{{#if:{{{10|}}}||<br>}}}}<span class="tooltip">{{#if:{{{link_class|}}}{{{link_category|}}}|[[:Category:{{#if:{{{link_class|}}}|{{#replace:{{{link_class}}}| |_}}_Class|{{#if:{{{link_category|}}}|{{#replace:{{{link_category}}}| |_}}}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/| }}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]}}<span class="tooltiptext">{{ | + | <includeonly>{{#vardefine:even_break|{{#if:{{{10|}}}||<br>}}}}<span class="tooltip">{{#if:{{{link_class|}}}{{{link_category|}}}|[[:Category:{{#if:{{{link_class|}}}|{{#replace:{{{link_class}}}| |_}}_Class|{{#if:{{{link_category|}}}|{{#replace:{{{link_category}}}| |_}}}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]|[[{{#if:{{{link|}}}|{{{link}}}|{{#replace:{{{1|}}}|/| }}}}|{{#if:{{{text|}}}|{{{text}}}|{{#replace:{{{1|}}}|/| }}}}]]}}<span class="tooltiptext">{{Banner|type={{{type|Ship}}}|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{2}}}}}}}{{#if:{{{3|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{3}}}}}}}{{#if:{{{4|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{4}}}}}}}{{#if:{{{5|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{5}}}}}}}{{#if:{{{6|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{6}}}}}}}{{#if:{{{7|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{7}}}}}}}{{#if:{{{8|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{8}}}}}}}{{#if:{{{9|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{9}}}}}}}{{#if:{{{10|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{10}}}}}}}{{#if:{{{11|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{11}}}}}}}{{#if:{{{12|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{12}}}}}}}{{#if:{{{13|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{13}}}}}}}{{#if:{{{14|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{14}}}}}}}{{#if:{{{15|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{15}}}}}}}{{#if:{{{16|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{16}}}}}}}{{#if:{{{17|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{17}}}}}}}{{#if:{{{18|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{18}}}}}}}{{#if:{{{19|}}}|<br>{{Banner|type={{{type|Ship}}}|{{{19}}}}}}}{{#if:{{{20|}}}|{{#var:even_break}}{{Banner|type={{{type|Ship}}}|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude> |
− | Links with ship battle card tooltips. Uses [[Template: | + | Links with ship battle card tooltips. Uses [[Template:Banner]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:Banner#Interface]]). |
==Examples== | ==Examples== | ||
<pre>{{Ship/Link|Nagato}}</pre> | <pre>{{Ship/Link|Nagato}}</pre> |
Revision as of 02:41, 1 December 2020
Links with ship battle card tooltips. Uses Template:Banner 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}}
{{Ship/Link|Nagato/}}
{{Ship/Link|Hiryuu/Kai Ni}}
{{Ship/Link|Hiryuu/Kai Ni|help=true}}
{{Ship/Link|Kongou|Hiei|Kirishima|Haruna|text=Kongou Class|link_class=Kongou|help=true}}
{{Ship/Link|Fusou/Kai Ni|Yamashiro/Kai Ni|text=Fusou Class (Kai Ni)|link_class=Fusou|help=true}}
{{Ship/Link|Littorio|Roma|text=Vittorio Veneto|link_class=Vittorio Veneto|help=true}}
{{Ship/Link|Hiryuu|kai=x|kai_ni=x}}
{{Ship/Link|Ro-500|text=Ro-series|link_category=Ro-series}}
Tests
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu
Hiryuu