• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
<includeonly>{{{{{subst|safesubst:}}}#invoke:EquipmentLink|format}}</includeonly><noinclude>
 
<includeonly>{{{{{subst|safesubst:}}}#invoke:EquipmentLink|format}}</includeonly><noinclude>
 
{{Lua warning}}
 
{{Lua warning}}
 +
Links with equipment card tooltips.
   −
Links to equipment pages with card image tooltips.
+
==Parameters==
 +
===[1], [2], ...===
 +
Equipment to show in tooltips. <code>[1]</code> is used for link text when there is no <code>text</code> and <code>image</code> is not set.
 +
===text===
 +
Link text.
 +
===link===
 +
Link target.
 +
===image===
 +
Show equipment card image (using <code>[1]</code>) instead of text link, e.g., <code>image=50px</code> to show a 50px equipment card image (other parameters are still applicable).
 +
===icon===
 +
Set to show equipment icon before the text or image link.
    +
==Examples==
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount}}</pre>
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount}}</pre>
   
{{EquipmentLink|Prototype 51cm Twin Gun Mount}}
 
{{EquipmentLink|Prototype 51cm Twin Gun Mount}}
   
<pre>{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}</pre>
 
<pre>{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}</pre>
   
{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}
 
{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}
   
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51cm}}</pre>
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51cm}}</pre>
   
{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51cm}}
 
{{EquipmentLink|Prototype 51cm Twin Gun Mount|text=P51cm}}
   
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px}}</pre>
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px}}</pre>
   
{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px}}
 
{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px}}
   
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|icon=x}}</pre>
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|icon=x}}</pre>
   
{{EquipmentLink|Prototype 51cm Twin Gun Mount|icon=x}}
 
{{EquipmentLink|Prototype 51cm Twin Gun Mount|icon=x}}
 +
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px}}</pre>
 +
{{EquipmentLink|Prototype 51cm Twin Gun Mount|image=50px|icon=x}}
 +
<pre>{{EquipmentLink|Type 4 Passive Sonar|link=Sonar|text=T4|icon=true}}</pre>
 +
{{EquipmentLink|Type 4 Passive Sonar|link=Sonar|text=T4|icon=x}}
 +
<pre>{{EquipmentLink|text=Sonars|link=sonar|icon=x|Type 93 Passive Sonar|Type 3 Active Sonar|Type 0 Passive Sonar|Type 4 Passive Sonar}}</pre>
 +
{{EquipmentLink|text=Sonars|link=sonar|icon=x|Type 93 Passive Sonar|Type 3 Active Sonar|Type 0 Passive Sonar|Type 4 Passive Sonar}}
    +
==Tests==
 
<pre>{{EquipmentLink|?}}</pre>
 
<pre>{{EquipmentLink|?}}</pre>
   
{{EquipmentLink|?}}
 
{{EquipmentLink|?}}
   
<pre>{{EquipmentLink}}</pre>
 
<pre>{{EquipmentLink}}</pre>
   
{{EquipmentLink}}
 
{{EquipmentLink}}
   
<pre>{{EquipmentLink|icon=x}}</pre>
 
<pre>{{EquipmentLink|icon=x}}</pre>
   
{{EquipmentLink|icon=x}}
 
{{EquipmentLink|icon=x}}
   
</noinclude>
 
</noinclude>
cssedit, gkautomate
7,064

edits

Navigation menu