Template:Video: Difference between revisions

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


* 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}}} | text <nowiki>}}
* 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
</noinclude>
</noinclude>

Revision as of 09:00, 22 September 2012

Some title

Some name, 1:23, link to YouTube (CBS: local copy / playback, local download)


{{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)
|semantics=yes|no
}}

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