Template:Video: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
[[Video/{{{name|Some name}}}|{{{name|Some name}}}]], {{{duration|1:23}}}, | [[Video/{{{name|Some name}}}|{{{name|Some name}}}]], {{{duration|1:23}}}, | ||
}}{{#ifeq:{{{series|}}}||[[series::No series| ]][[Category:No series]][[no series for::Video/{{{name|no series for this video}}}]]|(Series: [[Video/{{{series|Other}}}|{{{series|Other}}}]])}}{{#ifeq: {{{transcript|}}}|yes|(Transcript available [[Video/{{{name|Some name}}}/transcript|here]] or via YouTube captions.)}} | }}{{#ifeq:{{{series|}}}||[[series::No series| ]][[Category:No series]][[no series for::Video/{{{name|no series for this video}}}]]|(Series: [[Video/{{{series|Other}}}|{{{series|Other}}}]])}}{{#ifeq: {{{transcript|}}}|yes|(Transcript available [[Video/{{{name|Some name}}}/transcript|here]] or via YouTube captions.)}} | ||
</div>{{#ifeq: {{{semantics|}}}|yes|[[assettype::{{{type|youtube}}}| ]][[src::{{{src|}}}| ]][[name::{{{name|}}}| ]][[title::{{{title|}}}| ]][[duration::{{{duration|}}}| ]][[series::{{{series|Other}}}| ]][[episode::{{{episode|}}}| ]][[project::{{{project|}}}| ]] | </div>{{#ifeq: {{{semantics|}}}|yes|[[assettype::{{{type|youtube}}}| ]][[src::{{{src|}}}| ]][[name::{{{name|}}}| ]][[title::{{{title|}}}| ]][[duration::{{{duration|}}}| ]][[series::{{{series|Other}}}| ]][[episode::{{{episode|N/A}}}| ]][[project::{{{project|}}}| ]] | ||
[[realtitle::{{{realtitle|{{{title|{{{name}}}}}}}}}| ]] | [[realtitle::{{{realtitle|{{{title|{{{name}}}}}}}}}| ]] | ||
=Embed code = | =Embed code = |
Revision as of 20:57, 11 November 2013
VIDEO
The title of the video
The description of the video
The file name or wiki page name for video, 12:34, Some use of "" in your query was not closed by a matching "". link to YouTube (local play / download options / download from dropbox)Video/no series for this video
{{video |src= youtube id |name= local file name |title=Title to be displayed |duration=duration of video mm:ss |series=series (optional) |episode=01, 02, ... (optional) |acknowledgement= ... (possibly use template) <noinclude>|semantics=yes|no</noinclude> }}
Also see
- Should add check: If Video != Video then if Video != {{{name}}} then warning!
- Also check whether Video/name/text exits, and include it if it does .... should have a switch really, {{:</nowiki> Video/{{{name}}} | style=1 <nowiki>}} or similar. Need to include a style switch above