From UnwelcomeGuests
Jump to: navigation, search
(Add documentation and transcipt+subtitles parameter)
Line 1: Line 1:
* [{{{url}}} {{{name}}}][[File:mp4.gif]] {{#if:{{{min|}}}| ({{{min}}} min) }} {{#if:{{{author|}}}|  {{#ifexist: {{{author}}} | [[{{{author}}}]] | {{{author}}} }}  }}
+
<includeonly>* [{{{url}}} {{{name}}}][[File:mp4.gif]] {{#if:{{{min|}}}| ({{{min}}} min) }} {{#if:{{{author|}}}|  {{#ifexist: {{{author}}} | [[{{{author}}}]] | {{{author}}} }} {{#if:{{{subtitles|}}}| (Subtitles available at {{{subtitles}}}) {{#if:{{{transcript|}}}| (Transcript available at {{{transcript}}}) }} </includeonly>
 +
<noinclude>
 +
'''Mp4 template''' is for referencing content videos (not just MP4 format, either).
 +
 
 +
Example invocation:
 +
<br/><font face="courier">
 +
<nowiki>{{mp4 |url=http://www.unwelcomeguests.net/554/Shop%20Til%20You%20Drop%20MEF.m4v |min=52 |name=Shop Til You Drop |author=Gene Brockhoff |enabled=0}}</nowiki>
 +
</font>
 +
 
 +
Parameters:
 +
 
 +
<font face="courier">
 +
|name=''Name of the Video''<br/>
 +
|url=http://...  - Link to the video file<br/>
 +
|min=# - How many minutes the video is<br/>
 +
|author=''Author's Name''  - Will be made into an internal link if a page exists<br/>
 +
|subtitles=http://...  - reference a subtitle file ''(Optional)''<br/>
 +
|transcript=http://...  - reference a transcript ''(Optional)''<br/>
 +
</font>
 +
</noinclude>

Revision as of 20:12, 3 June 2011


Mp4 template is for referencing content videos (not just MP4 format, either).

Example invocation:
{{mp4 |url=http://www.unwelcomeguests.net/554/Shop%20Til%20You%20Drop%20MEF.m4v |min=52 |name=Shop Til You Drop |author=Gene Brockhoff |enabled=0}}

Parameters:

|name=Name of the Video
|url=http://... - Link to the video file
|min=# - How many minutes the video is
|author=Author's Name - Will be made into an internal link if a page exists
|subtitles=http://... - reference a subtitle file (Optional)
|transcript=http://... - reference a transcript (Optional)