Module:User:Theknightwho/get header/1

return {tonumber(mw.getCurrentFrame:preprocess("=a="):match("[0-9A-F]+"))}