Template:Tooltip: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (updated description)
m (ok how bad is this attempted change?)
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>{{#ifeq:{{yesno-no|{{{link}}}}}|yes
here's an initial example of, well, an [[user:xanderox#tooltip|example tooltip]] </noinclude>
|[[{{{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>]]
[[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText {{{class|}}}"]]
|<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 14:10, 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 [[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText "]]