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
- source-js -
- Auto list -
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:
porpersonal- For personal use
sorsite-wide- For site-wide use
mworvanilla mediawiki- For use on vanilla (non-Fandom) MediaWiki installations
/or,, e.g.:| Scope = p/s/mwor| Scope = personal, site-wide, vanilla mediawiki Updated- Date of last update. (
{{Updated|<code page>}}oryyyy-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:
enorSUBPAGENAME) - 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
| Type | Description |
|---|---|
| Category:Modernization Items modernizing the wiki interface. |
| Category:CSS/User customizations Generic personal utilities or global navigation customizations. |
retro | Category:CSS/Retro Stylesheets that revert the appearance of the interface to older styles. |
| Category:CSS/Site enhancements Stylesheets that visually refresh site features. |
fixes | Category:CSS/Bug fixes Stylesheets that fix existing bugs in the Fandom ecosystem. |
| Category:Theming Stylesheets that change the general appearance of the UI. |
| Category:CSS/Editing customizations Versatile stylesheets used to improve editing. |
discussions | Category:CSS/Discussions Stylesheets that modify Fandom Discussions. |
libraries | Category:CSS/Libraries Stylesheets that are designed to be used in other scripts or stylesheets. |
Dependencies
Translation
- The template translations are stored at: