Difference between revisions of "Template:YouTube"

From GRASS-Wiki
Jump to navigation Jump to search
m
m
Line 9: Line 9:
* desc
* desc


  <nowiki>{{YouTube|lYrH3mioY7U|width=200|height=200|desc=Creating simple model}}</nowiki>
  <nowiki>{{YouTube|lYrH3mioY7U|width=250|height=200|desc=Creating simple model}}</nowiki>


{{YouTube|lYrH3mioY7U|width=478|height=330|desc=Creating simple model}}
{{YouTube|lYrH3mioY7U|width=250|height=200|desc=Creating simple model}}


</noinclude>
</noinclude>
<center>
<center>
{{#widget:YouTube|id={{{1}}}|width={{{width|478}}}|height={{{height|400}}}}}
{{#widget:YouTube|id={{{1}}}|width={{{width|478}}}|height={{{height|300}}}}}


{{{desc|}}}
{{{desc|}}}
</center>
</center>

Revision as of 08:21, 22 May 2011

This templates is used for embedded YouTube videos, e.g.

{{YouTube|lYrH3mioY7U}}

optional parameters:

  • width (default: 478)
  • height (default: 330)
  • desc
{{YouTube|lYrH3mioY7U|width=250|height=200|desc=Creating simple model}}


Error in widget YouTube: Unable to load template 'wiki:YouTube'

Creating simple model


Error in widget YouTube: Unable to load template 'wiki:YouTube'