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

From Kancolle Wiki
Jump to navigation Jump to search
m (Added thread link in regards to Wikia Lua and its limitations.)
m (24 revisions imported)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#iferror:<span class="advanced-tooltip">{{#if:{{{link|}}}|[[{{{link}}}|{{{1|}}}]]|[[{{{1}}}]]}}<div class="tooltip-contents">{{EquipmentCardKai|{{{1}}}}}</div></span>|{{#if:{{{link|}}}|[[{{{link}}}|{{{1|}}}]]|[[{{{1}}}]]}}}}</includeonly><noinclude>
+
#REDIRECT [[Template:Equipment/Link]]
{{Warning
 
|This template uses [[Template:EquipmentCardKai]] which calls Lua code on each inclusion, there is an upper bound on the number of times this template can be used on a page before it kills the page (since the change in [[Thread:457712|Wikia Lua engine in July 2016]], the previous engine has a greater limit and only caused Lua script errors at worst).
 
}}
 
 
 
Links to equipment pages with card image tooltips. E.g.:
 
 
 
<pre>{{EquipmentLink|Prototype 51cm Twin Gun Mount}}</pre>
 
 
 
{{EquipmentLink|Prototype 51cm Twin Gun Mount}}
 
 
 
<pre>{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}</pre>
 
 
 
{{EquipmentLink|Type 4 Passive Sonar|link=Sonar}}
 
 
 
</noinclude>
 

Latest revision as of 13:48, 19 November 2021