Youtube – Template
Jump to navigation
Jump to search
m (Alignment can now be "center" as well) |
m (fixed example) |
||
Line 29: | Line 29: | ||
| {{Youtube|M1YBZUxMX8g|{{arma3}} trailer|right}} | | {{Youtube|M1YBZUxMX8g|{{arma3}} trailer|right}} | ||
|- | |- | ||
| <nowiki>{{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer| | | <nowiki>{{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer|center|400}}</nowiki> | ||
| {{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer|center|400}} | | {{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer|center|400}} | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 10:59, 16 November 2020
Shows a YouTube video.
Usage
{{Youtube|videoID|caption|position|size}}
- videoID: the ID part of the URL. e.g a75eG8HG5Fk
- caption: (optional) caption below the video
- position: (optional, default left) "left", "right" or "center"
- size: (optional, default 300) width in pixels
Code | Result |
---|---|
{{Youtube}} | -Youtube ID not defined- |
{{Youtube|a75eG8HG5Fk}} | a75eG8HG5Fk|300}} |
{{Youtube|UgXq6z6-644|{{arma2}} trailer}} | UgXq6z6-644|300}} |
{{Youtube|M1YBZUxMX8g|{{arma3}} trailer|right}} | M1YBZUxMX8g|300}} |
{{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer|center|400}} | EwAxJC9AR_A|400}} |