Template:WtnAnswer: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (new template for cleaner skeleton)
m (trying again)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|}}} |[[SGU Episode {{{1}}}#futureWTN|{{{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>{{wtnAnswer|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>{{wtnHiddenAnswer|779|[https://www.youtube.com/watch?v=IfsZ585gTnE&t=39s Golden Gate Bridge New Sidewalk Railing Slats]<ref name=kqed>[https://www.kqed.org/arts/13881451/the-golden-gate-bridge-sounds-like-a-david-lynch-movie-now KQED: Why the Golden Gate Bridge Is Now a Giant Orange Wheezing Kazoo]</ref>}}</nowiki></pre>
  <pre><nowiki>So if you think you know {{wtnAnswer|781|what this week’s Noisy is...}}</nowiki></pre>


will produce: {{wtnHiddenAnswer|779|[https://www.youtube.com/watch?v=IfsZ585gTnE&t=39s Golden Gate Bridge New Sidewalk Railing Slats]<ref name=kqed>[https://www.kqed.org/arts/13881451/the-golden-gate-bridge-sounds-like-a-david-lynch-movie-now KQED: Why the Golden Gate Bridge Is Now a Giant Orange Wheezing Kazoo]</ref>}} which links to [[SGU Episode 779#futureWTN|the New Noisy section of Episode 779]], with the answer initially collapsed.
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 05:08, 5 September 2022

Description[edit]

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

Usage[edit]

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.