Difference between revisions of "Module:Dynkin/doc"
MyWikiBiz, Author Your Legacy — Saturday September 06, 2025
Jump to navigationJump to search (Pywikibot 6.4.0) |
(No difference)
|
Latest revision as of 21:23, 15 July 2021
Template:Module rating This module implements the Dynkin diagram template, Template:Dynkin. It is invoked as
{{#invoke:Dynkin|Dynkin}}
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.
<syntaxhighlight lang="lua"> local Dynkin = require('Module:Dynkin')._Dynkin </syntaxhighlight>
You can then use it with the following syntax.
<syntaxhighlight lang="lua"> Dynkin{"node", "3", "node"} </syntaxhighlight>
See the template documentation for possible inputs.