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=== | |||
<nowiki>{{#invoke:video|file|unknown file}}</nowiki>{{clear|left}} | <nowiki>{{#invoke:video|file|unknown file}}</nowiki>{{clear|left}} | ||
{{#invoke:video|file|unknown file}} | |||
<nowiki>{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}}</nowiki>{{clear|left}} | ===found video=== | ||
{{#invoke:video|file|RoE 1.0 CD-Heroes3-DATA-HEROES3 VID-EVIL1A-smk-EVIL1A}} | <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 gif=== | |||
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>{{#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 > | ||
{{#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:01, 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}}]]
