Template:Video: Difference between revisions
From Jenny Everywhere Wiki
No edit summary |
mNo 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|{{#ifeq:{{{3|}}}|center|center|{{#ifeq:{{{3|}}}|left|left|{{#ifeq:{{{3|}}}|right|right|right}}}}}}}}}|{{#ifeq:{{{3|}}}|center||{{#ifeq:{{{3|}}}|left||{{#ifeq:{{{3|}}}|right||{{{3|}}}}}}}}}}}</includeonly><noinclude>'''{{tlx|Video}}''' is a template that can be used to | <includeonly>{{#ifexist:video:{{{1|}}}||[[Category:Pages with missing videos]]}}{{#ev:service=youtube|{{Video:{{{1}}}}}|{{#ifeq:{{{2}}}|thumb|200px|{{{2|200px}}}}}|{{{align|{{#ifeq:{{{3|}}}|center|center|{{#ifeq:{{{3|}}}|left|left|{{#ifeq:{{{3|}}}|right|right|right}}}}}}}}}|{{#ifeq:{{{3|}}}|center||{{#ifeq:{{{3|}}}|left||{{#ifeq:{{{3|}}}|right||{{{3|}}}}}}}}}}}</includeonly><noinclude>'''{{tlx|Video}}''' is a template that can be used to embed videos into pages. It's usage is simple: | ||
<pre>{{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)}}</pre> | <pre>{{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)}}</pre> | ||
See [[:Category:Videos compliant with our video policy]] for videos that can be used. Go to [[Tardis:Video recommendations]] to request further videos to be added. | See [[:Category:Videos compliant with our video policy]] for videos that can be used. Go to [[Tardis:Video recommendations]] to request further videos to be added. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 00:14, 30 March 2024
{{Video}} is a template that can be used to embed videos into pages. It's 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)}}
See Category:Videos compliant with our video policy for videos that can be used. Go to Tardis:Video recommendations to request further videos to be added.