Template:Tooltip: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (added another use of tooltips)
m (a few updates)
Line 2: Line 2:
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}}.
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>
<br><br>
To put a tooltip above a link to another Episode, use the tooltip template after the pipe that follows the link.  
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>
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}}]].
which renders as [[SGU Episode 829#correction|{{tooltip|Wii Shop Channel Theme|correction made in Episode 829}}]].
The format is: <pre>[[_SGU_transcript_pagename_#with_anchor_if_anchor_|{{tooltip|_name_or_text_|_hovering_note_about_the_name_or_text_}}]]</pre>


</noinclude>
</noinclude>

Revision as of 15:08, 7 August 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.

The format is:

[[_SGU_transcript_pagename_#with_anchor_if_anchor_|{{tooltip|_name_or_text_|_hovering_note_about_the_name_or_text_}}]]