From WikiChip
Module:wikichip
Revision as of 19:07, 17 May 2017 by ChipIt (talk | contribs) (Created page with "local wikichip = {} local chip = { valid = false } function chip.new(name) chip.result = mw.smw.getQueryResult( 'name::Core i3-7100[[instance of::microprocesso...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:wikichip/doc

local wikichip = {}
local chip = {
  
  valid = false
}

function chip.new(name)
	chip.result = mw.smw.getQueryResult(
    	'[[name::Core i3-7100]][[instance of::microprocessor]]' ..
    	'|?name' ..
    	'|?designer' ..
    	'|limit=1|mainlabel=page'
    )
    
    return chip
end

return wikichip