Template:FormatName: Difference between revisions
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
name = string.gsub( name, "([%a ])^{([%d.,%a]+)}", "%1<sup>%2</sup>" ) | name = string.gsub( name, "([%a ])^{([%d.,%a]+)}", "%1<sup>%2</sup>" ) | ||
name = string.gsub( name, "([%a ])_([D%d.]+)", "%1<sub>%2</sub>" ) | name = string.gsub( name, "([%a ])_([D%d.]+)", "%1<sub>%2</sub>" ) | ||
name = string.gsub( name, "([%a ])^([%d.]+)", "%1<sup>%2</sup>" ) | name = string.gsub( name, "([%a ])^([D%d.]+)", "%1<sup>%2</sup>" ) | ||
---GREEK LETTERS--- | ---GREEK LETTERS--- | ||
name = string.gsub (name, '([%a"]+)', | name = string.gsub (name, '([%a"]+)', |