Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m Protected "Template:Tooltip": High traffic page: useful template to be used often that doesn't need modification ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
m updated description |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{yesno-no|{{{link}}}}}|yes | <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 | |||
|[[{{{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>]] | |[[{{{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> | |<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 17:30, 22 June 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