Template:Sidebar/doc: Difference between revisions
Jump to navigation
Jump to search
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.
| This template has been deprecated. Its replacements are Template:Dochead and Template:Module introspection. |
| This template uses 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
Title(recommended; defaultSidebar Title)- The title to display.
Header RowandFooter 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; defaultright)- Determines where on the page the sidebar goes, such as left or right.
