User:Eejit43/scripts/aligner


User script
aligner
DescriptionUser script to align infobox template parameters
Author(s)Eejit43, Taavi
First releasedJanuary 2, 2023; 20 months ago (2023-01-02)
UpdatedAugust 22, 2024; 31 days ago (2024-08-22)
BrowsersTested on Chromium
Skins
SourceUser:Eejit43/scripts/aligner.js
GitHub repositoryaligner.ts

This user script is a fork of Taavi's script, and adds the ability to align infobox (and similar) templates parameters (using a link in the "More"/"Tools" menu).

Recent notable changes

For a more detailed changelog, see the script's GitHub commit history.

  • March 11, 2024; 6 months ago (2024-03-11):
    • Only show link in edit mode.
    • Prevent cursor from jumping to the end of text on click.

Installation

Simple

Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced →   Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.

Manual

Add the following to your common.js (or a skin specific JavaScript page):

{{subst:install user script|User:Eejit43/scripts/aligner.js}}

Comments/bug reports

Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.