Template:Video: Difference between revisions
From Jenny Everywhere Wiki
Bongolium500 (talk | contribs) m (11 revisions imported) |
Bongolium500 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexist:video:{{{1|}}}||[[Category:Pages with missing videos]]}}{{#ev:service=youtube|{{Video:{{{1}}}}}|{{#ifeq:{{{2}}}|thumb|200px|{{{2|200px}}}}}|{{{align|{{#switch:{{{3|}}}|centre|center=center|left=left|right=right}}}}}|{{#switch:{{{3|}}}|center|left|right=|#default={{{3|}}}}}}}{{#set:has vid=Video:{{{1|X}}}}}</includeonly><noinclude>{{documentation}}[[Category: | <includeonly>{{#ifexist:video:{{{1|}}}||[[Category:Pages with missing videos]]}}{{#ev:service=youtube|{{Video:{{{1}}}}}|{{#ifeq:{{{2}}}|thumb|200px|{{{2|200px}}}}}|{{{align|{{#switch:{{{3|}}}|centre|center=center|left=left|right=right}}}}}|{{#switch:{{{3|}}}|center|left|right=|#default={{{3|}}}}}}}{{#set:has vid=Video:{{{1|X}}}}}</includeonly><noinclude>{{documentation}}[[Category:Actual templates]]</noinclude> |
Latest revision as of 17:33, 27 July 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
{{Video}} is a template that can be used to embed videos into pages. Its usage is simple:
{{video|Name of the video's page on this wiki|dimensions (thumb, or a value in pixels (px) - optional)|caption (optional)|align=alignment (left/right/center - optional)}}