• 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
now able to add css classes to tooltips with "tttclass="
Line 1: Line 1: −
<includeonly><span class="tooltip" {{ #ifeq: {{{line|true}}} | false | style="border-bottom: 0;" }}>{{{1}}}<span class="tooltiptext" style="{{#if:{{{text-align|}}}|text-align:{{{text-align|default}}};}}">{{{2}}}</span></span></includeonly><noinclude>
+
<includeonly><span class="tooltip" {{ #ifeq: {{{line|true}}} | false | style="border-bottom: 0;" }}>{{{1}}}<span class="tooltiptext {{#if:{{{tttclass|}}}|{{{tttclass|}}}}}" style="{{#if:{{{text-align|}}}|text-align:{{{text-align|default}}};}}">{{{2}}}</span></span></includeonly><noinclude>
 
''From https://gbf.wiki/Template:Tt''
 
''From https://gbf.wiki/Template:Tt''
   Line 31: Line 31:  
<pre><nowiki>{{ToolTip|left-aligned text|Tooltip text|text-align=left}}</nowiki></pre>
 
<pre><nowiki>{{ToolTip|left-aligned text|Tooltip text|text-align=left}}</nowiki></pre>
 
{{ToolTip|left-aligned text|Tooltip text|text-align=left}}
 
{{ToolTip|left-aligned text|Tooltip text|text-align=left}}
 +
<br>
 +
<pre><nowiki>{{ToolTip|custom tooltip css class|Tooltip text|tttclass=dev-s1}}</nowiki></pre>
 +
{{ToolTip|custom tooltip css class|Tooltip text|tttclass=dev-s1}}
 
</noinclude>
 
</noinclude>
advmod, cssedit, Interface administrators, janitor, Moderators, prechecked, Widget editors
7,361

edits

Navigation menu