Module:TOCyears/doc
MyWikiBiz, Author Your Legacy — Saturday January 04, 2025
Jump to navigationJump to searchThis is the documentation page for Module:TOCyears
This module implements {{TOCyears}}
Usage
From wikitext
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
Load the module like this:
<syntaxhighlight lang="lua"> local mTOCyears = require('Module:TOCyears') </syntaxhighlight>
You can then use it with the following syntax:
<syntaxhighlight lang="lua"> mTOCyears._years(args) </syntaxhighlight>
args variable is a table of arguments to be passed to the function. Please see {{TOCyears}} for available arguments.