Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
Tag: Undo |
||
Line 1: | Line 1: | ||
<noinclude>not sure what the deal is with the ifeq switches between "yesno-no" and "yesno-yes" in the markup... hopefully I can figure this out later and pare down the unnecessary code for this useful tooltip template | <noinclude>not sure what the deal is with the ifeq switches between "yesno-no" and "yesno-yes" in the markup... hopefully I can figure this out later and pare down the unnecessary code for this useful tooltip template | ||
here's an initial example of, well, an [[user:xanderox#tooltip|example tooltip]] </noinclude> | here's an initial example of, well, an [[user:xanderox#tooltip|example tooltip]] </noinclude>{{#ifeq:{{yesno-no|{{{link}}}}}|yes | ||
[[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText {{{class|}}}"]] | |[[{{{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|{{{2|}}}|"|"}}">{{{1|}}}</span>]] | ||
|<span title="{{{2}}}" class="rt-commentedText {{#ifeq:{{yesno-yes|{{{dotted}}}}}|no||explain}} {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{{2|}}}|"|"}}">{{{1|}}}</span> | |||
}} |
Revision as of 15:19, 12 August 2021
not sure what the deal is with the ifeq switches between "yesno-no" and "yesno-yes" in the markup... hopefully I can figure this out later and pare down the unnecessary code for this useful tooltip template
here's an initial example of, well, an example tooltip