Template:Tooltip: Difference between revisions
From All Skies Encyclopaedia
imported>Abnormaal No edit summary |
imported>Paine Ellsworth (Undid revision 1164881729 by Paine Ellsworth (talk) srv per my talk page) |
||
(40 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Tooltip/styles.css" />{{#ifeq:{{yesno-no|{{{link}}}}}|yes |
|||
<SPAN Style="cursor: help; border-bottom: 0.05em dashed;" 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|}}}|"|"}}}}">{{{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|}}}|"|"}}}}">{{{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=== |
|||
<nowiki> {{Tooltip| CSS 2 | Cascading Style Sheets level 2 d.d. 12 may 1998}</nowiki> . |
|||
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> |
|||
</noinclude> |
</noinclude> |