Template:Navbox: Difference between revisions

Template page
No edit summary
(add headings5)
 
Line 21: Line 21:
{{!}}-
{{!}}-
{{!}} {{{links4}}}
{{!}} {{{links4}}}
{{!}}-
}}
{{#if:{{{heading5|}}}|
! class="bg-grey-03" {{!}} {{{heading5}}}
{{!}}-
{{!}} {{{links5}}}
{{!}}-
{{!}}-
}}
}}
|}</includeonly><noinclude>{{documentation}}</noinclude>
|}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 13:19, 5 February 2024

Shortcut template for making tables with Template:Navbox/style.css. Less flexible than just making the table yourself, but a bit cleaner.

Usage

{{Navbox|
|width=100%
|marginTop=0.8rem
|borderWidth=2px 1px 0 1px
|heading1=Navbox heading
|links1={{Dotlist|
* [[Link 1.0]]
* [[Link 1.1]]}}
|heading2=Another heading
|links2=[[Link 2.0]], [[Link 2.1]]
|heading3=More headings
|links3=[[Link 3]]
|heading4=Last heading
|links4=[[Final link]]
}}

Example