Difference between revisions of "Template:YouTube"

From GRASS-Wiki
Jump to navigation Jump to search
m
m
Line 19: Line 19:


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

Revision as of 08:32, 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: 478)
  • center (default: yes)

Advanced example:

{{youtube|LsTdYpEcP1M|wxGUI Protocol|size=200|center=no}}


{{{wxGUI Protocol}}}

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