MyWikiBiz, Author Your Legacy — Friday October 31, 2025
Jump to navigationJump to search
	
	
	
		920 bytes added
	
		,  07:28, 16 July 2021
	
 
{{module rating|beta}}
{{high use}}
{{uses TemplateStyles|Template:Subject bar/styles.css}}
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 {{tl|Subject bar}} template instead. To use the module from another Lua module, read on. 
== Use from another Lua module ==
Load the module like this:
<syntaxhighlight lang="lua">
local subjectBar = require('Module:Subject bar')._main
</syntaxhighlight>
Then you can use the <code>subjectBar</code> function like this:
<syntaxhighlight lang="lua">
local myBar = subjectBar{
    portal = 'Portal 1',
    portal2 = 'Portal 2',
    -- ...
    commons = true,
    commons-search = 'Commons search string',
    wikt = true,
    wikt-search = 'Wiktionary search string'
    -- ...
}
</syntaxhighlight>
Please see [[Template:Subject bar/doc]] for a full list of possible parameters.