FANDOM


Code

You can put the following code in Template:NUMBEROFWIKIS

<span class="numberofwikis">NUMBEROFWIKIS</span>
Test

put the following code in the location bar of your browser and hit enter. You can put it directly in your monaco.js or whatever:

javascript:$($.getJSON("/api.php?action=query&list=wkdomains&wkcountonly=1&wkto=500000&format=json", function(json){$('.numberofwikis').text(json.query.wkdomains.count);}));void(0);
The following text should change if the script works

Currently there are NUMBEROFWIKIS wikis on Wikia.

You can place several {{NUMBEROFWIKIS}} templates per page: NUMBEROFWIKIS NUMBEROFWIKIS NUMBEROFWIKIS

Community content is available under CC-BY-SA unless otherwise noted.