Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 28: Line 28:


function export.detect_decl(word, number, class)
function export.detect_decl(word, number, class)
local word = mw.title.getCurrentTitle().text
if number and class then
if number and class then
local decl = number .. "-" .. class
local decl = number .. "-" .. class