Template:Sidebar/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Ganaram inukshuk (talk | contribs)
No edit summary
Line 13: Line 13:
; <code>Row ''N''</code> (optional)
; <code>Row ''N''</code> (optional)
: Text for a single row. Up to 20 rows are supported using the template.
: Text for a single row. Up to 20 rows are supported using the template.
; <code>float</code> (optional; default <code>right</code>)
: Determines where on the page the sidebar goes, such as left or right.

Revision as of 21:32, 15 October 2025

This template is implemented by the Lua module Module:Sidebar.
This template invokes the following functions: sidebar from Sidebar.
English Wikipedia has an article on:

Template:Sidebar is intended as a meta-template (a template used to construct other templates), used to build simple infoboxes and information-containing panels.

Note that the infobox and sidebar are two different styles, and that the sidebar only supports one column, not two.

Parameters

Title (recommended; default Sidebar Title)
The title to display.
Header Row and Footer Row (optional)
Content to display in a header and/or footer row.
Row N (optional)
Text for a single row. Up to 20 rows are supported using the template.
float (optional; default right)
Determines where on the page the sidebar goes, such as left or right.