Template:Navbox/testcases
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This is the template test cases page for the sandbox of Template:Navbox. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. |
These all use the {{sandbox version}} of the {{Navbox}} (and subsequently {{Navbar}}) code; please ensure that all of them look correct here before saving sandbox tests to the live template.
Additional test cases from Wikipedia are included, but disabled using {{Void}}, as they link heavily to Wikipedia content. They are left in, but disabled, for convenient access to them when making significant changes to the template. They provide a wide range of test cases for occasional use. Please do not save the testcase template with them enabled, only use them with MediaWiki's "Show Preview" functionality.
Contents
[hide]- 1 Kerbal Space Program Wiki tests
- 2 Basic tests
- 3 Subgroup tests
- 4 Container tests
- 5 Style tests
- 6 Group width tests
- 7 Navbar and state tests
- 8 Titlegroup tests
- 9 Missing parameter tests
- 10 Row striping tests
- 11 Additional tests
- 12 Using Navbox with columns / Navbox with collapsible groups
- 13 Span hack
- 14 Lists with in-list images
- 15 Horizontal/plain lists
- 16 Gradient
Kerbal Space Program Wiki tests
{{Demo parts}}
{{Navbox}}
|
{{Navbox/sandbox}}
|
{{Parts}}
{{Navbox}}
|
{{Navbox/sandbox}}
|
{{Stock craft}}
{{Navbox}}
|
{{Navbox/sandbox}}
|
{{Versions}}
{{Navbox}}
|
{{Navbox/sandbox}}
|
Basic tests
|
|
|
|
|
|
|
|
|
|
Subgroup tests
|
|
|
|
|
|
|
Container tests
|
|
Style tests
|
|
|
Group width tests
|
|
|
|
|
Using new groupwidth parameter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Titlegroup tests
|
|
Missing parameter tests
|
|
|
|
|
|
Row striping tests
|
|
Additional tests
- Test margin with references
- Second reference
- Third reference
|
[Collapse]
"border = none" | |
---|---|
Above | |
Group1 |
List1 |
Group2 |
List2 |
Group3 |
List3 |
Below |
|
|
|
|
Span hack
Lists with in-list images
|
|
Horizontal/plain lists
|