Difference between revisions of "Template:Css"
Jump to navigation
Jump to search
imported>Tra m (Protected Template:Css: to avoid compromising users' monobook.js [edit=sysop:move=sysop]) |
imported>Callanecc m (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))) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
importStylesheet('{{{1}}}'); //[[{{{1}}}]]<noinclude> | importStylesheet('{{{1}}}'); //[[{{{1}}}]]<noinclude> | ||
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:32, 15 November 2015
importStylesheet('{{{1}}}'); //[[{{{1}}}]]
| 40x40px | This template should always be substituted (i.e., use {{subst:Css}}). |
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
| The above documentation is transcluded from Template:Css/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |