Template:YouTube: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>This templates is used for embedded YouTube videos, e.g.
<noinclude>This templates is used for embedded YouTube videos, e.g.


<nowiki>{{YouTube|lYrH3mioY7U}}</nowiki>
Basic example:


optional parameters:
<nowiki>{{YouTube|LsTdYpEcP1M|wxGUI Protocol}}</nowiki>


* width (default: 478)
{{YouTube|LsTdYpEcP1M|wxGUI Protocol}}
* height (default: 330)
* desc


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


{{YouTube|lYrH3mioY7U|width=478|height=330|desc=Creating simple model}}
* size (default: 550)
* align (default: center)


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


{{{desc|}}}
<nowiki>{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|align=left}}</nowiki>
</center>
 
{{YouTube|LsTdYpEcP1M|wxGUI Protocol|size=200|align=left}}
 
The overall goal is to have many as possible '''[http://www.youtube.com/results?search_query=grass+gis GRASS GIS videos on YouTube]'''</noinclude><includeonly>
{{#ev:youtube|{{{1}}}|{{{size|550}}}|{{{align|center}}}|{{{desc|{{{2|}}}}}}}}
[[Category:Templates]]
[[Category:Videos]]</includeonly>

Latest revision as of 08:46, 11 March 2013

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

Basic example:

{{YouTube|LsTdYpEcP1M|wxGUI Protocol}}


wxGUI Protocol

Optional parameters:

  • size (default: 550)
  • align (default: center)

Advanced example:

{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|align=left}}


wxGUI Protocol

The overall goal is to have many as possible GRASS GIS videos on YouTube