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

From blackwiki
Jump to navigation Jump to search
imported>ShakespeareFan00
imported>Frietjes
 
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 37: Line 39:
 
{{col-end}}
 
{{col-end}}
  
 
+
== Test 3 ==
== Test 3 ( Start and breaks on different lines) ==
+
Start and breaks and end on the same line
 
===Main template===
 
===Main template===
{{col-begin}}
+
{{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}}
{{col-break|width=50%}}
 
* Item 1
 
* Item 2
 
{{col-break|width=50%}}
 
* A
 
* B
 
{{col-end}}
 
 
===Sandbox template===
 
===Sandbox template===
{{col-begin}}
+
{{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}}
{{col-break/sandbox|width=50%}}
 
* Item 1
 
* Item 2
 
{{col-break/sandbox|width=50%}}
 
* A
 
* B
 
{{col-end}}
 

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