This template is protected from editing.

Difference between revisions of "Template:Tooltip"

From Team Fortress Wiki
Jump to: navigation, search
m
 
m (Reverted edits by Wookipan (talk) to last revision by Seb26)
(Tag: Rollback)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<SPAN 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>
{{Template doc}}
+
{{doc begin}}
[[Category:Templates|{{PAGENAME}}]]
+
=== Usage ===
 +
* {{tlx|tooltip|foo|bar}} generates {{tooltip|foo|bar}}
 +
* {{tlx|tooltip|foo|bar|4=plain=true}} generates {{tooltip|foo|bar|plain=true}}
  
[[Category:Every page]]</noinclude>
+
[[Category:Formatting templates|Tooltip]]
 +
</noinclude>

Latest revision as of 20:52, 3 October 2023

Example

Documentation for Tooltip

Usage

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