Difference between revisions of "Template:KBvideo"

From Second Life Wiki
Jump to navigation Jump to search
(the <onlyinclude> tag above seems to be strong and ignored the later <includeonly>. not categorizing fixed)
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}}}"}}[[Category:Video Tutorials]]</onlyinclude></includeonly>
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).
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).


Line 12: Line 12:
Original documentation is available at [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash].
Original documentation is available at [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash].


<noinclude>[[Category:KB Templates]]</noinclude>
[[Category:KB Templates]]
<includeonly>[[Category:Video Tutorials]]</includeonly>

Revision as of 16:06, 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.