Contributing:Style guide: Difference between revisions

From Space Station 14 Wiki
(Created page with "== Images == {{Callout|Info|All images on the wiki are rendering with '''pixelated''' mode by default.}} === Enabling smooth rendering === To enable smooth rendering, add {{c|smooth-render}} class, for instance: {{sthl|mw=1|i=1|<nowiki>class=smooth-render</nowiki>}} Produces: class=smooth-render == Videos == Category:Contributing guides")
 
(videos)
Line 12: Line 12:


== Videos ==
== 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 {{c|frame}} image mode, an template was made specifically for making gifs from videos in {{c|frame}}-like appeareance. See {{t|EmbedVideo Gif Frame}}.


[[Category:Contributing guides]]
[[Category:Contributing guides]]

Revision as of 20:28, 14 August 2024

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}}.