Template:Subtitles: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="plainlist" style="background-color:gold"> |
<includeonly><div class="plainlist" style="background-color:gold"> |
||
*This media file has an associated {{ISO 639 name|{{{1|unk}}}}}-language subtitle file [[TimedText:{{{2|}}}]] |
*This media file has an associated {{ISO 639 name|{{{1|unk}}}}}-language subtitle file [[TimedText:{{{2|}}}]]{{#if:{{{1|}}}|[[Category:Wikipedia media files with {{ISO 639 name|{{{1|}}}}}-language subtitles]]}}{{#if:{{{4|}}}| |
||
*This media file has an associated {{ISO 639 name|{{{3|unk}}}}}-language subtitle file [[TimedText:{{{4|}}}]] |
*This media file has an associated {{ISO 639 name|{{{3|unk}}}}}-language subtitle file [[TimedText:{{{4|}}}]]{{#if:{{{3|}}}|[[Category:Wikipedia media files with {{ISO 639 name|{{{3|}}}}}-language subtitles]]}}}} |
||
</div>[[Category:Wikipedia media files with subtitles]]</includeonly><noinclude> |
</div>[[Category:Wikipedia media files with subtitles]]</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 22:26, 8 August 2013
This template should be applied to edit notices of audio files which have Timed text subtitles. This will include them in Category:Wikipedia files with subtitles or an appropriate subcategory. If an non-existent page is specified it will be included in Category:Subtitles template with non-existent TimedText page.
Usage
{{Subtitles|<lang code>|<file name>|<lang code 2>|<file name 2>|....}}
Example: {{Subtitles|en|I am a Berliner.ogg.stt|de|Ich bin ein Berliner.ogg.stt|....}}
Language codes are ISO 639 codes, and file names do not require the "Timed text:" prefix.
Currently two subtitle files per invocation are supported. The template may be invoked multiple times, with the same effect.
Example:
{{Subtitles|en|I am a Berliner.ogg.stt}}
{{Subtitles|de|Ich bin ein Berliner.ogg.stt}}