Contributing:Style guide: Difference between revisions

From Space Station 14 Wiki
(intro)
(→‎Images: typo)
Line 2: Line 2:


== Images ==
== Images ==
{{Callout|Info|All images on the wiki are rendering with '''pixelated''' mode by default.}}
{{Callout|Info|All images on the wiki are rendered with '''pixelated''' mode by default.}}


=== Enabling smooth rendering ===
=== Enabling smooth rendering ===

Revision as of 20:30, 14 August 2024

This guide serves as a reference on how to style pages when contributing to the wiki.

Images

Info
All images on the wiki are rendered with pixelated mode by default.

Enabling smooth rendering

To enable smooth rendering, add smooth-render class, for instance:

[[File:UI_before_menu.png|class=smooth-render]]

Produces:

Videos

Videos are added the same way images do. This is provided by EmbedVideo extension.

For more info, including various new options, see https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo

Making framed gifs

Since videos do not support frame image mode, an template was made specifically for making gifs from videos in frame-like appeareance. See {{EmbedVideo Gif Frame}}.