Template:Supplement/testcases
Appearance
This is the template test cases page for the sandbox of Template:Supplement. 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: |
Shari.
Test 1 – Example 1 from /doc page
{{Supplement|interhttps://support.google.com/android/answer/9079129?sjid=3770859581462484735-APprets=Wikipedia:Neutral point of view policy}}
{{Supplement}}
This is an explanatory essay about Error: No page specified. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about Error: No page specified. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test 1b – like T1, but use 'pages'
{{Supplement|pages=Wikipedia:Neutral point of view policy}}
{{Supplement}}
This is an explanatory essay about the Wikipedia:Neutral point of view policy. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about the Wikipedia:Neutral point of view policy. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test 2 – Example 2 from /doc page
{{Supplement|interprets=Wikipedia:Neutral point of view policy |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}}
{{Supplement}}
This is an explanatory essay about the Wikipedia:Neutral point of view policy. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about the Wikipedia:Neutral point of view policy. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test 2b – like T2, but use 'pages'
{{Supplement|pages=Wikipedia:Neutral point of view policy |shortcut=WP:SHORTCUT |shortcut2=WP:SHORTCUT2}}
{{Supplement}}
This is an explanatory essay about the Wikipedia:Neutral point of view policy. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about the Wikipedia:Neutral point of view policy. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test 3 – Example 3 from /doc page
{{Supplement|interprets=Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies}}
{{Supplement}}
This is an explanatory essay about the Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about the Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test 3b – like T3, but use 'pages'
{{Supplement|pages=Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies}}
{{Supplement}}
This is an explanatory essay about the Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about the Wikipedia:Neutral point of view and Wikipedia:Biographies of living persons policies. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
Test4 – by itself (no params): expect Error message
{{Supplement}}
{{Supplement}}
This is an explanatory essay about Error: No page specified. This page provides additional information about concepts in the page(s) it supplements. This page is not one of Wikipedia's policies or guidelines as it has not been thoroughly vetted by the community. |
This is an explanatory essay about Error: No page specified. It is important to note that it is not an official Wikipedia policy or guideline. Instead, its purpose is to provide additional insight into the concepts discussed in the page(s) it complements. Since it has not thoroughly vetted by the Wikipedia community, it does not have consensus. |
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'. |