Template:Tooltip: Difference between revisions
From All Skies Encyclopaedia
imported>SMcCandlish (switching back to the sandbox code; I think I have a solution for the remaining issue, and need to sandbox it separately.) |
imported>SMcCandlish (Going back to previous version again; something odd has come up when some of the test cases are used in isolation instead of on the test-cases page; not sure what the issue is yet.) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{yesno-no|{{{link}}}}}|yes |
{{#ifeq:{{yesno-no|{{{link}}}}}|yes |
||
|[[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||explain}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</span>]] |
|[[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||explain}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</span>]] |
||
|<span title=" |
|<span title="{{{2}}}" class="rt-commentedText {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||explain}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</span> |
||
}}<noinclude> |
|||
}}{{sronly|1= [Tooltip: {{#if:{{{3|}}}|{{{3|}}}|{{{2}}}}}]}}<noinclude> |
|||
{{Tfm/dated|page=Tooltip|otherpage=Hover title|link=Wikipedia:Templates for discussion/Log/2020 December 11#Template:Hover title and Template:Tooltip|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}} |
{{Tfm/dated|page=Tooltip|otherpage=Hover title|link=Wikipedia:Templates for discussion/Log/2020 December 11#Template:Hover title and Template:Tooltip|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}} |
||
{{Documentation|Template:Abbr/doc}} |
{{Documentation|Template:Abbr/doc}} |