Difference between revisions of "Template:YouTube"

From GRASS-Wiki
Jump to navigation Jump to search
m (update template)
m
 
(8 intermediate revisions by the same user not shown)
Line 9: Line 9:
Optional parameters:
Optional parameters:


* size (default: 478)
* size (default: 550)
* center (default: yes)
* align (default: center)


Advanced example:
Advanced example:


  <nowiki>{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|center=no}}</nowiki>
  <nowiki>{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|align=left}}</nowiki>


{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|center=no}}
{{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>
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>
{{#ifeq: {{{center|yes}}} | yes | <center> |}}{{#ev:youtube|{{{1}}}|{{{size|550}}}|center|{{{desc|{{{2}}}}}}}}{{#ifeq: {{{center|yes}}} | yes | </center> |}}
{{#ev:youtube|{{{1}}}|{{{size|550}}}|{{{align|center}}}|{{{desc|{{{2|}}}}}}}}
[[Category:Templates]]
[[Category:Templates]]
[[Category:Videos]]</includeonly>
[[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