dev
Documentation icon Template documentation
[view] [edit] [history] [purge]

Note: parts of or the entire template might not be visible without values provided.

Usage

Mandatory parameters

Description
Short description of script's purpose.
Author
Author(s) of the script.
Code
Page(s) containing the script's source code.
Languages
Supported languages.
  • Auto list - {{language list|source-js=MediaWiki:<SCRIPTNAME>}}
  • I18n-js - auto
  • Manual - {{l|<code1>|<code2>|<...>}}
  • System messages - mw
  • Auto list with custom source (shortcut to Module:Language list) - custom. Requires one of following parameters:
    • source-js - Mediawiki:Script.js
    • source-json - Mediawiki:Custom-Script/i18n.json
    • source-lua - Module:Module

Optional parameters

Title
Name of script (default: PAGENAME).
Image caption
Caption for image.
Image file
Filename of screenshot (without "File:").
Using code by
When reusing code, name of this code's author(s).
Other attribution
For crediting users that did not author the script nor produce code used in it.
Status
Release status:
  • unstable (broken - do not use this extension)
  • experimental (early stages of development, may change drastically)
  • beta (stable but not fully tested)
  • stable (stable version)
  • unmaintained (unmaintained - previously claimed to be stable, now unmaintained)
  • archive (archived - deprecated or merged with another extension)
  • unknown (default)
Scope
The recommended scope of the stylesheet, i.e. whether it is for "personal" or "site-wide" use:
p or personal
For personal use
s or site-wide
For site-wide use
mw or vanilla mediawiki
For use on vanilla (non-Fandom) MediaWiki installations
Scopes may be additionally combined using / or ,, e.g.: | Scope = p/s/mw or | Scope = personal, site-wide, vanilla mediawiki
Updated
Date of last update. ({{Updated|<code page>}} or yyyy-mm-dd, defaults to {{Updated|MediaWiki:{{BASEPAGENAME}}.css}})
Examples
For providing links to sites that import/use this code (i.e. [[w:c:wow|WoWWiki]]).
uselang
Language of this infobox (language code) (default:en or SUBPAGENAME)
For debugging purposes only

Copy/paste

{{Infobox CSS
| Type = 
| Description = 
| Author = 
| Updated = 
| Code = 
| Languages = {{l|en}}
}}

Full version

{{Infobox CSS
| Title = 
| Image file = 
| Image caption = 
| Type = 
| Status = 
| Description = 
| Author = 
| Using code by = 
| Other attribution = 
| Scope = 
| Updated = 
| Code = 
| Languages = {{l|en}}
| Examples = 
}}

Types

Syntax: | Type = retro, user

TypeDescription
  • modern
  • wiki modernization
  • modernization
Category:Modernization

Items modernizing the wiki interface.

  • user customizations
  • user
Category:CSS/User customizations

Generic personal utilities or global navigation customizations.

retroCategory:CSS/Retro

Stylesheets that revert the appearance of the interface to older styles.

  • site
  • site enhancement
Category:CSS/Site enhancements

Stylesheets that visually refresh site features.

fixesCategory:CSS/Bug fixes

Stylesheets that fix existing bugs in the Fandom ecosystem.

  • wiki theming
  • theme
Category:Theming

Stylesheets that change the general appearance of the UI.

  • editing
  • editing customizations
Category:CSS/Editing customizations

Versatile stylesheets used to improve editing.

discussionsCategory:CSS/Discussions

Stylesheets that modify Fandom Discussions.

librariesCategory:CSS/Libraries

Stylesheets that are designed to be used in other scripts or stylesheets.

Dependencies

Translation

The template translations are stored at:

See also