-- module to turn a parameter list into a list of [[Dynkin diagram]] images.-- See the template documentation or any example for how it is used and works.localp={}functionp.Dynkin(frame)-- For calling from #invoke.localpframe=frame:getParent()localargs=pframe.argsreturnp._Dynkin(args)endfunctionp._Dynkin(args)-- For calling from other Lua modules.localbody='<span style="display:inline-block;">'-- create and start the output stringforv,xinipairs(args)do-- process params, ignoring any namesbody=body.."[[File:dyn-"..x..".png]]"-- write file for this parameterendbody=body.."</span>"-- finish output stringreturnbody-- return resultendreturnp