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)
m
Line 1: Line 1:
<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>
+
<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: 0;">{{{2|Example text}}}</span>{{{1|Example}}}</span><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===

Revision as of 22:03, 4 September 2023

Example textExample

Documentation for Wookipan/Tooltip

Usage

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

Tooltip