Template:Js
From WikiAlpha
The below content was derived from the Wikipedia page Template:Js, with the list of authors located at the talk page, and is licensed according to the Creative Commons Attribution-ShareAlike 3.0 Unported License contrary to the public domain logo at the foot of the page. |
[edit] [ ] Template documentation
Usage
This template is for easy installation of JavaScript code — use {{subst:js|page_with_code.js}}
in your skin.js (see Help:Skin for details).
The above link should work for all skins. These are the JavaScript file names left for reference:
Skin used | Skin JavaScript file |
---|---|
All skins | common.js |
Cologne Blue | cologneblue.js |
Modern | modern.js |
MonoBook | monobook.js |
Vector (default) | vector.js |
The above documentation is transcluded from Template:Js/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |