Jump to content

Module:TOCyears/doc

From Wikipedia, the free encyclopedia

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.