Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m (updated note info) |
m (added another use of tooltips) |
||
Line 1: | Line 1: | ||
<span title="{{{2}}}" class="rt-commentedText explain">{{{1|}}}</span><noinclude> | <span title="{{{2}}}" class="rt-commentedText explain">{{{1|}}}</span><noinclude> | ||
This template allows for transcribers to attach a hovering note to some text, | This template allows for transcribers to attach a hovering note to some text, perhaps to alert readers to a connection to a previous episode, like [[SGU Episode 829#tooltipexample|the correction made in Episode 829]], or to note a name dear to the Rogues, like {{tooltip|Julia|one of Steve's daughters}}. | ||
The format is: <pre>{{tooltip|name or text|hovering note about the name or text}}</pre> | The format is: <pre>{{tooltip|name or text|hovering note about the name or text}}</pre> | ||
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. | 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. | ||
<br><br> | |||
To put a tooltip above a link to another Episode, use the tooltip template after the pipe that follows the link. | |||
The tooltip over the bolded, anchored (#) [[SGU Episode 822#tooltipexample|link in Episode 822 to Episode 829]] is formatted: <pre>[[SGU Episode 829#correction|{{tooltip|Wii Shop Channel Theme|correction made in Episode 829}}]]</pre> | |||
which renders as [[SGU Episode 829#correction|{{tooltip|Wii Shop Channel Theme|correction made in Episode 829}}]]. | |||
</noinclude> | </noinclude> |
Revision as of 03:33, 18 June 2022
This template allows for transcribers to attach a hovering note to some text, perhaps to alert readers to a connection to a previous episode, like the correction made in Episode 829, or to note 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.
To put a tooltip above a link to another Episode, use the tooltip template after the pipe that follows the link.
The tooltip over the bolded, anchored (#) link in Episode 822 to Episode 829 is formatted:
[[SGU Episode 829#correction|{{tooltip|Wii Shop Channel Theme|correction made in Episode 829}}]]
which renders as Wii Shop Channel Theme.