Difference between revisions of "Template:KBvideo"

From Second Life Wiki
Jump to navigation Jump to search
(some <tag> don't like wiki code inside. we had to learn this the hard way ^^ *cuddles kuraiko*)
(Old Knowledge Base)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#tag:videoflash|{{{1}}}{{!}}640{{!}}480|type="vimeo"}}
<includeonly><onlyinclude>{{#tag:videoflash|{{{1|5856277}}}{{!}}{{{2|640}}}{{!}}{{{3|480}}}|type="{{{type|vimeo}}}"}}[[Category:Video Tutorials]]</onlyinclude></includeonly>
Use this template to include educational videos in the [[Old Knowledge Base]], per the specifications on the [[Style Guide]]. It chooses Vimeo as default video source and sets default values for width and height (640x480px).
 
You can include it in the simple form "<code><nowiki>{{KBvideo|6302714}}</nowiki></code>", which becomes:
 
{{KBvideo|6302714}}
 
Or customize it with additional parameters, like "<code><nowiki>{{KBvideo|Z_-RhsMeN0I|425|344|type=youtube}}</nowiki></code>" which becomes:
 
{{KBvideo|Z_-RhsMeN0I|425|344|type=youtube}}
 
Original documentation is available at [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash].
 
[[Category:KB Templates]]

Latest revision as of 04:33, 28 July 2012

Use this template to include educational videos in the Old Knowledge Base, per the specifications on the Style Guide. It chooses Vimeo as default video source and sets default values for width and height (640x480px).

You can include it in the simple form "{{KBvideo|6302714}}", which becomes:

<videoflash type="vimeo">6302714|640|480</videoflash>

Or customize it with additional parameters, like "{{KBvideo|Z_-RhsMeN0I|425|344|type=youtube}}" which becomes:

<videoflash type="youtube">Z_-RhsMeN0I|425|344</videoflash>

Original documentation is available at VideoFlash.