Difference between revisions of "Template:Navbox with columns/testcases"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Import from Wikipedia (CC BY-SA license), with the link heavy examples disabled using {{Void}})
 
m (''colclass'', ''colbodyclass'', ''colNbodyclass'' tests section removed, as they only apply to the WP sandbox version)
Line 454: Line 454:
 
}}
 
}}
 
== ''colclass'', ''colbodyclass'', ''colNbodyclass'' tests ==
 
== ''colclass'', ''colbodyclass'', ''colNbodyclass'' tests ==
 
: ''colclass'' {{big|≡}} ''listclass'' and should affect all colheaders/footers as well as all cols' contents (all "colbodies")?
 
: ''colbodyclass'' should only affect all cols' contents (colbodies), not any colheaders/footers.
 
: ''colNbodyclass'' should only affect col ''N''{{'}}s contents (its body).
 
 
 
{{tlx|Navbox with columns/sandbox}}
 
 
{{clear}}
 
 
{{Navbox with columns/sandbox
 
| title = ''colclass'' = hlist
 
| state = uncollapsed
 
 
| colclass = hlist
 
 
| col1header =
 
* item
 
* item
 
| col1 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col1footer =
 
* item
 
* item
 
 
| col2header =
 
* item
 
| col2 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col2footer =
 
* item
 
 
| col3header = Plain text
 
| col3 =
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
| col3footer =
 
Plain text
 
}}
 
 
 
{{Navbox with columns/sandbox
 
| title = ''colbodyclass'' = hlist
 
| state = uncollapsed
 
 
| colbodyclass = hlist
 
 
| col1header =
 
* item
 
* item
 
| col1 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col1footer =
 
* item
 
* item
 
 
| col2header =
 
* item
 
| col2 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col2footer =
 
* item
 
 
| col3header = Plain text
 
| col3 =
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
| col3footer =
 
Plain text
 
}}
 
 
 
{{Navbox with columns/sandbox
 
| title = ''col3bodyclass'' = hlist
 
| state = uncollapsed
 
 
| col1header =
 
* item
 
* item
 
| col1 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col1footer =
 
* item
 
* item
 
 
| col2header =
 
* item
 
| col2 =
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
* item
 
| col2footer =
 
* item
 
 
| col3header = Plain text
 
| col3bodyclass = hlist
 
| col3 =
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
* item
 
* item
 
Plain text
 
* item
 
* item
 
| col3footer =
 
Plain text
 
}}
 

Revision as of 19:08, 2 June 2015

This is a page for testing the sandbox version of {{Navbox with columns}}. Any changes to the template should be tested in the sandbox and verified here before going live.

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.

Template:TOC limit

Basic tests

Row/colspan

{{Navbox with columns}}


{{Navbox with columns/sandbox}}


Subgroups with nesting

{{Navbox with columns}}


{{Navbox with columns/sandbox}}



colclass, colbodyclass, colNbodyclass tests