816 bytes added
, 07:31, 16 July 2021
This module implements {{tl|TOCyears}}
== Usage ==
=== From wikitext ===
From wikitext this module should usually be used through {{tl|TOCyears}}. However, it is also possible to use it with the following syntax:
{{#invoke:TOC|years|''args''}}
See the documentation of {{tl|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>
<var>args</var> variable is a table of arguments to be passed to the function. Please see {{tl|TOCyears}} for available arguments.
<includeonly>{{sandbox other||
[[Category:TOC modules|Years]]
}}</includeonly>