Module:Video/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
{{#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 | 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>{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}</syntaxhighlight > | |||
{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}} | {{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}} | ||
Revision as of 20:58, 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 so 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