Template:Css/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Css. It contains usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:Css}}). |
This template uses the deprecated importStylesheet function. Use {{Load user stylesheet}} or the shortcut {{Luss}} instead. Installing a stylesheet using the deprecated version will not work on mobile domain and will eventually not work on desktop domain. |
Usage
This template is for easy installation of css code -- use {{subst:css|page_with_code.css}} in your vector.js (for users of the default Vector skin; see WP:SKIN for details).
The javascript filenames for users of other skins:
- MinervaNeue - minerva.js
- Modern - modern.js
- Monobook - monobook.js
- Timeless - timeless.js
See also
- {{Load user stylesheet}} – equivalent that uses the non-deprecated method