Template:Tooltip: Difference between revisions
From All Skies Encyclopaedia
imported>TheDireMaster No edit summary |
imported>Paine Ellsworth (Undid revision 1164881729 by Paine Ellsworth (talk) srv per my talk page) |
||
(24 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Template:Tooltip/styles.css" />{{#ifeq:{{yesno-no|{{{link}}}}}|yes |
|||
<span class="explain" 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>]] |
|||
|<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> |
|||
Please note that using a quotation mark (") in the second parameter (the hidden text) will cause the template to display incorrectly. To display this character, use the {{wp|List of XML and HTML character entity references|html entity}} quot (i.e. write ''& quot ;'' without the spaces) or alternatively put the second parameter in <nowiki><nowiki></nowiki> tags. [[Category:Code templates]][[pt:Predefinição:Tt]]</noinclude> |
|||
}}{{#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> |
|||
{{Documentation|Template:Abbr/doc}} |
|||
</noinclude> |