Template:WtnHiddenAnswer: Difference between revisions
Jump to navigation
Jump to search
m (spaces needed?) |
m (nice tweaks) |
||
Line 1: | Line 1: | ||
{{anchor|futureWTN}} | {{anchor|futureWTN}} | ||
{{#if: {{{1|}}} | <div class="toccolours mw-collapsible mw-collapsed" style="width: | {{#if: {{{1|}}} | <div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> | ||
<div style="font-weight:bold;">Answer to [[SGU Episode {{{1}}}#previousWTN|previous Noisy]]:</div> | <div style="font-weight:bold;">Answer to [[SGU Episode {{{1}}}#previousWTN|previous Noisy]]:</div> | ||
<div class="mw-collapsible-content">{{{ | <div class="mw-collapsible-content">{{{answer}}}</div></div>}}<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>{{wtnHiddenAnswer|NNNN|_brief_description_perhaps_with_link_}}</nowiki> in the Infobox line for "episode date", where "NNNN" is the previous episode's number and "_brief_description_perhaps_with_link_" is the answer to that WTN. | To use this template, place <nowiki>{{wtnHiddenAnswer|NNNN|answer=_brief_description_perhaps_with_link_}}</nowiki> in the Infobox line for "episode date", where "NNNN" is the previous episode's number and "_brief_description_perhaps_with_link_" is the answer to that WTN. | ||
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>{{wtnHiddenAnswer|779|answer=[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> | ||
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# | will produce: {{wtnHiddenAnswer|779|answer=[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#previousWTN|the New Noisy section of Episode 779]], with the answer initially collapsed. Because a reference is used, it will show up at the bottom, as seen below in this example. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:34, 14 September 2021
Description
This template inserts a link to the WTN segment of the future episode that has the answer.
Usage
To use this template, place {{wtnHiddenAnswer|NNNN|answer=_brief_description_perhaps_with_link_}} in the Infobox line for "episode date", where "NNNN" is the previous episode's number and "_brief_description_perhaps_with_link_" is the answer to that WTN.
For example,
{{wtnHiddenAnswer|779|answer=[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> }}
will produce:
which links to the New Noisy section of Episode 779, with the answer initially collapsed. Because a reference is used, it will show up at the bottom, as seen below in this example.