Contributing:Style guide: Difference between revisions
From Space Station 14 Wiki
(videos) |
(intro) |
||
Line 1: | Line 1: | ||
This guide serves as a reference on how to style pages when contributing to the wiki. | |||
== Images == | == Images == | ||
{{Callout|Info|All images on the wiki are rendering with '''pixelated''' mode by default.}} | {{Callout|Info|All images on the wiki are rendering with '''pixelated''' mode by default.}} |
Revision as of 20:29, 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 rendering 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}}.