1,230 bytes added
, 4 years ago
<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>
''From https://gbf.wiki/Template:Tt''
== What this is ==
A template to write tooltips!
== Usage & Examples ==
{{ToolTip|[[Kasumi]]|[[File:Ship Banner Kasumi.png]]}}
{{ToolTip|[[Kasumi Kai Ni]]|[[File:Ship Banner Kasumi Kai Ni.png]]}}
<pre><nowiki>{{ToolTip|Normal text|Tooltip text}}</nowiki></pre>
{{ToolTip|Normal text|Tooltip text}}
<br>
<pre><nowiki>{{ToolTip|Normal text without underline|Tooltip text|line=false}}</nowiki></pre>
{{ToolTip|Normal text without underline|Tooltip text|line=false}}
<br>
<pre><nowiki>{{ToolTip|Tooltip text with horizontal rule|Tooltip<hr>Text}}</nowiki></pre>
{{ToolTip|Tooltip text with horizontal rule|Tooltip<hr />Text}}
<br>
<pre><nowiki>{{ToolTip|{{ToolTip|Nested tooltip|Bottom text}}|Top text}}</nowiki></pre>
{{ToolTip|{{ToolTip|Nested tooltip|Bottom text}}|Top text}}
<br>
<pre><nowiki>{{ToolTip|left-aligned text|Tooltip text|text-align=left}}</nowiki></pre>
{{ToolTip|left-aligned text|Tooltip text|text-align=left}}
</noinclude>