• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Navpop

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here


Template documentation[view] [edit] [history] [purge]

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):

  • Special:MyPage/modern.js
  • Special:MyPage/monobook.js
  • Special:MyPage/vector.js

Note: Special:MyPage/skin.js will redirect to the file for your current skin, if JavaScript is enabled.

See also

  • MediaWiki:Gadget-popups.js
  • MediaWiki:Gadget-navpop.css
The above documentation is transcluded from Template:Navpop/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Navpop&oldid=24665"
Category:
  • User namespace templates
Last edited on 18 October 2017, at 12:25

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 18 October 2017, at 12:25.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop