Difference between revisions of "Template:KBvideo"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><onlyinclude>{{#tag:videoflash|{{{1|5856277}}}{{!}}{{{2|640}}}{{!}}{{{3|480}}}|type="{{{type|vimeo}}}"}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#tag:videoflash|{{{1|5856277}}}{{!}}{{{2|640}}}{{!}}{{{3|480}}}|type="{{{type|vimeo}}}"}}</onlyinclude></includeonly>
Use this template to include videos in the [[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).
Use this template to include educational videos in the [[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>{{</nowiki>KBvideo|5856277}}</code>" or customize it more excessively, like "<code><nowiki>{{</nowiki>KBvideo|sO5APfKnR50|425|344|type=youtube}}</code>".
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}}
 
<noinclude>[[Category:KB templates]]</noinclude>
 
Original documentation is available at [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash].

Revision as of 12:22, 12 October 2009

Use this template to include educational videos in the 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.