Template:Dailymotion/doc

Usage
Use this to create an external link to Dailymotion in the "External links" section of the article.

Video
Usage (single parameter):

Usage (dual parameter):

Parameter descriptions:
 * id (or unnamed parameter 1) is the "Dailymotion video id" which appears as https://www.dailymotion.com/video/=
 * title (or unnamed parameter 2) gives an optional description that will replace the default title (Video)

Examples (single parameter):

Examples (dual parameters):

User's channel
Usage (single parameter):

Usage (dual parameter):

Usage (triple parameter):

Parameter descriptions:
 * u or user is the "Dailymotion user's (channel) name" which appears as https://www.dailymotion.com/user/
 * 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):

Example (dual parameter):

Channel
Usage (single parameter):

Usage (dual parameter): or

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

Example (single parameter):

Example (dual parameter)

Playlist
Usage (single parameter)

Usage (dual parameter) or

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

Example: Examples (single parameter):

Example (dual parameter):

Suppress wikilink
The link to Dailymotion can be suppressed with the parameter no. Example:

TemplateData
{ "description": "Use this to create an external link to Dailymotion in the External links section.", "params": { "id": { "label": "Dailymotion video id", "description": "The video id which appears after https://www.dailymotion.com/ in the URL", "aliases": ["1"], "example": "x51nn4y", "type": "string" }, "user": { "label": "Dailymotion user's (channel) name", "description": "The user name which appears after https://www.dailymotion.com/user/ in the URL", "aliases": ["u"], "example": "RedBull", "type": "string" }, "channel": { "label": "Dailymotion channel id", "description": "The channel id which appears after https://www.dailymotion.com/ in the URL", "aliases": ["c"], "example": "Mojosupreme", "type": "string" }, "playlist": { "label": "Dailymotion playlist id", "description": "The playlist id which appears after https://www.dailymtoion.com/playlist/ in the URL", "aliases": ["p"], "example": "x4evu1", "type": "string" }, "title": { "label": "Title", "description": "The name of the page being linked to", "suggested": true, "aliases": ["1", "2"], "example": "HOW TO MAKE A HONEYCOMB SLICE", "default": "If it is a video use TITLE, otherwise, the use the article's page name unformatted", "type": "string" }, "suffix": { "label": "Channel title suffix", "description": "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.", "example": "'", "default": "'s", "type": "string" }, "link": { "label": "Link on", "description": "Set this parameter to no to suppress the link to the Dailymotion article", "example": "no", "type": "string" } } }