RogerDodger (talk | contribs) No edit summary |
RogerDodger (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
{{#if:{{{heading2|}}}| | {{#if:{{{heading2|}}}| | ||
! class="bg-grey-03" {{!}} {{{heading2}}} | ! class="bg-grey-03" {{!}} {{{heading2}}} | ||
{{!}}- | |||
{{!}} {{{links2}}} | {{!}} {{{links2}}} | ||
{{!}}- | {{!}}- | ||
Line 13: | Line 14: | ||
{{#if:{{{heading3|}}}| | {{#if:{{{heading3|}}}| | ||
! class="bg-grey-03" {{!}} {{{heading3}}} | ! class="bg-grey-03" {{!}} {{{heading3}}} | ||
{{!}}- | |||
{{!}} {{{links3}}} | {{!}} {{{links3}}} | ||
{{!}}- | {{!}}- | ||
Line 18: | Line 20: | ||
{{#if:{{{heading4|}}}| | {{#if:{{{heading4|}}}| | ||
! class="bg-grey-03" {{!}} {{{heading4}}} | ! class="bg-grey-03" {{!}} {{{heading4}}} | ||
{{!}}- | |||
{{!}} {{{links4}}} | {{!}} {{{links4}}} | ||
{{!}}- | {{!}}- |
Revision as of 03:42, 3 July 2021
This template uses TemplateStyles: | |
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
- The above documentation is from Template:Navbox/doc
- Editors should experiment in this template’s sandbox and testcases pages