Template:YouTube/doc: Difference between revisions
Jump to navigation
Jump to search
RogueScholar (talk | contribs) (Categorize manually (The Documentation subpage template should perform this automatically, but I don't have sufficient privileges on this wiki to implement the fix)) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
To embed | {{Documentation subpage}} | ||
To embed YouTube videos (XBMC-related videos only!) use <code><nowiki>{{</nowiki>[[Template:YouTube|YouTube]]|ID}}</code>, where {{Para|id}} is the YouTube ID from the URL. For example, <code><nowiki>{{YouTube|4NR57ELY28s}}</nowiki></code>. You can also define {{Para|width}} and {{Para|height}} if you wish (they default to the values <tt>569</tt> and <tt>320</tt>, respectively).<includeonly> | |||
[[Category:External site feature templates]] | [[Category:External site feature templates]] | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]]</includeonly><noinclude> | ||
</ | [[Category:Template documentation pages]]</noinclude> |
Latest revision as of 16:07, 5 March 2022
To embed YouTube videos (XBMC-related videos only!) use {{YouTube|ID}}
, where |id=
is the YouTube ID from the URL. For example, {{YouTube|4NR57ELY28s}}
. You can also define |width=
and |height=
if you wish (they default to the values 569 and 320, respectively).