Contributing:Style guide: Difference between revisions
From Space Station 14 Wiki
|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This guide serves as a reference on how to style pages when contributing to the wiki.
| | {{for deletion|obsolete}} |
| | |
| == Images ==
| |
| {{Callout|Info|All images on the wiki are rendered 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>[[File:UI_before_menu.png|class=smooth-render]]</nowiki>}}
| |
| | |
| Produces:
| |
| | |
| [[File:UI_before_menu.png|class=smooth-render]]
| |
| | |
| == 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}}.
| |
| | |
| == See also ==
| |
| * [[Contributing:Guide]]
| |
| | |
| | |
| [[Category:Contributing guides]]
| |
Latest revision as of 22:09, 15 March 2025