Module:Dynkin/doc

This module implements the Dynkin diagram template, Template:Dynkin. It is invoked as


 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e;

though the parameter is ignored; instead it uses the parameters passed to the template. See the template documentation for how that is used.

For using this from other Lua modules, first load the module.

&#x3c;syntaxhighlight lang="lua"&#x3e; local Dynkin = require('Module:Dynkin')._Dynkin &#x3c;/syntaxhighlight&#x3e;

You can then use it with the following syntax.

&#x3c;syntaxhighlight lang="lua"&#x3e; Dynkin{"node", "3", "node"} &#x3c;/syntaxhighlight&#x3e;

See the template documentation for possible inputs.