Template:Tooltip: Difference between revisions
Jump to navigation
Jump to search
m (a few updates) |
m (more structure) |
||
Line 4: | Line 4: | ||
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. "_name_or_text_" has been bolded for emphasis in this example. | ||
== Example == | |||
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}}]]. | ||
== Usage == | |||
The format is: <pre>[[_SGU_transcript_pagename_#with_anchor_if_anchor_|{{tooltip|_name_or_text_|_hovering_note_about_the_name_or_text_}}]]</pre> | 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:51, 15 February 2023
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. "_name_or_text_" has been bolded for emphasis in this example.
Example
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.
Usage
The format is:
[[_SGU_transcript_pagename_#with_anchor_if_anchor_|{{tooltip|_name_or_text_|_hovering_note_about_the_name_or_text_}}]]