User:Jens Ingels/common.js

$.get( "?curid=2623&action=render", function( data ) { $( ".result" ).html( data );  console.log( data );  //alert( data ); });

//data.match(/{\[disp_name=\]}(.*){\[\|\]}/)[1];

$.get( "http://leagueoflegends.wikia.com/wiki/Template:Data_Lucian?action=raw", function( data ) { $( ".result" ).html( data );  data = data.match(/disp_name=(.*)\|/)[1];  alert( data ); });