Difference between revisions of "Template:Afc comment/testcases"
Jump to navigation
Jump to search
blackwiki>LittlePuppers (Add testcase for varying numbers of line breaks) |
m (7 revisions imported) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 10: | Line 10: | ||
|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 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 | + | This is a second paragraph for 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. | This is a third, shorter, paragraph. | ||
| Line 18: | Line 18: | ||
|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 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 | + | This is a second paragraph for 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 is a third, shorter, paragraph. It only has one newline before it. | ||
Latest revision as of 11:00, 18 October 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 for 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 for 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}}
|