Template:FormatName: Difference between revisions

mNo edit summary
mNo 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.]+)", "%1<sub>%2</sub>" )
   name = string.gsub( name, "(%a)_([%d.]+)", "%1<sub>%2</sub>" )
   name = string.gsub( name, "(%a)^([%d.]+)", "%1<sup>%2</sup>" )
   name = string.gsub( name, "^([%d.]+)", "<sup>%1</sup>" )
---GREEK LETTERS---
---GREEK LETTERS---
   name = string.gsub (name, '([%a"]+)',  
   name = string.gsub (name, '([%a"]+)',  

Revision as of 07:23, 24 February 2010