Module:qay-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 35: Line 35:
local word = NAMESPACE == "Template" and "bahis" or parent_args.word or PAGENAME
local word = NAMESPACE == "Template" and "bahis" or parent_args.word or PAGENAME
local args = {}
local args = {}
local decl_type = NAMESPACE == "Template" and "in_c" or parent_args["decl"] or sub(genders[parent_args[1]],1,2) .. "_" .. detect_decl(word)   
local decl_type = NAMESPACE == "Template" and "in_c" or parent_args["decl"] or genders[parent_args[1]] .. "_" .. detect_decl(word)   
if not genders[g] then error("Unknown gender.") end
if not genders[g] then error("Unknown gender.") end

Navigation menu