Template:Sidebar/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Created page with "{{dochead}}{{wikipedia}}{{lua}} '''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 == ; <code>Title</code> (recommended) : The title to display. ; <code>Header Row</code> and <code>Footer Row</code> (op..."
 
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 11: Line 11:
: Content to display in a header and/or footer row.
: Content to display in a header and/or footer row.


; <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.

Revision as of 20:22, 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)
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.