Munurin millum rættingarnar hjá "Module:Su/doc"

Content deleted Content added
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..."
 
Xqbot (kjak | íkøst)
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.
 
<sourcesyntaxhighlight lang="lua">
local mSu = require('Module:Su')
</syntaxhighlight>
</source>
 
You can then generate the su links by using the _main function.
 
<sourcesyntaxhighlight lang="lua">
mSu._main(sup, sub, options)
</syntaxhighlight>
</source>
 
<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: