Difference between revisions of "Template:Afc comment/testcases"
Jump to navigation
Jump to search
blackwiki>DESiegel m (typos in example) |
blackwiki>LittlePuppers (Add testcase for varying numbers of line breaks) |
||
| Line 13: | Line 13: | ||
This is a third, shorter, paragraph. | This is a third, shorter, paragraph. | ||
| + | |note|name3=value3|...}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Test4 - Varying numbers of spaces per paragraph | ||
| + | |This is a multi-paragraph comment. It is long enough to appear on multiple lines. It simulates what happens when a reviewer leaves a comment with several paragraphs. | ||
| + | |||
| + | This is a second paragraph fort the multi-paragraph comment. It is also long enough that it should wrap to a second line on most displays. It has two newlines before it. | ||
| + | This is a third, shorter, paragraph. It only has one newline before it. | ||
| + | |||
| + | This paragraph has two. | ||
| + | |||
| + | |||
| + | The paragraph has three. | ||
| + | |||
| + | |||
| + | |||
| + | This paragraph has four. | ||
|note|name3=value3|...}} | |note|name3=value3|...}} | ||
<!-- | <!-- | ||
Revision as of 19:57, 9 August 2020
| 42px | This is the template test cases page for the sandbox of Template:Afc comment. 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: |
| Test1 |
|---|
{{Afc comment|comment content|note|...|name3=value3}}
{{Afc comment}}
|
| Test2 |
|---|
{{Afc comment|comment content|note|...|name3=value3}}
{{Afc comment}}
|
| Test3 - Multi Par |
|---|
{{Afc comment|This is a multi-paragraph comment. It is long enough to appear on multiple lines. It simulates what happens when a reviewer leaves a comment with several paragraphs.
This is a second paragraph fort the multi-paragraph comment. It is also long enough that it should wrap to a second line on most displays.
This is a third, shorter, paragraph.
|note|...|name3=value3}}
{{Afc comment}}
|
| Test4 - Varying numbers of spaces per paragraph |
|---|
{{Afc comment|This is a multi-paragraph comment. It is long enough to appear on multiple lines. It simulates what happens when a reviewer leaves a comment with several paragraphs.
This is a second paragraph fort the multi-paragraph comment. It is also long enough that it should wrap to a second line on most displays. It has two newlines before it.
This is a third, shorter, paragraph. It only has one newline before it.
This paragraph has two.
The paragraph has three.
This paragraph has four.
|note|...|name3=value3}}
{{Afc comment}}
|