Jump to content

Module:Succession table monarch/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Andrei Stroe (talk | contribs) at 14:23, 16 August 2017 (Created page with '{{Module rating |beta<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} <...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Implements Template:Succession table monarch

Usage

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