User:Gardimuer/monobook.js

/* Title rewrite * Rewrites the page's title and can change alignment, see Template:Title * Originally by Sikon, this version (jQuery) by Joeyaa */

var newTitle = $('#TitleRewrite').text; if ( document.getElementById('TitleRewrite') && newTitle != '' ) { $('.firstHeading').html(newTitle); } var newAlign = $('#TitleFloat').text; if ( document.getElementById('TitleFloat') ) { $('.firstHeading').css('text-align',newAlign); }