Module:NameGenerator: Difference between revisions

removed trailing spaces and added real hyphenation
No edit summary
(removed trailing spaces and added real hyphenation)
Line 66: Line 66:
  heroname = heroname .. ((prefixes..infixes..postfixes):gsub("^%l", string.upper):gsub("-$", '')) .. ' '
  heroname = heroname .. ((prefixes..infixes..postfixes):gsub("^%l", string.upper):gsub("-$", '')) .. ' '
end
end
heroname = heroname:gsub("\s*$", '')
--[title template]--
--[title template]--
-- titletemplate=result[1]['TitleTemplate']
-- titletemplate=result[1]['TitleTemplate']