Plantilla:YouTube/uso

De Wikilibros, la colección de libros de texto de contenido libre.

Video[editar]

Uso (un parámetro):

  • {{YouTube | ID }}
  • {{YouTube | id= ID }}

Uso (dos parámetros):

  • {{YouTube | ID | TITULO }}
  • {{YouTube | id= ID | title= TITULO }}

Descripcion de parámetros:

  • id (o parámetro innominado 1) es el "YouTube id" que aparece como http://www.youtube.com/watch?v=ID
  • título (o parámetro innominado 2) proporciona una descripción opcional que puede reemplazar el título por defecto que es "Video"

Ejemplos (1 parámetro):

  1. {{YouTube| 9wuGq4haOs0 }}
    Video on
  2. {{YouTube| id= 9wuGq4haOs0 }}
    Video on

Ejemplos (2 parámetros):

  1. {{YouTube| 9wuGq4haOs0 | "Nessun dorma" }}
    "Nessun dorma" on
  2. {{YouTube| id= 9wuGq4haOs0 | title= "Nessun dorma" }}
    "Nessun dorma" on

Show[editar]

Uso (un parámetro):

  • {{YouTube | s = SHOWNAME }}
  • {{YouTube | show = SHOWNAME }}

Uso (dos parámetros):

  • {{YouTube | s= SHOWNAME | TITLE }}
  • {{YouTube | s= SHOWNAME | title= TITLE }}
  • {{YouTube | show= SHOWNAME | TITLE }}
  • {{YouTube | show= SHOWNAME | title= TITLE }}

Descripción de parámetros:

  • s or show is the "YouTube show name" which appears as http://www.youtube.com/show/SHOWNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Ejemplos (1 parámetro):

  1. {{YouTube| s= startrek }}
    YouTube/uso show on
  2. {{YouTube| show= startrek }}
    YouTube/uso show on

Ejemplo (2 parámetros):

  1. {{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series show on
  2. {{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series show on

Mostrar id[editar]

Uso (un parámetro):

  • {{YouTube | sid = SHOWIDCODE }}
  • {{YouTube | showid = SHOWIDCODE }}

Uso (dos parámetros):

  • {{YouTube | sid= SHOWIDCODE | TITLE }}
  • {{YouTube | sid= SHOWIDCODE | title= TITLE }}
  • {{YouTube | showid= SHOWIDCODE | TITLE }}
  • {{YouTube | showid= SHOWIDCODE | title= TITLE }}

Descripción de parámetros:

  • sid or showid is the "YouTube show ID code" which appears as http://www.youtube.com/show?p=SHOWIDCODE
  • title gives an optional description that may replace the default title (PAGENAME)

Ejamplos (1 parámetro):

  1. {{YouTube| sid = K162qI1LPF8 }}
    YouTube/uso show on
  2. {{YouTube| showid = K162qI1LPF8 }}
    YouTube/uso show on

Ejemplo (2 parámetros):

  1. {{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound show on
  2. {{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound show on

Canal de usuario[editar]

Uso (un parámetro):

  • {{YouTube | u = USERCHANNELNAME }}
  • {{YouTube | user = USERCHANNELNAME }}
  • {{YouTube | channel = USERCHANNELNAME }}

Uso (dos parámetros):

  • {{YouTube | u = USERCHANNELNAME | TITLE }}
  • {{YouTube | u = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | user = USERCHANNELNAME | TITLE }}
  • {{YouTube | user = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | title= TITLE }}

Descripción de parámetros:

  • u, user, or channel is the "YouTube user channel name" which appears as http://www.youtube.com/user/USERCHANNELNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Ejamplos (1 parámetro):

  1. {{YouTube| u = ABCNews }}
    YouTube/uso's canal on
  2. {{YouTube| user = ABCNews }}
    YouTube/uso's canal on
  3. {{YouTube| channel = ABCNews }}
    YouTube/uso's canal on

Ejemplo (2 parámetros):

  1. {{YouTube| u = ABCNews | ABC News }}
    ABC News's canal on
  2. {{YouTube| user = ABCNews | ABC News }}
    ABC News's canal on
  3. {{YouTube| channel = ABCNews | ABC News }}
    ABC News's canal on

Suprimir wikienlace[editar]

El enlace a YouTube Se puede suprimir con el parámetro Plantilla:Para. Ejemplo:

  • {{YouTube| 9wuGq4haOs0 | "Nessun dorma" | link= no }}
    "Nessun dorma" on YouTube

Véase también[editar]