Changes

m
no edit summary
Line 157: Line 157:  
function equipment_tooltip(text, equipment_name, equipment_card)
 
function equipment_tooltip(text, equipment_name, equipment_card)
 
     return format{
 
     return format{
         [=[<span class="advanced-tooltip explain" style="color:red;">${text}<div class="tooltip-contents" style="text-align:center; width:150px;">${equipment_name}<br>[[File:${equipment_card}|150px]]</div></span>]=],
+
         [=[<span class="advanced-tooltip explain" style="color:red;">[[${equipment_name}|${text}]]<div class="tooltip-contents">[[File:${equipment_card}|150px]]</div></span>]=],
 
         text = text,
 
         text = text,
 
         equipment_name = equipment_name,
 
         equipment_name = equipment_name,
cssedit, gkautomate
7,064

edits