Template:Css
Revision as of 05:32, 15 November 2015 by Wikipedia>Callanecc (Changed protection level of Template:Css: Highly visible template: Allowing template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
importStylesheet('{{{1}}}'); //[[{{{1}}}]]
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