Munurin millum rættingarnar hjá "Module:Su/doc"
Content deleted Content added
EileenSanda (kjak | íkøst) Stovnaði síðu við "This module implements the {{tl|su}} template. It is used to create two smaller lines of text on one actual line. == Usage from wikitext == This module cannot be used di..." |
s Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html] |
||
Linja 9:
To use this module from other Lua modules, first load the module.
<
local mSu = require('Module:Su')
</syntaxhighlight>
You can then generate the su links by using the _main function.
<
mSu._main(sup, sub, options)
</syntaxhighlight>
<var>sup</var> is the contents of the top line, and <var>sub</var> is the contents of the bottom line. <var>options</var> is a table that can contain the following fields:
|