Module:Video/doc: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==usage==
==usage==
<nowiki>{{#invoke:video|file|unknown file}}</nowiki>{{clear|left}}
<nowiki>{{#invoke:video|file|unknown file}}</nowiki>{{clear|left}}
{{#invoke:video|file|unknown file}}{{clear|left}}
This line will produce <nowiki>[[File:unknown file.gif]]</nowiki>
----
----
<nowiki>{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}</nowiki>{{clear|left}}
<nowiki>{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}</nowiki>{{clear|left}}
{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}
{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}
----
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 it will actually find a gif that matches:
<nowiki>{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}</nowiki>
{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}

Revision as of 20:57, 12 September 2025

usage

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

This line will produce [[File:unknown file.gif]]


{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}

RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A-RoE-voice.webm


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 it will actually find a gif that matches: {{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}} RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A.gif