Jump to content

Module:TOCyears/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by JJMC89 bot III (talk | contribs) at 20:49, 8 February 2023 (Moving Category:TOC modules to Category:Wikipedia table of contents modules per Wikipedia:Categories for discussion/Speedy). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This module implements {{TOCyears}}

Usage

[edit]

From wikitext

[edit]

From wikitext this module should usually be used through {{TOCyears}}. However, it is also possible to use it with the following syntax:

{{#invoke:TOC|years|args}}

See the documentation of {{TOCyears}} for available parameters.

From Lua

[edit]

Load the module like this:

local mTOCyears = require('Module:TOCyears')

You can then use it with the following syntax:

mTOCyears._years(args)

args variable is a table of arguments to be passed to the function. Please see {{TOCyears}} for available arguments.