Template:Navbox/doc: Difference between revisions

Template page
(Created page with "{{Uses TemplateStyles|Navbox/style.css}} Shortcut template for making tables with Template:Navbox/style.css. Less flexible than just making the table yourself, but a bit...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{Navbox|
{{Navbox|
|width=100%
|marginTop=0.8rem
|borderWidth=2px 1px 0 1px
|heading1=Navbox heading
|heading1=Navbox heading
|links1={{Plainlist|
|links1={{Dotlist|
* [[Link 1.0]]
* [[Link 1.0]]
* [[Link 1.1]]}}
* [[Link 1.1]]}}
|heading2=Another heading
|heading2=Another heading
|links2={{Plainlist|
|links2=[[Link 2.0]], [[Link 2.1]]
* [[Link 2.0]]
* [[Link 2.1]]}}
|heading3=More headings
|heading3=More headings
|links3=[[Link 3]]
|links3=[[Link 3]]
Line 25: Line 26:


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

Latest revision as of 07:04, 6 July 2021

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