Template:Video Embed: Difference between revisions

From MKWii TAS Wiki
Jump to navigation Jump to search
Add more parameters to template
m Add transclusion to doc page
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ev:
{{#ev:
{{{service}}}
{{{service}}}|
|{{{url}}}
{{{url}}}|
|{{{dimensions}}}
{{#if:{{{dimensions|}}}|{{{dimensions}}}|}}|
|{{{alignment}}}
{{#if:{{{alignment|}}}|{{{alignment}}}|}}|
|{{{description}}}
{{#if:{{{description|}}}|{{{description}}}|}}
|{{{container}}}
}}
}}
</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
}
},
"description": "Add an embed video"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 19:55, 31 January 2024