Difference between revisions of "Template:Col-break/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
 
==Test 1==
 
==Test 1==
 +
Start and breaks on different lines
 
===Main template===
 
===Main template===
 
{{col-begin}}
 
{{col-begin}}
Line 20: Line 21:
 
{{col-end}}
 
{{col-end}}
 
==Test 2==
 
==Test 2==
 +
Start and breaks on the same line
 
===Main template===
 
===Main template===
 
{{col-begin}}{{col-break|width=50%}}
 
{{col-begin}}{{col-break|width=50%}}
Line 36: Line 38:
 
* B
 
* B
 
{{col-end}}
 
{{col-end}}
 +
 +
== Test 3  ==
 +
Start and breaks and end on the same line
 +
===Main template===
 +
{{col-begin}}{{col-break|width=33.33%}}Item 1{{col-break|width=33.33%}}Item 2{{col-break|width=33.33%}}Item 3{{col-end}}
 +
===Sandbox template===
 +
{{col-begin}}{{col-break/sandbox|width=33.33%}}Item 1{{col-break/sandbox|width=33.33%}}Item 2{{col-break/sandbox|width=33.33%}}Item 3{{col-end/sandbox}}

Latest revision as of 20:35, 7 August 2018

Test 1

Start and breaks on different lines

Main template

Sandbox template

Test 2

Start and breaks on the same line

Main template

Sandbox template

Test 3

Start and breaks and end on the same line

Main template

Sandbox template