Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Side box/doc: Difference between revisions

From Poets.Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
{{wikipedia|page name}}
{{wikipedia|page name}}
{{Module rating|protected}}
{{Module rating|protected}}
{{High-use}}
{{Lua|Module:Yesno}}
{{Lua|Module:Yesno}}
This module implements the {{tl|side box}} template.
This module implements the {{tl|side box}} template.

Latest revision as of 17:50, 9 April 2025

This page uses Creative Commons Licensed content from Wikipedia (view authors).

This module implements the {{side box}} template.

Usage from wikitext

This module cannot be used directly from wikitext. It can only be used through the {{side box}} template. Please see the template page for documentation.

Usage from Lua modules

To use this module from other Lua modules, first load the module.

local mSideBox = require('Module:Side box')

You can then generate a side box using the _main function.

mSideBox._main(args)

The args variable should be a table containing the arguments to pass to the module. To see the different arguments that can be specified and how they affect the module output, please refer to the {{side box}} template documentation.