Template:Master audio: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
| cde= {{#if:{{{cde|}}}|<!--THEN-->{{{cde}}}|<!--ELSE-->{{#if:{{{de|}}}|<!--THEN-->{{{de}}}|<!--ELSE-->{{{episode}}}}}}} | | cde= {{#if:{{{cde|}}}|<!--THEN-->{{{cde}}}|<!--ELSE-->{{#if:{{{de|}}}|<!--THEN-->{{{de}}}|<!--ELSE-->{{{episode}}}}}}} | ||
| ctr= {{#if:{{{ctr|}}}|<!--THEN-->{{{ctr}}}|<!--ELSE-->{{#if:{{{tr|}}}|<!--THEN-->{{{tr}}}|<!--ELSE-->{{{episode}}}}}}} | | ctr= {{#if:{{{ctr|}}}|<!--THEN-->{{{ctr}}}|<!--ELSE-->{{#if:{{{tr|}}}|<!--THEN-->{{{tr}}}|<!--ELSE-->{{{episode}}}}}}} | ||
}}|}[[Category:Audio clips]]</includeonly><noinclude>= Documentation = | }}|}{{#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. | ||
Revision as of 08:42, 15 April 2007
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