45,647
edits
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
local decl = {} | local decl = {} | ||
local g = NAMESPACE == "Template" and "in" or parent_args[1] or parent_args["g"] | local g = NAMESPACE == "Template" and "in" or parent_args[1] or parent_args["g"] | ||
local word = NAMESPACE == "Template" and "bahis" or parent_args | 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 sub(genders[parent_args[1]],1,2) .. "_" .. detect_decl(word) or parent_args["decl"] | local decl_type = NAMESPACE == "Template" and "in_c" or sub(genders[parent_args[1]],1,2) .. "_" .. detect_decl(word) or parent_args["decl"] |