Module:Dynkin/doc

From IxWiki
Revision as of 11:26, 7 July 2020 by wp>WOSlinker (change source to syntaxhighlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Dynkin

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.

local Dynkin = require('Module:Dynkin')._Dynkin

You can then use it with the following syntax.

Dynkin{"node", "3", "node"}

See the template documentation for possible inputs.