Template:Video Embed: Difference between revisions

No edit summary
m Add transclusion to doc page
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ev:
{{#ev:
{{{service}}}
{{{service}}}|
|{{{url}}}
{{{url}}}|
|
{{#if:{{{dimensions|}}}|{{{dimensions}}}|}}|
|{{{align}}}
{{#if:{{{alignment|}}}|{{{alignment}}}|}}|
{{#if:{{{description|}}}|{{{description}}}|}}
}}
}}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
<templatedata>
{{documentation}}
{
[[Category:Mario Kart Wii Templates]]
"params": {
"service": {
"label": "Streaming service",
"description": "Video service of the video you want to embed",
"example": "youtube",
"type": "string",
"suggestedvalues": [
"youtube",
"archiveorg",
"dailymotion",
"nico",
"rutube",
"twitch",
"vimeo"
],
"required": true
},
"url": {
"label": "URL",
"description": "URL of the embed video",
"example": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"type": "url",
"required": true
},
"align": {
"label": "Alignement",
"description": "How you want to align the video on the page",
"example": "left",
"type": "string",
"suggestedvalues": [
"left",
"center",
"right",
"inline"
],
"autovalue": "right",
"required": true
}
},
"description": "Add an embed video"
}
</templatedata>
</noinclude>
</noinclude>