Template:Video: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Created page with "[[File:{{{1}}}{{#ifeq:{{SERVERNAME}}|heroes.thelazy.net|.webm|.gif}}|{{{2|400px}}}]]")
 
No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{1}}}{{#ifeq:{{SERVERNAME}}|heroes.thelazy.net|.webm|.gif}}|{{{2|400px}}}]]
<includeonly>[[File:{{#invoke:video|file|{{{1}}}}}|{{{2|}}}|thumbtime={{{thumbtime|}}}|{{{loop}}}]]</includeonly><noinclude>
This template is meant to be generic. If your intended usage is to use a similar set of arguments for multiple pages, create a new specific template based on this one, e.g. [[template:cvid]].
 
==syntax==
*[https://www.mediawiki.org/wiki/Help:Images#Syntax mediawiki.org/wiki/Help:Images#Syntax]
*[https://www.mediawiki.org/wiki/Extension:TimedMediaHandler#Syntax_synopsis mediawiki.org/wiki/Extension:TimedMediaHandler#Syntax_synopsis]
 
==custom syntax==
*looping is not default -- set |loop=loop| to enable continuous looping
 
==usage==
<span style='float:left;'>
<nowiki>{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px}}</nowiki>{{clear|left}}
{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px}}{{clear|left}}
----
<nowiki>{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px|thumbtime=1:39}}</nowiki>{{clear|left}}
{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px|thumbtime=1:39}}{{clear|left}}
----
<nowiki>{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr}}</nowiki>{{clear|left}}
{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr}}{{clear|left}}
</span>
 
[[category:templates]]
</noinclude>

Latest revision as of 23:22, 20 August 2024

This template is meant to be generic. If your intended usage is to use a similar set of arguments for multiple pages, create a new specific template based on this one, e.g. template:cvid.

syntax[edit | hide | hide all]

custom syntax[edit | hide]

  • looping is not default -- set |loop=loop| to enable continuous looping

usage[edit | hide]

{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px}}


{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr|400px|thumbtime=1:39}}


{{video|AB CD-Heroes3-DATA-Heroes3 vid-H3X1intr-bik-H3X1intr}}