Wikipedia:Expand Hidden Templates
This script now only works in Internet Explorer. |
Expand Hidden Templates (source code) is a script that adds a link to the toolbox in the left-hand panel called "Expand templates". When clicked on, it expands all hidden templates, including {{hidden}}, {{hidden archive top}}, and their derivatives. After expanding the templates, the link in the toolbox can then be used to collapse all hidden templates again.
Installation
editTo enable this script, go to your skin.js, edit the page, and add the following line to it:
importScript('User:Gary/expand hidden templates.js'); // [[User:Gary/expand hidden templates.js]]
Settings
editTo make the script add its link to somewhere else besides the "toolbox", add one of the following to your skin.js:
- Add a tab to the top of the page
expandHiddenTemplates = {};
expandHiddenTemplates.addTab = true;
- Add a link to the navigation panel in the left-hand column
expandHiddenTemplates = {};
expandHiddenTemplates.addToNavigation = true;