Template:Video: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 79: Line 79:


* Should add check: If {{BASEPAGENAME}} != {{SUBPAGENAME}} then if {{SUBPAGENAME}} != {{{name}}} then warning!
* Should add check: If {{BASEPAGENAME}} != {{SUBPAGENAME}} then if {{SUBPAGENAME}} != {{{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
* Also check whether Video/name/text exits, and include it if it does .... should have a switch really, <nowiki>{{:</nowiki> Video/{{{name}}} | style=1 <nowiki>}}</nowiki> or similar. Need to include a style switch above.
[[Category:Video Templates]]</noinclude>
[[Category:Video Templates]]</noinclude>

Revision as of 12:23, 12 November 2013

VIDEO

The title of the video

The description of the video

[[|Video Page]], 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

Template:Videosemantics

  • 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, {{: Video/{{{name}}} | style=1 }} or similar. Need to include a style switch above.