Template:Navpop/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert Badgett
No edit summary
imported>Jitse Niesen
(skin issues, use subst:)
Line 1: Line 1:
==Purpose==
==Purpose==
This template, when placed in your file [[Special:Mypage/monobook.js |your userfile monobook.js ]] will create convenient popups (as described at [[CZ:Enhancing_your_editing_with_javascript_extensions#Navigation_popups|Navigation popups]]).
This template, when placed in your custom JavaScript file, will create convenient popups (as described at [[CZ:Enhancing_your_editing_with_javascript_extensions#Navigation_popups|Navigation popups]]).


==Notes on usage==
==Usage==
# Open [[Special:Mypage/monobook.js |your monobook.js ]] for editing.
To enable nagivation popups, follow these steps:
# Place "<nowiki>{{Navpop}}</nowiki>" in the file.
# Find out which skin you are using. Most people on Citizendium use ''Pinkwich5'', while Wikipedia uses ''Monobook''.
# Open the corresponding page for editing.
#* If you use the Pinkwich5 skin, edit [[Special:Mypage/pinkwich5.js]]
#* If you use the Monobook skin, edit [[Special:Mypage/monobook.js]]
# Place "<nowiki>{{subst:navpop}}</nowiki>" in the file and save.
# Refresh your browser's cache when done:
# Refresh your browser's cache when done:
::'''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac);
::'''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac);

Revision as of 12:12, 24 June 2008

Purpose

This template, when placed in your custom JavaScript file, will create convenient popups (as described at Navigation popups).

Usage

To enable nagivation popups, follow these steps:

  1. Find out which skin you are using. Most people on Citizendium use Pinkwich5, while Wikipedia uses Monobook.
  2. Open the corresponding page for editing.
  3. Place "{{subst:navpop}}" in the file and save.
  4. Refresh your browser's cache when done:
Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
Konqueror: simply click the Reload button, or press F5;
Opera users may need to completely clear their cache in Tools→Preferences.

Acknowledgment

This template and associated files are derived from Wikipedia's http://en.wikipedia.org/wiki/Template:Navpop.