Template:LinkYouTube

From LifeWiki
Jump to navigation Jump to search

This is a template for including links to YouTube videos in the "External Links" section of an article. It can take the following parameters:

  • id, the id number of the video being linked to (mandatory);
  • title, the title of the video being linked to (optional but recommended);
  • author, the name of the author (creator) of the video (optional).

Here are some simple usage examples:

You type:

{{LinkYoutube|id=eZ9BBcskBjY|title=Herschel tracks in Conway's Game of Life - Part 1 - Making oscillators of any large period}}

You see:

Herschel tracks in Conway's Game of Life - Part 1 - Making oscillators of any large period (YouTube video)

You type:

{{LinkYoutube|id=eZ9BBcskBjY|author=[[Nathaniel Johnston]]|title=Herschel tracks in Conway's Game of Life - Part 1 - Making oscillators of any large period}}

You see:

Nathaniel Johnston: Herschel tracks in Conway's Game of Life - Part 1 - Making oscillators of any large period (YouTube video)

You type:

{{LinkYoutube|id=eZ9BBcskBjY}}

You see:

YouTube video eZ9BBcskBjY (YouTube video)

You type:

{{LinkYoutube|title=Herschel tracks in Conway's Game of Life - Part 1 - Making oscillators of any large period}}

You see:

Error: id= parameter not specified!

See also

External link templates