Munurin millum rættingarnar hjá "Module:TOC/doc"
Content deleted Content added
EileenSanda (kjak | íkøst) Stovnaði síðu við "This module implements various table of contents (TOC) templates. At the moment, it implements {{tl|TOCyears}} and {{tl|List TOC}}. == Usage == === Avaiable fu..." |
s Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html] |
||
Linja 31:
Load the module like this:
<
local mTOC = require('Module:TOC')
</syntaxhighlight>
You can then use the functions with the following syntax:
<
mTOC.func(args)
</syntaxhighlight>
"func" should be changed to one of the Lua function names in the table above. These all start with an underscore ("_"). The <var>args</var> variable is a table of arguments to be passed to the function. Please see the template documentation for available arguments.
|