Allow searching dex number with /data

Actually, let's leave this alone; I'll optimize `getTemplate` later.