Template:Navbox: Difference between revisions

From Know Islam
Jump to navigation Jump to search
(Created page with "<!-- Template:Navbox --> <div class="navbox" style="width:100%; background:#f9f9f9; border:1px solid #aaa;"> <div style="background:#d0d0d0; color:#000; text-align:center; font-weight:bold;"> {{{title|Title}}} </div> <table style="width:100%; border-collapse:collapse;"> {{{content}}} </table> </div> <noinclude>{{Documentation}}</noinclude>")
 
No edit summary
Tag: Reverted
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


Template loop detected: Template:Navbox

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

See Also



Template loop detected: Template:Navbox