Difference between revisions of "Template:Col-break/testcases"
Jump to navigation
Jump to search
imported>ShakespeareFan00 (→Test 2) |
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 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= | ||
| − | |||
| − | |||
| − | {{col-break|width= | ||
| − | |||
| − | |||
| − | {{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= | ||
| − | |||
| − | |||
| − | {{col-break/sandbox|width= | ||
| − | |||
| − | |||
| − | {{col-end}} | ||
Latest revision as of 20:35, 7 August 2018
| 42px | This is the template test cases page for the sandbox of Template:Col-break. Script error: No such module "Purge". 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. You can test how this page looks in the different skins with these links: |
Contents
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
| Item 1 | Item 2 | Item 3 |
Sandbox template
| Item 1 | Item 2 | Item 3 |