Difference between revisions of "User:Wookipan/Tooltip"

From Team Fortress Wiki
Jump to: navigation, search
(🔧)
 
m (Change "id" attr to "class", as id's must be unique, change classname to be more unique as well)
Line 1: Line 1:
<span id="tooltip" style="cursor:help; border-bottom:1px dotted; {{#if:{{{plain|}}}|cursor:auto; border:none;}}" title><span class="tooltip-content" style="left: 10px;">{{{2|Example text}}}</span>{{{1|Example}}}</span><noinclude>
+
<span class="wiki-tooltip" style="cursor:help; border-bottom:1px dotted; {{#if:{{{plain|}}}|cursor:auto; border:none;}}" title><span class="wiki-tooltip-content" style="left: 10px;">{{{2|Example text}}}</span>{{{1|Example}}}</span><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===
* {{tlx|{{PAGENAME}}|foo|bar}} generates {{tooltip|foo|bar}}
+
* {{tlx|Tooltip|foo|bar}} generates {{tooltip|foo|bar}}
* {{tlx|{{PAGENAME}}|foo|bar|4=plain=true}} generates {{tooltip|foo|bar|plain=true}}
+
* {{tlx|Tooltip|foo|bar|4=plain=true}} generates {{tooltip|foo|bar|plain=true}}
  
 
[[:Category:Formatting templates|Tooltip]]
 
[[:Category:Formatting templates|Tooltip]]
 
</noinclude>
 
</noinclude>

Revision as of 14:11, 2 September 2023

Example textExample

Documentation for Wookipan/Tooltip

Usage

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

Tooltip