This template is protected from editing.

Difference between revisions of "Template:Tooltip"

From Team Fortress Wiki
Jump to: navigation, search
m (Protected "Template:Tooltip": high-traffic, no useful edits could be made ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Line 1: Line 1:
<span id="tooltip" style="cursor:help; border-bottom:1px dotted;" 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>
 
{{doc begin}}
 
{{doc begin}}
 
=== Usage ===
 
=== Usage ===
 
* {{tlx|tooltip|foo|bar}} generates {{tooltip|foo|bar}}
 
* {{tlx|tooltip|foo|bar}} generates {{tooltip|foo|bar}}
 +
* {{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 10:08, 31 October 2010

Example

Documentation for Tooltip

Usage

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