Jump to content

Module:Succession table monarch/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Izno (talk | contribs) at 01:03, 8 December 2022 (add deps). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Implements Template:Succession table monarch

Usage

[edit]

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