Template:Youtube/doc: Difference between revisions

Created page with "<templatedata> { "params": { "1": { "label": "ID", "description": "The ID of the YouTube video. If a video's URL is \"https://www.youtube.com/watch?v=ju4n5PmjhSM\", then its ID is \"ju4n5PmjhSM\".", "example": "ju4n5PmjhSM", "type": "string", "required": true }, "2": { "label": "Dimensions", "description": "The dimensions of the video.", "example": "1280x720px", "type": "string", "default": "640x360px" }, "align": { "label": "A..."
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
"align": {
"align": {
"label": "Alignment",
"label": "Alignment",
"description": "The alignment of the video.",
"description": "The alignment of the video. Causes it to float left or right.",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"left",
"left",
"right",
"right"
"center"
]
],
"default": "left"
}
}
},
},
Line 33: Line 31:


==Example usage==
==Example usage==
{{youtube|ju4n5PmjhSM|640x360px|align=right}}
{{youtube|ju4n5PmjhSM|320x180px|align=right}}
<pre>{{youtube|ju4n5PmjhSM|640x360px|align=right}}</pre>
<pre>{{youtube|ju4n5PmjhSM|320x180px|align=right}}</pre>
<noinclude>[[Category:Documentation]]</noinclude>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>