Module:Sandbox/User:Alsang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
p = {}
p = {}

p.query = '[[Category:Guardian Equipment]] AND [[Variant type::~*]] AND [[Category:Armorer]]|?#-=name|limit=500'


function p.main()
function p.main()

local results = mw.smw.ask(p.query)
local query = '[[Category:Guardian Equipment]] AND [[Variant type::~*]]|?#-=name|limit=500'
local results = mw.smw.ask(query)
local out = mw.html.create('table')
local out = mw.html.create('table')
Line 40: Line 41:
function p.main2()
function p.main2()
local results = mw.smw.ask(p.query)
local query = '[[Category:Guardian Equipment]] AND [[Variant type::~*]]|?#-=name|limit=500'
local results = mw.smw.ask(query)
local out = mw.html.create('table')
local out = mw.html.create('table')
Line 81: Line 80:
function p.main3()
function p.main3()
local results = mw.smw.ask(p.query)
local query = '[[Category:Guardian Equipment]] AND [[Variant type::~*]]|?#-=name|limit=500'
local results = mw.smw.ask(query)
local out = mw.html.create('table')
local out = mw.html.create('table')