Template:Find sources/top proj/testcases
This is the template test cases page for the sandbox of Template:Find sources/top proj. 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: |
Introduction and set-up
[edit]Details of how to set up and run these tests
|
---|
This introductory section does not include any specific test case; it explains how to run the test cases that follow. These tests depend on using the WikiProjects listed in the Talk header template at the top of an article page, and so they cannot be tested in the normal way on this testcases page. The test cases can be performed in two ways:
In each case, the appropriate article means, an article Talkl page which has (or lacks, depending on the sense of the test) the appropriate WikiProject listings. The individual "test cases" below, rather than executing a test, simply provide a list of appropriate articles that may be plugged into the tests described here. The easier method of the two is probably to use ExpandTemplates:
Example: to perform test B-1, choose an article from the B-1 list, and do this:
{{Find sources/top proj}} ---- {{Find sources/top proj/sandbox}}
The other method is an in situ test. All of the 'tests in this section may be performed in situ after the following set-up:
Any article Talk page with the correct header and projects may be used for this; the lists in the Test cases defined below contains some suggested Talk pages with the correct WikiProjects on them to perform the test case. After viewing the test case result in Preview mode on the page, cancel out and do not save the altered page. |
Smoke test
[edit]t.b.a.
B. Medical articles
[edit]- This test may be performed using ExpandTemplates or in situ testing; see #Introduction and set-up.
- These test cases represent articles that contain the code '{{WikiProject Medicine'.
- Expected result: these test cases should return the token
medicine
.
- These test cases represent articles that do not contain the code '
{{WikiProject Medicine
'; rather, they include the Medicine project via one of the redirects..
List of redirects to WP:WikiProject Medicine, and transclusions to them from Talk space
|
---|
|
Test cases B-2a through B-2j covering ten redirects of Wikiproject Medicine
| ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
C. Video game articles
[edit]This section is empty. You can help by adding to it. (November 2021) |
D. Other articles not transcluding an autodetected WikiProject
[edit]This section is empty. You can help by adding to it. (November 2021) |