Template:Navpop/doc

From MOASSpedia
< Template:Navpop
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>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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