• 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:Link"

From Kancolle Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/| }}}}{{#vardefine:even_break|{{#if:{{{10|}}}||<br>}}}}<span cl...")
 
m
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:name|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/|&#32;}}}}{{#vardefine:even_break|{{#if:{{{10|}}}||<br>}}}}<span class="tooltip">{{#if:{{{link_category|}}}|[[:Category:{{#replace:{{{link_category}}}| |_}}|{{#if:{{{text|}}}|{{{text}}}|{{#var:name}}}}]]|[[{{#if:{{{link|}}}|{{{link}}}|{{#var:name}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#var:name}}}}]]}}<span class="tooltiptext">{{Banner|type={{{type|}}}|{{{1|}}}}}{{#if:{{{suffix|}}}|<br>{{Banner|type={{{type|}}}|{{{1|}}}/{{{suffix|}}}}}|}}{{#if:{{{suffix2|}}}|<br>{{Banner|type={{{type|}}}|{{{1|}}}/{{{suffix2|}}}}}|}}{{#if:{{{2|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{2}}}}}}}{{#if:{{{3|}}}|<br>{{Banner|type={{{type|}}}|{{{3}}}}}}}{{#if:{{{4|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{4}}}}}}}{{#if:{{{5|}}}|<br>{{Banner|type={{{type|}}}|{{{5}}}}}}}{{#if:{{{6|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{6}}}}}}}{{#if:{{{7|}}}|<br>{{Banner|type={{{type|}}}|{{{7}}}}}}}{{#if:{{{8|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{8}}}}}}}{{#if:{{{9|}}}|<br>{{Banner|type={{{type|}}}|{{{9}}}}}}}{{#if:{{{10|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{10}}}}}}}{{#if:{{{11|}}}|<br>{{Banner|type={{{type|}}}|{{{11}}}}}}}{{#if:{{{12|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{12}}}}}}}{{#if:{{{13|}}}|<br>{{Banner|type={{{type|}}}|{{{13}}}}}}}{{#if:{{{14|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{14}}}}}}}{{#if:{{{15|}}}|<br>{{Banner|type={{{type|}}}|{{{15}}}}}}}{{#if:{{{16|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{16}}}}}}}{{#if:{{{17|}}}|<br>{{Banner|type={{{type|}}}|{{{17}}}}}}}{{#if:{{{18|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{18}}}}}}}{{#if:{{{19|}}}|<br>{{Banner|type={{{type|}}}|{{{19}}}}}}}{{#if:{{{20|}}}|{{#var:even_break}}{{Banner|type={{{type|}}}|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude>
+
<noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{#vardefine:name|{{#ifeq:{{{type|}}}|Equipment|{{{1|}}}|{{#replace:{{#ifeq:{{#sub:{{{1|}}}|-1}}|/|{{#sub:{{{1|}}}|0|-1}}|{{{1|}}}}}|/|&#32;}}}}}}{{#vardefine:even_break|{{#if:{{{10|}}}||<br>}}}}<span class="tooltip">{{#if:{{{link_category|}}}|[[:Category:{{#replace:{{{link_category}}}| |_}}|{{#if:{{{text|}}}|{{{text}}}|{{#var:name}}}}]]|[[{{#if:{{{link|}}}|{{{link}}}|{{#var:name}}}}|{{#if:{{{text|}}}|{{{text}}}|{{#var:name}}}}]]}}<span class="tooltiptext">{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{1|}}}}}{{#if:{{{suffix|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{1|}}}/{{{suffix|}}}}}|}}{{#if:{{{suffix2|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{1|}}}/{{{suffix2|}}}}}|}}{{#if:{{{2|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{2}}}}}}}{{#if:{{{3|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{3}}}}}}}{{#if:{{{4|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{4}}}}}}}{{#if:{{{5|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{5}}}}}}}{{#if:{{{6|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{6}}}}}}}{{#if:{{{7|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{7}}}}}}}{{#if:{{{8|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{8}}}}}}}{{#if:{{{9|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{9}}}}}}}{{#if:{{{10|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{10}}}}}}}{{#if:{{{11|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{11}}}}}}}{{#if:{{{12|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{12}}}}}}}{{#if:{{{13|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{13}}}}}}}{{#if:{{{14|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{14}}}}}}}{{#if:{{{15|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{15}}}}}}}{{#if:{{{16|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{16}}}}}}}{{#if:{{{17|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{17}}}}}}}{{#if:{{{18|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{18}}}}}}}{{#if:{{{19|}}}|<br>{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{19}}}}}}}{{#if:{{{20|}}}|{{#var:even_break}}{{Asset|size={{{size|}}}|type={{{type|}}}|asset={{{asset|}}}|{{{20}}}}}}}</span></span>{{#if:{{{help|}}}|<span style="color:red;"><sup>?</sup></span>}}</includeonly><noinclude>
 +
For custom tooltips see [[Template:ToolTip]].
 +
<pre>{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
 +
{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}
 +
<pre>{{Link|type=Enemy|asset=Banner|New Battleship Princess Damaged}}</pre>
 +
{{Link|type=Enemy|asset=Banner|New Battleship Princess Damaged}}
 +
<pre>{{Link|type=Equipment|asset=Card|Suisei|size=160x160px}}</pre>
 +
{{Link|type=Equipment|asset=Card|Suisei|size=160x160px}}
 +
<pre>{{Link|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}</pre>
 +
{{Link|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:01, 7 April 2021

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

For custom tooltips see Template:ToolTip.

{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}

Ayanami Kai NiAyanami Kai Ni

{{Link|type=Enemy|asset=Banner|New Battleship Princess Damaged}}

New Battleship Princess DamagedNew Battleship Princess Damaged

{{Link|type=Equipment|asset=Card|Suisei|size=160x160px}}

SuiseiSuisei

{{Link|type=Equipment|asset=Card|Ju 87C Kai Ni (w/ KMX)}}

Ju 87C Kai Ni (w/ KMX)Ju 87C Kai Ni (w/ KMX)