Module:Succession table monarch/doc

< Module:Succession table monarch
Revision as of 02:03, 8 December 2022 by imported>Izno (add deps)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Succession table monarch

Template:Lua Implements Template:Succession table monarch

UsageEdit

Can be called from a page like: {{#invoke:Succession table monarch|fromFrame}}

or via the {{Succession table monarch}} template.

Also, the functions fromArray and fromArgs can be called from another module like so:

  • fromArray receives the full list of arguments of the template
  • fromArgs receives an array where each element is a table which contains the data of one monarch, each with the properties with the numbers removed (e.g. name instead of name1, image instead of image1