local p =
function p.main(frame) local retval = ""; local thispage = mw.title.getCurrentTitle local pagename = thispage.text; local title_prefix, title_county, title_suffix = string.match(pagename, "(.*)(County %a+)(.*)")
retval = retval .. "\n* pagename = [" .. pagename .. "]" retval = retval .. "\n** title_prefix = [" .. title_prefix .. "]" retval = retval .. "\n** title_county = [" .. title_county .. "]" retval = retval .. "\n** title_suffix = [" .. title_suffix .. "]"
return retvalend
return p