Template:Tooltip: Difference between revisions

From All Skies Encyclopaedia
imported>Cydebot
m (Robot - Speedily moving category Formatting templates to Wikipedia formatting templates per CFD.)
imported>Paine Ellsworth
(Undid revision 1164881729 by Paine Ellsworth (talk) srv per my talk page)
 
(34 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<templatestyles src="Template:Tooltip/styles.css" />{{#ifeq:{{yesno-no|{{{link}}}}}|yes
<SPAN Style="cursor: help; border-bottom: 1px dotted;" TITLE="{{{2}}}">{{{1}}}</SPAN><noinclude>
|[[{{{1}}}|<span class="rt-commentedText tooltip {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||tooltip-dotted}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|&quot;}}}}">{{{1|}}}</span>]]
===Goal===
|<span class="rt-commentedText tooltip {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||tooltip-dotted}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|&quot;}}}}">{{{1|}}}</span>
An explanatory text on a customary HTML manner for difficult words. If the cursor is on the difficult word a supplementary explanation is given. <br>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using tooltip with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Tooltip]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | class | dotted | id | link | style }}<noinclude>
<br>
{{Documentation|Template:Abbr/doc}}
===Example===
<blockquote>
<tt>
<nowiki>{{Tooltip| CSS 2 | Cascading Style Sheets level 2 d.d. 12 may 1998}}</nowiki>
</tt>
</blockquote>

Gives...

The cursor {{Tooltip|CSS 2|Cascading Style Sheets level 2 d.d. 12 may 1998}}
<br><br>
Related: acronym, abbr (Dependency on browser).<br><br>

[[Category:Wikipedia formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 17:54, 11 July 2023