- 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 (がか moved page Template:ShipLink to Template:Ship/Link) |
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">{{Ship/Banner|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{Ship/Banner|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{Ship/Banner|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|{{#var:even_break}}{{Ship/Banner|{{{2}}}}}}}{{#if:{{{3|}}}|<br>{{Ship/Banner|{{{3}}}}}}}{{#if:{{{4|}}}|{{#var:even_break}}{{Ship/Banner|{{{4}}}}}}}{{#if:{{{5|}}}|<br>{{Ship/Banner|{{{5}}}}}}}{{#if:{{{6|}}}|{{#var:even_break}}{{Ship/Banner|{{{6}}}}}}}{{#if:{{{7|}}}|<br>{{Ship/Banner|{{{7}}}}}}}{{#if:{{{8|}}}|{{#var:even_break}}{{Ship/Banner|{{{8}}}}}}}{{#if:{{{9|}}}|<br>{{Ship/Banner|{{{9}}}}}}}{{#if:{{{10|}}}|{{#var:even_break}}{{Ship/Banner|{{{10}}}}}}}{{#if:{{{11|}}}|<br>{{Ship/Banner|{{{11}}}}}}}{{#if:{{{12|}}}|{{#var:even_break}}{{Ship/Banner|{{{12}}}}}}}{{#if:{{{13|}}}|<br>{{Ship/Banner|{{{13}}}}}}}{{#if:{{{14|}}}|{{#var:even_break}}{{Ship/Banner|{{{14}}}}}}}{{#if:{{{15|}}}|<br>{{Ship/Banner|{{{15}}}}}}}{{#if:{{{16|}}}|{{#var:even_break}}{{Ship/Banner|{{{16}}}}}}}{{#if:{{{17|}}}|<br>{{Ship/Banner|{{{17}}}}}}}{{#if:{{{18|}}}|{{#var:even_break}}{{Ship/Banner|{{{18}}}}}}}{{#if:{{{19|}}}|<br>{{Ship/Banner|{{{19}}}}}}}{{#if:{{{20|}}}|{{#var:even_break}}{{Ship/Banner|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude> | <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">{{Ship/Banner|{{{1|}}}}}{{#if:{{{kai|}}}|<br>{{Ship/Banner|{{{1|}}}/Kai}}|}}{{#if:{{{kai_ni|}}}|<br>{{Ship/Banner|{{{1|}}}/Kai Ni}}|}}{{#if:{{{2|}}}|{{#var:even_break}}{{Ship/Banner|{{{2}}}}}}}{{#if:{{{3|}}}|<br>{{Ship/Banner|{{{3}}}}}}}{{#if:{{{4|}}}|{{#var:even_break}}{{Ship/Banner|{{{4}}}}}}}{{#if:{{{5|}}}|<br>{{Ship/Banner|{{{5}}}}}}}{{#if:{{{6|}}}|{{#var:even_break}}{{Ship/Banner|{{{6}}}}}}}{{#if:{{{7|}}}|<br>{{Ship/Banner|{{{7}}}}}}}{{#if:{{{8|}}}|{{#var:even_break}}{{Ship/Banner|{{{8}}}}}}}{{#if:{{{9|}}}|<br>{{Ship/Banner|{{{9}}}}}}}{{#if:{{{10|}}}|{{#var:even_break}}{{Ship/Banner|{{{10}}}}}}}{{#if:{{{11|}}}|<br>{{Ship/Banner|{{{11}}}}}}}{{#if:{{{12|}}}|{{#var:even_break}}{{Ship/Banner|{{{12}}}}}}}{{#if:{{{13|}}}|<br>{{Ship/Banner|{{{13}}}}}}}{{#if:{{{14|}}}|{{#var:even_break}}{{Ship/Banner|{{{14}}}}}}}{{#if:{{{15|}}}|<br>{{Ship/Banner|{{{15}}}}}}}{{#if:{{{16|}}}|{{#var:even_break}}{{Ship/Banner|{{{16}}}}}}}{{#if:{{{17|}}}|<br>{{Ship/Banner|{{{17}}}}}}}{{#if:{{{18|}}}|{{#var:even_break}}{{Ship/Banner|{{{18}}}}}}}{{#if:{{{19|}}}|<br>{{Ship/Banner|{{{19}}}}}}}{{#if:{{{20|}}}|{{#var:even_break}}{{Ship/Banner|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude> | ||
Links with ship battle card tooltips. Uses [[Template:Ship/Banner]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:Ship/Banner#Interface]]). | Links with ship battle card tooltips. Uses [[Template:Ship/Banner]] and so is not limited by Lua limits (but is limited in features compared to [[Template:ShipBattleCardKai]], see [[Template:Ship/Banner#Interface]]). | ||
− | == | + | ==Examples== |
<pre>{{Ship/Link|Nagato}}</pre> | <pre>{{Ship/Link|Nagato}}</pre> | ||
{{Ship/Link|Nagato}} | {{Ship/Link|Nagato}} |
Revision as of 22:03, 30 November 2020
Links with ship battle card tooltips. Uses Template:Ship/Banner and so is not limited by Lua limits (but is limited in features compared to Template:ShipBattleCardKai, see Template:Ship/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