User:Pciev/SyntaxEval

From Little Tail Wiki
Jump to navigationJump to search

Jekyll Reference Sandbox

This is the page where I test different MediaWiki syntax.

Sound Files [1]

Embeds as media players [[File]]:
(ogg) (mp3)

Links directly to the file [[Media]]:
Media:SR-RedSalut.ogg (ogg)
Media:SR-RedSalut.mp3 (ogg)


The default MediaWiki player seems to work weirdly across browsers. I have tested three different browsers on two different operating systems.
Firefox on Windows and macOS seem to play both ogg and mp3 files perfectly fine.
Safari on macOS and iOS will play the mp3 audio, but has no compatibility with ogg files. (This is an issue with Safari [2], not MediaWiki.)
Chrome on Windows and macOS will display the media players, but only outside of the Character Infobox. The media player shows properly in the Character Infobox on Firefox and Safari.


Conclusion: For using sound files inside of wiki pages, the best implementation will be to use an mp3 file and link it using the [[File:<file>.mp3]] tag. If used inside {{Character Infobox}}, the media player may not be visible to Chrome users.

(Basic) Image Manipulation [3]

Cocona, scaled to fit This is an image.
Cocona This is an image, displayed at its original resolution.
Tiny Cocona This is an image, displayed at 50px

Tiny Cocona, centered
Tiny Cocona, centered

This is an image, displayed at 50px in the center of the page

Cocona video This is an image, with a clickable link.

References