Template:Tooltip: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created a template.)
 
No edit summary
Line 1: Line 1:
<span id="tooltip" style="cursor:help; border-bottom:1px dotted; {{#if:{{{plain|}}}|cursor:auto; border:none;}}" title="{{{2|Example text}}}">{{{1|Example}}}</span><noinclude>
<span id="tooltip" style="cursor:help; border-bottom:1px dotted; {{#if:{{{plain|}}}|cursor:auto; border:none;}}" title="{{{2|Example text}}}">{{{1|Example}}}</span><noinclude>{{delete|reason=It doesn't show the extra text on mobile and nobody cared to fix it...}}
{{doc begin}}
{{doc begin}}
=== Usage ===
=== Usage ===

Revision as of 04:04, 27 April 2024

Example

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Tooltip

Usage

  • {{tooltip|foo|bar}} generates foo
  • {{tooltip|foo|bar|plain=true}} generates foo