Template:Supplement/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:Supplement. 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: |
| Test 1 – Example 1 from /doc page | ||||
|---|---|---|---|---|
{{Supplement|interprets=Wikipedia:Neutral point of view policy}}
{{Supplement}}
|
| Test 1b – like T1, but use 'pages' | ||||
|---|---|---|---|---|
{{Supplement|pages=Wikipedia:Neutral point of view policy}}
{{Supplement}}
|
| Test 2 – Example 2 from /doc page | ||||||
|---|---|---|---|---|---|---|
{{Supplement|interprets=Wikipedia:Neutral point of view policy|shortcut=WP:SHORTCUT|shortcut2=WP:SHORTCUT2}}
{{Supplement}}
|
| Test 2b – like T2, but use 'pages' | ||||||
|---|---|---|---|---|---|---|
{{Supplement|pages=Wikipedia:Neutral point of view policy|shortcut=WP:SHORTCUT|shortcut2=WP:SHORTCUT2}}
{{Supplement}}
|
| Test 3 – Example 3 from /doc page | ||||
|---|---|---|---|---|
{{Supplement|interprets=Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies}}
{{Supplement}}
|
| Test 3b – like T3, but use 'pages' | ||||
|---|---|---|---|---|
{{Supplement|pages=Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies}}
{{Supplement}}
|
| Test4 – by itself (no params): expect Error message | ||||
|---|---|---|---|---|
{{Supplement}}
{{Supplement}}
|
Test4b – by itself (no params) – additional steps
|
|---|
|
Note: testing the 'canonical view' feature (added in Sandbox rev. 1015834844 diff ) should be tested with no params, but because it depends on <noinclude> and <includeonly>, it cannot be entirely tested on a testcase page. A complete test of this feature involves verifying both of these:
When both of these are satisfied, Test 4 is a 'pass'. |