Template:Master audio: Difference between revisions

From Battlestar Wiki Media
No edit summary
No edit summary
 
(One intermediate revision 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}}
  | tr= {{{tr|}}}
| {{#if:{{{episode}}}
  | zh= {{{zh|}}}
| {{!}}- style="font-size: 90%"
  | cen= {{#if:{{{cepisode|}}}|{{{cepisode}}}|{{{episode}}}}}
{{!}} colspan="2" {{!}} <!-- Future Place of Language Links -->
  | ces= {{#if:{{{ces|}}}|<!--THEN-->{{{ces}}}|<!--ELSE-->{{#if:{{{es|}}}|<!--THEN-->{{{es}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}}-
  | cfr= {{#if:{{{cfr|}}}|<!--THEN-->{{{cfr}}}|<!--ELSE-->{{#if:{{{fr|}}}|<!--THEN-->{{{fr}}}|<!--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|}}}}}'''
  | czh= {{#if:{{{czh|}}}|<!--THEN-->{{{czh}}}|<!--ELSE-->{{#if:{{{zh|}}}|<!--THEN-->{{{zh}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}}-
  | cde= {{#if:{{{cde|}}}|<!--THEN-->{{{cde}}}|<!--ELSE-->{{#if:{{{de|}}}|<!--THEN-->{{{de}}}|<!--ELSE-->{{{episode}}}}}}}  
{{!}} width="50%" valign="top" {{!}} {{Episode Airtime Data| title={{{episode|{{{cepisode|}}}}}} }}
  | ctr= {{#if:{{{ctr|}}}|<!--THEN-->{{{ctr}}}|<!--ELSE-->{{#if:{{{tr|}}}|<!--THEN-->{{{tr}}}|<!--ELSE-->{{{episode}}}}}}}
{{!}} width="50%" valign="top" {{!}} {{Episode Release Data| title={{{episode|{{{cepisode|}}}}}} }}
}}|}[[Category:Audio clips]]</includeonly><noinclude>= Documentation =
| {{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.  



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"