Template:Tooltip: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Undo revision 13708 by Xanderox (talk))
Tag: Undo
m (Undo revision 13707 by Xanderox (talk))
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|}}}|"|&quot;}}">{{{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|}}}|"|&quot;}}">{{{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