Module:Video/doc: Difference between revisions
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== | ||
< | ===unknown file=== | ||
{{#invoke:video|file|unknown file}}{{ | <syntaxhighlight lang=mediawiki>{{#invoke:video|file|unknown file}}</syntaxhighlight> | ||
---- | {{#invoke:video|file|unknown file}} | ||
< | |||
[[ | ===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]]