Difference between revisions of "Template:Transcript infobox"
Jump to navigation
Jump to search
m (Link fix.) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{documentation}} | <noinclude>{{documentation}} | ||
</noinclude><includeonly>{| class="navigation" | </noinclude><includeonly>{{#ifeq:{{{isanimatic|no}}}|no| | ||
<table class="navigation"> | |||
<tr><th class="navLeft">{{#ifeq:{{{iscommentary|no}}}|yes|{{#if:{{{prev|}}}|[[Transcript:Commentary:{{{prev}}}|← Previous]]|}}|{{#if:{{{prev film|}}}|[[Transcript:{{{prev ep}}}|← Previous episode transcript]]<br />[[Transcript:{{{prev film}}}|← Previous film transcript]]|{{#if:{{{prev ep|}}}|[[Transcript:{{{prev ep}}}|← Previous]]|[[Episode Transcript Listing]]}}}}}}</th> | |||
<th class="navCentre">Navigation in production order</th> | |||
<th class="navRight">{{#ifeq:{{{iscommentary|no}}}|yes|{{#if:{{{next|}}}|[[Transcript:Commentary:{{{next}}}|Next →]]|}}|{{#if:{{{next film|}}}|[[Transcript:{{{next ep}}}|Next episode transcript →]]<br />[[Transcript:{{{next film}}}|Next film transcript →]]|{{#if:{{{next ep|}}}|[[Transcript:{{{next ep}}}|Next →]]|[[Episode Transcript Listing]]}}}}}}</th> | |||
</tr> | |||
</table> | |||
{{#if:{{{broad prev|}}}{{{broad next|}}}|{{transcript infobox/broadcast order|p={{{broad prev}}}|n={{{broad next}}}}}|}} | {{#if:{{{broad prev|}}}{{{broad next|}}}|{{transcript infobox/broadcast order|p={{{broad prev}}}|n={{{broad next}}}}}|}} | ||
|}} | |||
{{infobox | {{infobox | ||
| | |top={{#ifeq:{{{iscommentary|no}}}|yes|Transcript of commentary for|[[Transcript]] for}} | ||
|title={{#ifeq:{{{iscommentary|no}}}|yes|{{#if:{{{film|}}}|''[[Commentary:{{{film}}}|{{{film}}}]]''|{{#if:{{{episode|}}}|"[[Commentary:{{{episode}}}|{{{episode}}}]]"|[[{{{for}}}]]}}}}|[[{{{for}}}]]}} | |||
|label1=Written by | |label1=Written by | ||
|data1={{{written by|}}} | |data1={{{written by|}}} | ||
Line 16: | Line 20: | ||
{{{participants|}}}</ol>|}} | {{{participants|}}}</ol>|}} | ||
|dataclass4=infoboxSeasonList | |dataclass4=infoboxSeasonList | ||
}}{{#switch:{{NAMESPACE}}|Transcript=[[Category:Transcripts|{{{for}}}]]}} | }}{{#switch:{{NAMESPACE}}|Transcript=[[Category:Transcripts|{{#ifeq:{{{iscommentary|no}}}|yes|{{{film|{{{episode|{{{for}}}}}}}}}c|{{{for}}}}}]]{{#ifeq:{{{iscommentary|no}}}|yes|[[Category:Commentary transcripts|{{{film|{{{episode|{{{for}}}}}}}}}]]|}}}} | ||
<!--<div id="transcript-edit" class="infobox" style="display:none;"></div>--></includeonly> | <!--<div id="transcript-edit" class="infobox" style="display:none;"></div>--></includeonly> |
Latest revision as of 22:24, 2 March 2012
Documentation for {{transcript infobox}}
Use
This infobox is for transcript articles. It has a navigation bottom template to work with. Like with its bottom navigation, it will add the "Transcript:" part of the previous/next episode links. Do not add those.
Usage
{{transcript infobox |for = What it is a transcript for; is the backup option if episode or film is not provided together with iscommentary being yes. |episode = (optional; if iscommentary is yes) What episode the commentary is for |film = (optional; if iscommentary is yes) What film the commentary is for |written by = (optional) The author of the episode. |thanks to = Who originally wrote the transcript, sort of a credit. |credit = Same as above. |prev ep = Previous episode (optional for first) |next ep = Next episode (optional for last) |prev film = Previous film (optional) |next film = Next film (optional) |iscommentary = yes/no (default: no) Whether it is a transcript of a commentary |participants = (optional) Only in case of a commentary, a list of the people participating in the commentary. }}