Template:FormatName: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#lua:
{{#lua:
   name = stdin:match("[%S]+")
   name = stdin:match("[^. ]+")
   print(name)
   print(name)
|{{{1|foo}}}}}
|{{{1|foo}}}}}

Revision as of 08:00, 19 January 2010

{{#lua:

 name = stdin:match("[^. ]+")
 print(name)

|foo}}