Template:Master audio: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| align="center" class="messagebox" cellspacing="1" | ||
{| align="center" class="messagebox" | |- style="text-align: center;" | ||
! class="infoboxheader" colspan="2" | {{type link audio| type={{{type}}} | image=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|}}}| | | 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|}}}}} | | colspan="2" | {{copyright link| series={{{series}}} }} | ||
|- style="font-size: 90%" | |||
| colspan="2" | {{timestamp link audio| start time={{{start time|}}} | end time={{{end time|}}} | clip time={{{clip time|}}} }} | |||
{{#ifeq:{{{type}}}|web | |||
| {{void}} | |||
| {{#if:{{{episode}}} | |||
| {{!}}- style="font-size: 90%" | |||
{{!}} colspan="2" {{!}} <!-- Future Place of Language Links --> | |||
{{!}}- | |||
{{!}} 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|}}}}}''' | |||
{{!}}- | |||
{{!}} 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. | ||
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.
- The required and optional parameters of this templates
- How to use it inside another template
- 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