This is the template test cases page for the sandbox of Template:Usertalkback. 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: |
For each test code displayed:
- The current {{Usertalkback}} is used on the first line
- The sandbox {{Usertalkback/sandbox}} on the second line
An annotation explains the point of a given test case. General comments:
- The links can only be fully tested on an actual user page.
you=
andme=
do not have to be identical, it's tested this way to have 4 tests instead of 16 combinations.
{{Usertalkback}}
|
|
Regular version.
{{Usertalkback |you=talkback|me=talkback|runon=yes}}
If I have left you a message: please answer on your talk page, then place {{Talkback|your username}} on my talk. If you leave me a message: I will answer on my talk page, then place {{Talkback|Usertalkback}} on your talk.
Please click here to leave me a new message. |
If I left you a message: please answer on your talk page, then place {{Talkback|your username}} on my talk. If you leave me a message: I will answer on my talk page, then place {{Talkback|Usertalkback}} on your talk. Please click here to leave me a new message. |
Regular version. The bullets disappear and the three sentences become a runon text.
{{Usertalkback |you=notify|me=notify|icon=lang}}
|
|
Regular version. A regular-sized icon is inserted.
{{Usertalkback |you=watched|me=watched|icon=Wikipedia-logo-en.png|iconalt=Wikipedia, the free encyclopedia!}}
|
|
Regular version. An arbitrary image is inserted, with an arbitrary alt text and tooltip.
{{Usertalkback |you=other|me=other|icon=frag|iconsize1=20px|iconcell=valign=top}}
|
|
Regular version. Icon for fragmented discussion, reduced to small size, and aligned at the top of its column.
{{Usertalkback |small=yes}}
|
|
Small version. The following text should flow next to the floating boxes.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
{{Usertalkback |small=yes|you=talkback|me=talkback|runon=yes}}
If I have left you a message: please answer on your talk page, then place {{Talkback|your username}} on my talk. If you leave me a message: I will answer on my talk page, then place {{Talkback|Usertalkback}} on your talk.
Please click here to leave me a new message. |
If I left you a message: please answer on your talk page, then place {{Talkback|your username}} on my talk. If you leave me a message: I will answer on my talk page, then place {{Talkback|Usertalkback}} on your talk. Please click here to leave me a new message. |
Small version. The bullets disappear and the three sentences become a runon text. The following text should flow next to the floating boxes.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
{{Usertalkback |small=yes|you=notify|me=notify|icon=lang|iconcell=valign=bottom}}
|
|
Small version. A small-sized icon is inserted, and aligned at the bottom of its column. The following text should flow next to the floating boxes.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
{{Usertalkback |small=yes|you=watched|me=watched|icon=Wikipedia-logo-en.png|iconalt=Wikipedia, the free encyclopedia!|iconcell=valign=top}}
|
|
Small version. An arbitrary image is inserted, with an arbitrary alt text and tooltip. The following text should flow next to the floating boxes.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
{{Usertalkback |small=yes|you=other|me=other|runon=yes|icon=frag|iconsize2=60px}}
If I have left you a message: please answer on my talk page, else inform me. If you leave me a message: I will answer on your talk page, unless you request otherwise. Please click here to leave me a new message. |
If I left you a message: please answer on my talk page, else inform me. If you leave me a message: I will answer on your talk page, unless you request otherwise. Please click here to leave me a new message. |
Small version. The bullets disappear and the three sentences become a runon text. Icon for fragmented discussion, enlarged to a big size. The following text should flow next to the floating boxes.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
{{Usertalkback |you=watched|hidenew=yes}}
|
|
- Regular version for putting into your User:NAME/editintro. The "leave new message" line is hidden since it will be displayed above the inputbox for someone who is already leaving a new message.
- For testing the /editintro autodetection, you need to test the template on a "Show preview" edit of your own talk page (and user page).
{{Usertalkback |editintro=TestABC123}}
|
|
{{Usertalkback|hint=yes}}
|
|
{{Usertalkback|you=watchtb|me=watchtb}}
|
|
- Proposed change to add an option to the
you=
andme=
to include the option to request a talkback after some time has passed.
{{Usertalkback|you=notifications|me=notifications}}
|
|
- Proposed change to add an option to the
you=
andme=
to include the option just to .