MediaWiki:Minerva.js: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "→‎All JavaScript here will be loaded for users of the MinervaNeue skin: →‎Multi-navbox title: $(function() { $('.navbox-header + section + .navbox-header > .mw-headlin...")
 
No edit summary
Line 1: Line 1:
/* All JavaScript here will be loaded for users of the MinervaNeue skin */
/* All JavaScript here will be loaded for users of the MinervaNeue skin */


/* Multi-navbox title */
/* Multiple navbox sections */
$(function() {
$(function() {
$('.navbox-header + section + .navbox-header > .mw-headline').text('More links');
$('.navbox-heading + section + .navbox-heading > .mw-headline').text('More links');
$('.navbox-heading + section + .navbox-heading + section + .navbox-heading > .mw-headline').text('Additional links');
});
});

Revision as of 16:10, April 10, 2021

/* All JavaScript here will be loaded for users of the MinervaNeue skin */

/* Multiple navbox sections */
$(function() {
	$('.navbox-heading + section + .navbox-heading > .mw-headline').text('More links');
	$('.navbox-heading + section + .navbox-heading + section + .navbox-heading > .mw-headline').text('Additional links');
});