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

36 bytes løgd afturat ,  7 mánaðir síðan
s
Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
(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...")
 
s (Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
 
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',
-- ...
}
</syntaxhighlight>
</source>
 
Please see [[Template:Subject bar/doc]] for a full list of possible parameters.
14.816

rættingar