Changes

Jump to navigation Jump to search
142 bytes added ,  00:03, 17 April 2020
no edit summary
/* Class Code */
(function () {
class function colorContent { constructor(text, color) { this var obj = {}; obj.text = text; this obj.color = color; } get obj.xpath() { return = "//td[contains(text(),'" + this.text + "')]"; }return obj;
}
/* Active Code */
if (mw.config.get('wgPageName') === 'Mobile_Suits') {
var colorList = [
new ColorContentcolorContent('Super High Tensile Steel', '#7b9095'), colorContent('x Titanium Alloy','#067da1'), colorContent('x Luna Titanium Alloy','#0799c5')
]
for(var i = 0; i < colorList.forEach((length; i++) { var colorElement) => {colorList[i];
var y = document.evaluate(
colorElement.xpath,
x.style.color = colorElement.color
}
})
}
}());
EFF, ZEON, approveduser, Bureaucrats, Interface administrators, Administrators, uploadaccess
836

edits

Navigation menu