Difference between revisions of "Template:Youtube"
From DoomWiki.org
m (Test default size increase) |
m (400x225 seems to still work.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#evt:service=youtube|id={{{1}}}|dimensions={{#if:{{{3|}}}|{{{3}}}| | + | <includeonly>{{#evt:service=youtube|id={{{1}}}|dimensions={{#if:{{{3|}}}|{{{3}}}|400x225}}|alignment={{#if:{{{4|}}}|{{{4}}}|right}}|{{#if:{{{2|}}}|description={{{2}}}}}|container=frame|urlargs=modestbranding=1&iv_load_policy=3}} |
[[Category:Videos]]</includeonly> | [[Category:Videos]]</includeonly> | ||
<noinclude>Used to include YouTube videos in articles. The syntax goes like this: | <noinclude>Used to include YouTube videos in articles. The syntax goes like this: |
Latest revision as of 10:49, 21 May 2016
Used to include YouTube videos in articles. The syntax goes like this:
- {{youtube|video id|Description|dimensions (optional, default = 480x270)|alignment (optional, default=right)}}
For example:
- {{youtube|YUU7_BthBWM|John Romero plays Knee-Deep in the Dead in co-op mode.}}
Inserts a video where John Romero plays Knee-Deep in the Dead in co-op mode: