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

Content deleted Content added
Stovnaði síðu við "{{module rating|beta}} This module implements the {{tl|Subject bar}} template. Please don't use this module from an article or from another wiki page. You should use the..."
 
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 7:
Load the module like this:
 
<sourcesyntaxhighlight lang="lua">
local subjectBar = require('Module:Subject bar')._main
</syntaxhighlight>
</source>
 
Then you can use the <code>subjectBar</code> function like this:
 
<sourcesyntaxhighlight lang="lua">
local myBar = subjectBar{
book = 'Book 1',
Linja 27:
-- ...
}
</syntaxhighlight>
</source>
 
Please see [[Template:Subject bar/doc]] for a full list of possible parameters.