Template:Sidebar/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Ganaram inukshuk (talk | contribs)
update documentation for navbar links
Line 16: Line 16:
; <code>float</code> (optional; default <code>right</code>)
; <code>float</code> (optional; default <code>right</code>)
: Determines where on the page the sidebar goes, such as left or right.
: Determines where on the page the sidebar goes, such as left or right.
; <code>name</code> (optional)
: The template's name, needed to create its view/talk/edit links.


== See also ==
== See also ==

Revision as of 05:30, 19 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.
name (optional)
The template's name, needed to create its view/talk/edit links.

See also