8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 37: | Line 37: | ||
["parentterm"] = pronouns[pronoun]["parentterm"] or genders[gender]["parentterm"] | ["parentterm"] = pronouns[pronoun]["parentterm"] or genders[gender]["parentterm"] | ||
} | } | ||
local bmakeplural = false | |||
parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | ||
for a, b, c in string.gmatch(f, "(%w*)[:%.]?(['%w]*)(:?%w*)") do | for a, b, c in string.gmatch(f, "(%w*)[:%.]?(['%w]*)(:?%w*)") do | ||
if b == nil or b == "" then | if b == nil or b == "" then | ||
Line 118: | Line 117: | ||
function p.test() | function p.test() | ||
text="=pluralize= | text="=pluralize==pronouns.personTerm=" | ||
gender = "male" | gender = "male" | ||
pronoun = "" | pronoun = "" |