Module:Video/doc: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==usage==
==usage==
<nowiki>{{#invoke:video|file|unknown file}}</nowiki>{{clear|left}}
===unknown file===
{{#invoke:video|file|unknown file}}{{clear|left}}
<syntaxhighlight lang=mediawiki>{{#invoke:video|file|unknown file}}</syntaxhighlight>
----
{{#invoke:video|file|unknown file}}
<nowiki>[[:File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]]</nowiki>{{clear|left}}
 
[[:File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]]
===found video===
<syntaxhighlight lang=mediawiki>[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}|200px]]</syntaxhighlight>
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}|200px]]
 
===found gif===
This one will fail to find anything with webm because of the added text to the end.
Then it will cut off the last two sections separated by a dash and so actually find a gif that matches:
<syntaxhighlight lang=mediawiki>[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}|200px]]</syntaxhighlight>
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}|200px]]

Latest revision as of 21:09, 12 September 2025

usage[edit | hide | hide all]

unknown file[edit | hide]

{{#invoke:video|file|unknown file}}

unknown file.gif

found video[edit | hide]

[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}|200px]]

found gif[edit | hide]

This one will fail to find anything with webm because of the added text to the end. Then it will cut off the last two sections separated by a dash and so actually find a gif that matches:

[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}|200px]]