Template:Video: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
{{#ifexist: {{FULLPAGENAME}}/transcript|A transcript is available [[{{FULLPAGENAME}}/transcript|here]]: | {{#ifexist: {{FULLPAGENAME}}/transcript|A transcript is available [[{{FULLPAGENAME}}/transcript|here]]: | ||
{{: {{FULLPAGENAME}}/reflection }}|There is no transcript available. You can add one | {{: {{FULLPAGENAME}}/reflection }}|There is no transcript available. You can add one [[{{FULLPAGENAME}}/transcript|here]].}} | ||
}} | }} |
Revision as of 18:20, 9 December 2012
Some title
Some name, 1:23, link to YouTube (CBS: local copy / playback, local download)Video/no name
{{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