User:Frietjes/infoboxgap

From Wikipedia, the free encyclopedia

User:Frietjes/infoboxgap.js is a user script that assists in renumbering infobox labels/data/classes, so that a new line can be inserted in the middle of the infobox.

Usage[edit]

To install, add the following to Special:MyPage/common.js:

importScript('User:Frietjes/infoboxgap.js'); // Backlink: [[User:Frietjes/infoboxgap.js]]

When editing an infobox, "infobox gap" and "infobox renumber" will appear in the left sidebar tools section. Click infobox gap to insert a numbering gap at a specified place (typically so you can add a new parameter there), and "infobox renumber" to renumber the infobox to remove all numbering gaps.

Limitations[edit]

  • This script does not work with some gadgets like wikEd.
  • When there are multiple infoboxes on the same page (e.g., embedded sub-boxes) the script will gap both boxes.