Template:Master audio: Difference between revisions
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;" | ||
! 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|}}}}}''' | |||
{{!}}- | |||
}}|}</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 | 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 | 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 | {{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 | {{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 | {{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 | {{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.
- 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