Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m (maybe just drop the brackets?) |
m (how about an if statement?) |
||
Line 4: | Line 4: | ||
{{{1}}}|<span title="{{{2}}}" class="rt-commentedText" title="{{#tag:nowiki|{{{2|}}}|"|"}}">{{{1|}}}</span> | {{if:{{{1}}}|<span title="{{{2}}}" class="rt-commentedText" title="{{#tag:nowiki|{{{2|}}}|"|"}}">{{{1|}}}</span>}} |
Revision as of 15:27, 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
{{if:{{{1}}}|}}