Module:qhv-adj: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
local m_utils = require("Module:utilities")
local m_utils = require("Module:utilities")
local m_data = require('Module:qhv-adj/data')
local m_data = require('Module:qhv-adj/data')
local PAGENAME = mw.title.getCurrentTitle().text
local PAGENAME = gsub(mw.title.getCurrentTitle().text, "%s", " ")
local NAMESPACE = mw.title.getCurrentTitle().nsText
local NAMESPACE = mw.title.getCurrentTitle().nsText


Line 67: Line 67:
data.head = parent_args["head"] or nil
data.head = parent_args["head"] or nil
data.no_cat = parent_args["nocat"] or nil
data.no_cat = parent_args["nocat"] or parent_args["det"] or nil
-- Generate the forms
-- Generate the forms