|
|
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}}
Row/colspan tests |
---|
|
Col1Header | Col3Header | Col4Header | Col7Header | | | | | | | | |
|
|
{{Navbox with columns/sandbox}}
Row/colspan tests |
---|
|
Col1Header | Col3Header | Col4Header | Col7Header | | | | | | | | |
|
|
Subgroups with nesting
{{Navbox with columns}}
Subgroups with nesting |
---|
|
Col1Header | Col2Header | Col3Header | Col4Header | |
| |
Col3.1Header | Col3.2Header | Col3.3Header | | | | |
|
| |
|
|
{{Navbox with columns/sandbox}}
Subgroups with nesting |
---|
|
Col1Header | Col2Header | Col3Header | Col4Header | |
| |
Col3.1Header | Col3.2Header | Col3.3Header | | | | |
|
| |
|
|
colclass, colbodyclass, colNbodyclass tests