Template:Master audio: Difference between revisions

From Battlestar Wiki Media
No edit summary
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{| align="center" class="messagebox" cellspacing="1"
{| align="center" class="messagebox"
|- style="text-align: center;"
| rowspan="{{rowcount link audio| start time={{{start time}}} | end time={{{end time}}} | link={{{de|}}}{{{es|}}}{{{fr|}}}{{{zh|}}} }}" style="padding-right: 4px; padding-left: 4px; vertical-align: top;" | {{type link audio| type={{{type}}} | image=Y }}
! class="infoboxheader" colspan="2" | {{type link audio| type={{{type}}} | image=Y }} {{type link audio| type={{{type}}} | text=Y }}
| {{type link audio| type={{{type}}} | text=Y }}
|- style="font-size: 90%"
|- style="font-size: 90%"
|{{series link| series={{{series}}}}}, {{season link| series={{{series|}}} | season={{{season|}}}}} episode {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|fr={{{fr|}}}|zh={{{zh|}}}|es={{{es|}}}}}.
| colspan="2" | The {{series link| series={{{series}}}}}, {{season link| series={{{series|}}} | season={{{season|}}}}} {{#if:{{{episode|}}}|episode {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|es={{{es|}}}|fr={{{fr|}}}|tr={{{tr|}}}|zh={{{zh|}}}}}|from an unknown episode. <br/>Please help us identify the episode by updating this tag or discussing it on the [[Image talk:{{PAGENAME}}|talk page]]}}.
{{copyright link| series={{{series}}}}}
|- style="font-size: 90%"
{{timestamp link audio| start time={{{start time|}}} | end time={{{end time|}}} | clip time={{{clip time|}}}}}{{lang link
| colspan="2" | {{copyright link| series={{{series}}} }}
  | en= {{{episode|}}}
|- style="font-size: 90%"
  | es= {{{es|}}}  
| colspan="2" | {{timestamp link audio| start time={{{start time|}}} | end time={{{end time|}}} | clip time={{{clip time|}}} }}
  | de= {{{de|}}}
{{#ifeq:{{{type}}}|web
  | fr= {{{fr|}}}
| {{void}}
  | zh= {{{zh|}}}  
| {{#if:{{{episode}}}
  | cen= {{#if:{{{cepisode|}}}|{{{cepisode}}}|{{{episode}}}}}
| {{!}}- style="font-size: 90%"
  | ces= {{#if:{{{ces|}}}|<!--THEN-->{{{ces}}}|<!--ELSE-->{{#if:{{{es|}}}|<!--THEN-->{{{es}}}|<!--ELSE-->{{{episode}}}}}}}
{{!}} colspan="2" {{!}} <!-- Future Place of Language Links -->
  | cfr= {{#if:{{{cfr|}}}|<!--THEN-->{{{cfr}}}|<!--ELSE-->{{#if:{{{fr|}}}|<!--THEN-->{{{fr}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}}-
  | czh= {{#if:{{{czh|}}}|<!--THEN-->{{{czh}}}|<!--ELSE-->{{#if:{{{zh|}}}|<!--THEN-->{{{zh}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}} class="infoboxheader" align="center" colspan="2" {{!}} '''Date Information on {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|es={{{es|}}}|fr={{{fr|}}}|tr={{{tr|}}}|zh={{{zh|}}}}}'''
  | cde= {{#if:{{{cde|}}}|<!--THEN-->{{{cde}}}|<!--ELSE-->{{#if:{{{de|}}}|<!--THEN-->{{{de}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}}-
}}|}</includeonly><noinclude>= Documentation =
{{!}} width="50%" valign="top" {{!}} {{Episode Airtime Data| title={{{episode|{{{cepisode|}}}}}} }}
{{!}} width="50%" valign="top" {{!}} {{Episode Release Data| title={{{episode|{{{cepisode|}}}}}} }}
| {{void}}
}}
}}
|}
{{#ifeq:{{NAMESPACE}}|Image|[[Category:Audio clips]]}}</includeonly><noinclude>= Documentation =
This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an audio file, it is highly recommended that you use the sub templates. However, this template does not provide categorization of audio files. That is still done on the audio tags. ([[#Live Examples|View Examples]]) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.  
This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an audio file, it is highly recommended that you use the sub templates. However, this template does not provide categorization of audio files. That is still done on the audio tags. ([[#Live Examples|View Examples]]) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.  


Line 34: Line 39:
  | de=
  | de=
  | fr=
  | fr=
| tr=
  | zh=
  | zh=
}}</pre>
}}</pre>


= Template Example =
= Template Example =
The template demonstrated here is a simple one − {{tl|Mp3 tos audio}}
The template demonstrated here is a simple one − {{tl|Mp3 TOS audio}}


<pre>
<pre>
Line 53: Line 59:
  | es= {{{es|}}}
  | es= {{{es|}}}
  | fr= {{{fr|}}}
  | fr= {{{fr|}}}
| tr= {{{tr|}}}
  | zh= {{{zh|}}}
  | zh= {{{zh|}}}
  | cde= {{{cde|}}}
  | cde= {{{cde|}}}
  | ces= {{{ces|}}}
  | ces= {{{ces|}}}
  | cfr= {{{cfr|}}}
  | cfr= {{{cfr|}}}
| ctr= {{{ctr|}}}
  | czh= {{{czh|}}}
  | czh= {{{czh|}}}
}}
}}
</pre>
</pre>
According to the documentation for {{tl|Mp3 tos audio}} — these are the basic and optional parameters needed to display the correct information.
According to the documentation for {{tl|Mp3 TOS audio}} — these are the basic and optional parameters needed to display the correct information.


= Example Output =
= Example Output =
;MP3 TOS Audio File
;MP3 TOS Audio File
{{Mp3 tos audio
{{Mp3 TOS audio
  | series= mp3
  | series= mp3
  | episode= Galactica Discovers Earth, Part I
  | episode= Galactica Discovers Earth, Part I
Line 71: Line 79:
  | clip time= 02:20.16
  | clip time= 02:20.16
}}
}}
{{Mp3 tos audio
{{Mp3 TOS audio
  | series= mp3
  | series= mp3
  | episode= Galactica Discovers Earth, Part I
  | episode= Galactica Discovers Earth, Part I
Line 77: Line 85:
  | clip time= 02:20.16
  | clip time= 02:20.16
}}
}}
{{Mp3 tos audio
{{Mp3 TOS audio
  | series= mp3
  | series= mp3
  | episode= Galactica Discovers Earth, Part I
  | episode= Galactica Discovers Earth, Part I
Line 83: Line 91:
  | clip time= 02:20.16
  | clip time= 02:20.16
}}
}}
{{Mp3 tos audio
{{Mp3 TOS audio
  | series= mp3
  | series= mp3
  | episode= Galactica Discovers Earth, Part I
  | episode= Galactica Discovers Earth, Part I

Latest revision as of 21:01, 31 January 2008

Documentation

This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an audio file, it is highly recommended that you use the sub templates. However, this template does not provide categorization of audio files. That is still done on the audio tags. (View Examples) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.

  1. The required and optional parameters of this templates
  2. How to use it inside another template
  3. Current templates using this template.

Master Usage

{{Master audio
 | type=
 | episode=
 | cepisode=
 | season=
 | series=
 | es=
 | de=
 | fr=
 | tr=
 | zh=
}}

Template Example

The template demonstrated here is a simple one − {{Mp3 TOS audio}}

{{Master audio
 | type= mp3
 | series= tos
 | episode= {{{episode|}}}
 | cepisode= {{{cepisode|}}}
 | season= {{{season|}}}
 | start time={{{start time|}}}
 | end time={{{end time|}}}
 | clip time={{{clip time|}}}
 | de= {{{de|}}}
 | es= {{{es|}}}
 | fr= {{{fr|}}}
 | tr= {{{tr|}}}
 | zh= {{{zh|}}}
 | cde= {{{cde|}}}
 | ces= {{{ces|}}}
 | cfr= {{{cfr|}}}
 | ctr= {{{ctr|}}}
 | czh= {{{czh|}}}
}}

According to the documentation for {{Mp3 TOS audio}} — these are the basic and optional parameters needed to display the correct information.

Example Output

MP3 TOS Audio File
MP3 Audio File MP3 Audio File
The original Battlestar Galactica (fr), Season 1 (en) episode "Galactica Discovers Earth, Part I".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The start time of this clip is 00:34.23.
The end time of this clip is 00:54.39.
The clip time of this clip is 02:20.16.
Date Information on "Galactica Discovers Earth, Part I"



MP3 Audio File MP3 Audio File
The original Battlestar Galactica (fr), Season 1 (en) episode "Galactica Discovers Earth, Part I".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The start time of this clip is 00:34.23.
The clip time of this clip is 02:20.16.
Date Information on "Galactica Discovers Earth, Part I"



MP3 Audio File MP3 Audio File
The original Battlestar Galactica (fr), Season 1 (en) episode "Galactica Discovers Earth, Part I".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The end time of this clip is 00:34.23.
The clip time of this clip is 02:20.16.
Date Information on "Galactica Discovers Earth, Part I"



MP3 Audio File MP3 Audio File
The original Battlestar Galactica (fr), Season 1 (en) episode "Galactica Discovers Earth, Part I".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The clip time of this clip is 02:20.16.
Date Information on "Galactica Discovers Earth, Part I"