Template:Sidebar/doc: Difference between revisions
Jump to navigation
Jump to search
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.
| 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.
name(optional)- The template's name, needed to create its view/talk/edit links.
See also
- Category:Infoboxes, some of which use this template
- Template:Infobox, a similar template that for displaying information that requires two columns
