MediaWiki:Common.js/ChampionInfo.js

var group = $('.pi-theme-championinfobox [data-damage-value]').closest('.pi-group'), keys = ['damage', 'toughness', 'control', 'mobility', 'utility'], vals = []; if(group.length === 0) return; keys.forEach(function(x) {		var span = group.find('[data-' + x + '-value]');		vals.push(Math.max(0, Math.min(3, parseInt(span.data(x + '-value'), 10) || 0)));   }); console.log(vals); var svg = createStatWheel(vals);
 * (function {

var bar = $('  ') bar.attr('data-value', Math.max(0, Math.min(3, parseInt(group.find('[data-difficulty-value]').data('difficulty-value'), 10) || 0)));

group.empty.append(svg).append(' Difficulty ').append(bar); });