Template:AfC comment/testcases
Appearance
This is the template test cases page for the sandbox of Template:AfC comment. 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 and parsers with these links: |
Test1
{{AfC comment|comment content – [[User:Wbm1058|wbm1058]] ([[User talk:Wbm1058|talk]]) 02:15, 2 February 2021 (UTC)}}
{{AfC comment}}
Test2 – Report error when parameter 1 is defined but null
{{AfC comment|}}
{{AfC comment}}
- Comment: Error: There was no comment detected! Please follow the instructions at Template:AfC comment.
- Comment: Error: There was no comment detected! Please follow the instructions at Template:AfC comment.
Test3 – Multi 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. This is a third, shorter, paragraph. }}
{{AfC comment}}
- 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.
- 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.
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. }}
{{AfC comment}}
- 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.
- 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.
Test5 – Embedded list
{{AfC comment|This test has an embedded, indented list: ::#List item #1 ::#List item #2 ::#List item #3}}
{{AfC comment}}
- Comment: This test has an embedded, indented list: ::#List item #1::#List item #2::#List item #3
- Comment: This test has an embedded, indented list: ::#List item #1::#List item #2::#List item #3
{{AfC comment|1={{source assess table|user=LittlePuppers|startopen=Yes| {{source assess|https://wingedpig.com/2014/09/23/introducing-groups.io/|i=n|ij=personal blog of creator|r=n|s=y}} {{source assess|https://www.similarweb.com/website/groups.io/#traffic|i=y|r=?|s=n|sj=automatically generated for any website}} {{source assess|https://lifehacker.com/drop-google-and-facebook-groups-and-use-this-instead-1823994067|i=y|s=y|r=y|rj=probably}} {{source assess|1=https://play.google.com/store/apps/details?id=io.groups.webapp&hl=en_AU&gl=US|i=n|s=|r=}} {{source assess|https://apps.apple.com/us/app/groups-io-app/id1553820507|i=n|s=|r=}} {{source assess|https://medium.com/a-future-together/groups-io-a-modern-take-on-google-groups-83dd0a007b84|i=y|s=y|r=n|rj=probably not, appears to be a blog}} {{source assess|https://confluence.linuxfoundation.org/display/ITKB/Groups.io|i=y|s=?|r=?|rj=volunteer-written but at least somewhat official|sj=seems to be mostly just documentation that "we use this thing"}} {{source assess|https://www.similarweb.com/website/groups.io/#outgoing-links|i=y|s=n|sj=automatically generated|r=?}} }} [[User:LittlePuppers|LittlePuppers]] ([[User talk:LittlePuppers|talk]]) 01:05, 2 November 2023 (UTC)}}
{{AfC comment}}
- Comment:
- Comment: