Template:Navpop/doc
< Template:Navpop
Jump to navigation
Jump to search
Revision as of 21:17, 25 April 2020 by Wikipedia>Vanisaac (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>)
| This is a documentation subpage for Template:Navpop. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to simplify manual installation of Wikipedia:Tools/Navigation popups.
Usage
Add {{subst:navpop}} to Special:MyPage/common.js. This will add the following code:
// Wikipedia:Tools/Navigation popups
mw.loader.load('/w/load.php?modules=ext.gadget.Navigation_popups');
Alternatively, {{subst:navpop}} can be added to a specific skin (rather than a file that works for all skins, as above):
Note: Special:MyPage/skin.js will redirect to the file for your current skin, if JavaScript is enabled.
See also