• 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
m
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">{{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>
+
<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>
 
<pre>{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
 
<pre>{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}</pre>
 
{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}
 
{{Link|type=Ship|asset=Banner|Ayanami/Kai Ni}}
Line 6: Line 6:
 
<pre>{{Link|type=Equipment|asset=Card|Suisei}}</pre>
 
<pre>{{Link|type=Equipment|asset=Card|Suisei}}</pre>
 
{{Link|type=Equipment|asset=Card|Suisei|size=160x160px}}
 
{{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>

Revision as of 17:58, 1 December 2020

{{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}}

SuiseiSuisei

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

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