Template:YouTube/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "To embed youtube videos (XBMC related videos only!) use <code><nowiki>{{</nowiki>youtube|ID}}</nowiki></code> where id= is the YouTube ID from the URL. For e...") |
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)) |
||
(5 intermediate revisions by 2 users 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> | |||
<includeonly>[[Category: | |||
[[Category:External site feature 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).