FANDOM


local p = {}
 
function p.archinfo(frame)
    x86 = mw.loadData('Module:Distro information/Architecture/X86')
    title = mw.title.getCurrentTitle().text or nil
 
    if x86[title] then
        architecture=string.format("* " .. x86[title])
    end
 
    if architecture then
        return frame:preprocess( architecture )
    else
        architecture=string.format("''no data available''")
        return frame:preprocess( architecture )
    end
 
 
end
 
return p
Community content is available under CC-BY-SA unless otherwise noted.