Module:Video/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
==usage== | ==usage== | ||
===unknown file=== | ===unknown file=== | ||
< | <syntaxhighlight lang=mediawiki>{{#invoke:video|file|unknown file}}</syntaxhighlight> | ||
{{#invoke:video|file|unknown file}} | {{#invoke:video|file|unknown file}} | ||
===found video=== | ===found video=== | ||
< | <syntaxhighlight lang=mediawiki>[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]]</syntaxhighlight> | ||
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]] | [[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]] | ||
| Line 11: | Line 11: | ||
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: | 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}}]]</syntaxhighlight > | <syntaxhighlight lang=mediawiki>[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}]]</syntaxhighlight> | ||
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}]] | [[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}]] | ||
Revision as of 21:02, 12 September 2025
usage
unknown file
{{#invoke:video|file|unknown file}}
unknown file.gif
found video
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}]]
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:
[[File:{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1Axyz123}}]]
