Template:Video: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
{{#ifexist: {{FULLPAGENAME}}/reflection|Questions for reflection are available [[{{FULLPAGENAME}}/reflection|here]]: | {{#ifexist: {{FULLPAGENAME}}/reflection|Questions for reflection are available [[{{FULLPAGENAME}}/reflection|here]]: | ||
<div style="padding:10px; background: grey;"> | |||
{{: {{FULLPAGENAME}}/reflection }}|There are no questions for reflection available. You can add them here [[{{FULLPAGENAME}}/reflection|here]].}} | {{: {{FULLPAGENAME}}/reflection }} | ||
</div>|There are no questions for reflection available. You can add them here [[{{FULLPAGENAME}}/reflection|here]].}} | |||
= Transcript = | = Transcript = | ||
{{#ifexist: {{FULLPAGENAME}}/transcript|A transcript is available [[{{FULLPAGENAME}}/transcript|here]]: | {{#ifexist: {{FULLPAGENAME}}/transcript|A transcript is available [[{{FULLPAGENAME}}/transcript|here]]: | ||
<div style="padding:10px; background: grey;"> | |||
{{: {{FULLPAGENAME}}/reflection }}|There is no transcript available. You can add one [[{{FULLPAGENAME}}/transcript|here]].}} | {{: {{FULLPAGENAME}}/reflection }} | ||
</div>|There is no transcript available. You can add one [[{{FULLPAGENAME}}/transcript|here]].}} | |||
}} | }} | ||
Revision as of 18:22, 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
