Difference between revisions of "User:Mark Hershberger/vector.js"

From mwstake
Jump to: navigation, search
(Blanked the page)
(Tag: Blanking)
 
Line 1: Line 1:
  
// Transform raw data into a query string
 
// @param {array} printouts - example: ['?Capital of', '?Population']
 
// @param {object} parameters - example: {'limit': 10'}
 
// @param {array|string} conditions - example: ['[[Category:Cities]]']
 
var query = new smw.api( "?Date", {'limit':1, "order":"descending"}, '[[Category:Events]]' ).toString();
 
console.log(query);
 

Latest revision as of 14:28, 15 August 2019