-- module to turn a parameter list into a list of [[Coxeter–Dynkin diagram]] images.-- See the template documentation or any example for how it is used and works.localp={}functionp.CDD(frame)-- For calling from #invoke.localpframe=frame:getParent()localargs=pframe.argsreturnp._CDD(args)endfunctionp._CDD(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 namesif(x~='')then-- check for null/empty namesbody=body.."[[File:CDel_"..x..".png|link=]]"-- write file for this parameterendendbody=body.."</span>"-- finish output stringreturnbody-- return resultendreturnp