Template:Navbox: Difference between revisions

From Know Islam
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 9: Line 9:
</div>
</div>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>
{{Navbox
|title=Test Navbox
|content=
{{Navbox/Row
|group=Group 1
|list=* Item 1
* Item 2
}}
{{Navbox/Row
|group=Group 2
|list=* Item A
* Item B
}}
}}

Revision as of 20:25, 26 July 2024

Usage

The Navbox template is used to create navigation boxes. These boxes can contain multiple rows with grouped content to help organize and navigate related pages.

Syntax

{{Navbox |title=Navbox Title |content= {{Navbox/Row |group=Group 1 |list=* Item 1 * Item 2 }} {{Navbox/Row |group=Group 2 |list=* Item A * Item B }} }}

Parameters

  • title: The title of the navbox.
  • content: The content of the navbox, usually composed of multiple `Navbox/Row` templates.

Navbox/Row Parameters

  • group: The group header for the row.
  • list: The list of items in the row.

Example


This example will render a navigation box with two groups and their respective lists.

See Also