-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
Difference between revisions of "Module:wikichip"
Line 1: | Line 1: | ||
local wikichip = {} | local wikichip = {} | ||
local chip = { | local chip = { | ||
− | + | result = nil, | |
valid = false | valid = false | ||
} | } | ||
Line 12: | Line 12: | ||
'|limit=1|mainlabel=page' | '|limit=1|mainlabel=page' | ||
) | ) | ||
− | |||
return chip | return chip | ||
+ | end | ||
+ | |||
+ | function chip.is_valid() | ||
+ | |||
end | end | ||
return wikichip | return wikichip |
Revision as of 19:28, 17 May 2017
Documentation for this module may be created at Module:wikichip/doc
local wikichip = {}
local chip = {
result = nil,
valid = false
}
function wikichip:new(name)
chip.result = mw.smw.getQueryResult(
'[[name::Core i3-7100]][[instance of::microprocessor]]' ..
'|?name' ..
'|?designer' ..
'|limit=1|mainlabel=page'
)
return chip
end
function chip.is_valid()
end
return wikichip