Відео на сайті Dailymotion

{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]

Використання ред.

Використовуйте цей шаблон аби створити зовнішнє посилання на сайт Dailymotion у розділі статті "Зовнішні посилання".

Як використовувати ред.

Використання для відео ред.

Використання (один параметр):

  • {{Dailymotion|''VIDEOID''}}
  • {{Dailymotion|id=''VIDEOID''}}

Використання (два параметра):

  • {{Dailymotion|''VIDEOID''|''TITLE''}}
  • {{Dailymotion|id=''VIDEOID''|title=''TITLE''}}

Опис параметрів:

  • id (чи параметр без назви 1) є "відео ІД Dailymotion" що з'явиться як https://www.dailymotion.com/video/=VIDEOID
  • title (чи параметр без назви 2) дає опціональну можливість задати довільну назву для відповідного відео замість значення за-замовчуванням (Відео)

Приклади (один параметр:

  1. {{Dailymotion|x51nn4y}}
    Відео на сайті Dailymotion
  2. {{Dailymotion|id=x51nn4y}}
    Відео на сайті Dailymotion

Приклади (два параметра):

  1. {{Dailymotion|x51nn4y|"HOW TO MAKE A HONEYCOMB SLICE"}}
    "HOW TO MAKE A HONEYCOMB SLICE" на сайті Dailymotion
  2. {{Dailymotion|id=x51nn4y|title="HOW TO MAKE A HONEYCOMB SLICE"}}
    "HOW TO MAKE A HONEYCOMB SLICE" на сайті Dailymotion

Використання для каналу користувача ред.

Usage (single parameter):

  • {{Dailymotion|u=''USERNAME''}}
  • {{Dailymotion|user=''USERNAME''}}

Usage (dual parameter):

  • {{Dailymotion|u=''USERNAME''|''TITLE''}}
  • {{Dailymotion|u=''USERNAME''|title=''TITLE''}}
  • {{Dailymotion|user=''USERNAME''|''TITLE''}}
  • {{Dailymotion|user=''USERNAME''|title=''TITLE''}}

Usage (triple parameter):

  • {{Dailymotion|u=''USERNAME''|''TITLE''|suffix='}}
  • {{Dailymotion|u=''USERNAME''|title=''TITLE''|suffix='}}
  • {{Dailymotion|user=''USERNAME''|''TITLE''|suffix='}}
  • {{Dailymotion|user=''USERNAME''|title=''TITLE''|suffix='}}

Parameter descriptions:

  • u or user is the "Dailymotion user's (channel) name" which appears as https://www.dailymotion.com/user/USERNAME
  • title gives an optional description that will replace the default title (PAGENAME)
  • suffix replaces the default " 's " after the channel name. It is only to be used on the rare occasion that the channel name is a compound noun ending in " s ", and making it possessive does not repeat the " s " sound. Do not use it for a brand name ending in " s ", for example Smosh Games, which is a singular entity. See MOS:POSS for more information.

Examples (single parameter):

  1. {{Dailymotion|u=RedBull}}
    PAGENAME на сайті Dailymotion
  2. {{Dailymotion|user=RedBull}}
    PAGENAME на сайті Dailymotion

Example (dual parameter):

  1. {{Dailymotion|u=RedBull|Red Bull}}
    Red Bull на сайті Dailymotion
  2. {{Dailymotion|user=RedBull|Red Bull}}
    Red Bull на сайті Dailymotion

Використання для звичайного каналу ред.

Usage (single parameter):

  • {{Dailymotion|c=''CHANNELID''}}
  • {{Dailymotion|channel=''CHANNELID''}}

Usage (dual parameter):

  • {{Dailymotion|c=''CHANNELID''|''TITLE''}}
  • {{Dailymotion|c=''CHANNELID''|title=''TITLE''}}

or

  • {{Dailymotion|channel=''CHANNELID''|''TITLE''}}
  • {{Dailymotion|channel=''CHANNELID''|title=''TITLE''}}

Parameter descriptions:

  • c or channel is the "Dailymotion channel id" which appears as https://www.dailymotion.com/CHANNELID
  • title (or unnamed parameter) gives an optional description that will replace the default title (PAGENAME)

Example (single parameter):

  1. {{Dailymotion|c=Mojosupreme}}
    PAGENAME на сайті Dailymotion
  2. {{Dailymotion|channel=Mojosupreme}}
    PAGENAME на сайті Dailymotion

Example (dual parameter)

  1. {{Dailymotion|c=Mojosupreme|Watchmojo}}
    Watchmojo на сайті Dailymotion
  2. {{Dailymotion|channel=Mojosupreme|Watchmojo}}
    Watchmojo на сайті Dailymotion

Playlist ред.

Usage (single parameter)

  • {{Dailymotion|p=''PLAYLISTID''}}
  • {{Dailymotion|playlist=''PLAYLISTID''}}

Usage (dual parameter)

  • {{Dailymotion|p=''PLAYLISTID''|''TITLE''}}
  • {{Dailymotion|p=''PLAYLISTID''|title=''TITLE''}}

or

  • {{Dailymotion|playlist=''PLAYLISTID''|''TITLE''}}
  • {{Dailymotion|playlist=''PLAYLISTIS''|title=''TITlE''}}

Parameter descriptions:

  • p or playlist is the "Dailymotion playlist id" which appears as https://http://www.dailymotion.com/playlist/PLAYLISTID
  • title an optional description that will replace the default title (PAGENAME)

Example: Examples (single parameter):

  1. {{Dailymotion|p=x4evu1}}
    PAGENAME playlist на сайті Dailymotion
  2. {{Dailymotion|playlist=x4evu1}}
    PAGENAME playlist на сайті Dailymotion

Example (dual parameter):

  1. {{Dailymotion|p=x4evu1|The Washinton Post}}
    The Washinton Post playlist на сайті Dailymotion
  2. {{Dailymotion|playlist=x4evu1|The Washinton Post}}
    The Washinton Post playlist на сайті Dailymotion

Suppress wikilink ред.

The link to Dailymotion can be suppressed with the parameter |link=no. Example:

Tracking category ред.

TemplateData ред.

Це документація TemplateData для шаблону Dailymotion, яка використовується Візуальним редактором та іншими інструментами.

Користуйтеся цим шаблоном аби створити зовнішні посилання на сайт Dailymotion у розділі Зовнішні посилання

Параметри шаблону[Управління TemplateData]

ПараметрОписТипСтатус
Dailymotion video idid 1

The video id which appears after https://www.dailymotion.com/ in the URL

Приклад
x51nn4y
Рядокнеобов'язковий
Dailymotion user's (channel) nameuser u

The user name which appears after https://www.dailymotion.com/user/ in the URL

Приклад
RedBull
Рядокнеобов'язковий
Dailymotion channel idchannel c

The channel id which appears after https://www.dailymotion.com/ in the URL

Приклад
Mojosupreme
Рядокнеобов'язковий
Dailymotion playlist idplaylist p

The playlist id which appears after https://www.dailymtoion.com/playlist/ in the URL

Приклад
x4evu1
Рядокнеобов'язковий
Titletitle 1 2

The name of the page being linked to

За замовчуванням
If it is a video use TITLE, otherwise, the use the article's page name unformatted
Приклад
HOW TO MAKE A HONEYCOMB SLICE
Рядокпропонований
Channel title suffixsuffix

Text immediately after the channel title. It is only to be used on the rare occasion that the channel title is a compound noun ending in ' s ', and making it possessive does not repeat the ' s ' sound.

За замовчуванням
's
Приклад
'
Рядокнеобов'язковий
Link onlink

Set this parameter to no to suppress the link to the Dailymotion article

Приклад
no
Рядокнеобов'язковий

Див. також ред.