Template:WtnAnswer: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (updated preview)
m (Protected "Template:WtnAnswer": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}} |[[SGU Episode {{{1}}}#wtn|{{{2}}}]] }}<noinclude>
{{#if: {{{1|}}} |[[SGU Episode {{{1}}}#futureWTN|<span title="link to answer reveal">{{{2}}}</span>]] }}<noinclude>
=== Description ===
=== Description ===
This template inserts a link to the WTN segment of the future episode that has the answer.
This template inserts a link to the WTN segment of the future episode that has the answer.


=== Usage ===
=== Usage ===
To use this template, place <nowiki>{{wtn|NNNN|short_text_from_transcript}}</nowiki> in the Infobox line for "episode date", where "NNNN" is the future episode's number and "short_text_from_transcript" is the portion of the transcript that will transclude the answer segment.
To use this template, place <nowiki>{{wtnAnswer|NNNN|short_text_from_transcript}}</nowiki> in the transcript text, where "NNNN" is the episode number of the next WTN segment and "short_text_from_transcript" is the portion of the transcript that will transclude that next WTN segment.


For example,
For example,


  <pre><nowiki>{{wtn|781|So if you think you know what this week’s Noisy is...}}</nowiki></pre>
  <pre><nowiki>So if you think you know {{wtnAnswer|781|what this week’s Noisy is...}}</nowiki></pre>


will produce: "{{wtn|781|So if you think you know what this week’s Noisy is...}}," as seen in [[SGU Episode 780#wtn|Episode 780]], providing a link to the beginning of the WTN segment of the episode with the answer to 780's WTN.
will produce: "So if you think you know {{wtnAnswer|781|what this week’s Noisy is...}}," as seen in [[SGU Episode 780#previousWTN|Episode 780]], providing a link to the beginning of the WTN segment of Episode 781, which has the answer to 780's WTN.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:09, 28 May 2024

Description

This template inserts a link to the WTN segment of the future episode that has the answer.

Usage

To use this template, place {{wtnAnswer|NNNN|short_text_from_transcript}} in the transcript text, where "NNNN" is the episode number of the next WTN segment and "short_text_from_transcript" is the portion of the transcript that will transclude that next WTN segment.

For example,

So if you think you know {{wtnAnswer|781|what this week’s Noisy is...}}

will produce: "So if you think you know what this week’s Noisy is...," as seen in Episode 780, providing a link to the beginning of the WTN segment of Episode 781, which has the answer to 780's WTN.