Template:Tooltip: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Undo revision 13708 by Xanderox (talk))
Tag: Undo
m (updated note info)
(21 intermediate revisions by the same user not shown)
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
<span title="{{{2}}}" class="rt-commentedText explain">{{{1|}}}</span><noinclude>
This template allows for transcribers to attach a hovering note to some text, such as a name dear to the Rogues, like {{tooltip|Julia|one of Steve's daughters}}.


here's an initial example of, well, an [[user:xanderox#tooltip|example tooltip]] </noinclude>
The format is: <pre>{{tooltip|name or text|hovering note about the name or text}}</pre>
[[{{{1}}}|<span title="{{{2}}}" class="rt-commentedText {{{class|}}}"]]
 
The above example renders as {{tooltip|name or text|hovering note about the name or text}}, with a dotted line under "name or text" and a floating '?' above it to draw attention to the hovering note.
</noinclude>

Revision as of 05:14, 17 August 2021

This template allows for transcribers to attach a hovering note to some text, such as a name dear to the Rogues, like Julia.

The format is:

{{tooltip|name or text|hovering note about the name or text}}

The above example renders as name or text, with a dotted line under "name or text" and a floating '?' above it to draw attention to the hovering note.