Template:Unreferenced/testcases
Appearance
This is the template test cases page for the sandbox of Template:Unreferenced. 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: |
Normal text
[edit]Small text
[edit]Dated
[edit]Small
[edit]Small, dated
[edit]Find
[edit]Test |find=
param, as discussed here.
Functionality:
{{Unreferenced section|find=some keyword(s)|date=June 2020}}
– use{{find sources|some keyword(s)}}
{{Unreferenced section|date=June 2020}}
– empty or absent param: use default in {{find sources}}{{Unreferenced section|find=none|date=June 2020}}
– specific value of|find=none
: suppress inclusion of {{find sources}}
date=January 2025
params 'section', and date=January 2025
Empty find, + date=January 2025
Empty find, +params 'section', and date=January 2025
Single-word find, + date=January 2025
Single-word find, +params 'section', and date=January 2025
Find with special characters, + date=January 2025
Find with special characters, +params 'section', and date=January 2025
Two-word find, + date=January 2025
Two-word find, +params 'section', and date=January 2025
Five-word find, + date=January 2025
Five-word find, +params 'section', and date=January 2025
{{Unreferenced|section |date=January 2025 |find=United States embargo against Cuba}}
{{Unreferenced}}
Nine-word find, + date=January 2025
{{Unreferenced|date=January 2025 |find=Collaboration with the Axis Powers during World War II}}
{{Unreferenced}}
Nine-word find, +params 'section', and date=January 2025
{{Unreferenced|section |date=January 2025 |find=Collaboration with the Axis Powers during World War II}}
{{Unreferenced}}
find=none (Expected result: no find-sources links, no date)
find=none, + date=January 2025
find=none, +params 'section', and date=January 2025
Param find2
[edit]Param |find2=
is for specifying keywords for unquoted search in {{find sources}}. The first two tests are a control, and do not use 'find2'; the next two do.
Six-word default (double-quoted) find (compare single-quoted below)
Six-word default (double-quoted) find + param 'section'
Param 'find2' with six-word unquoted find
Param 'unquoted' (same test as above except using alias 'unquoted')
Param 'find2' with six-word unquoted find + param 'section'
Param 'unquoted' with six-word unquoted find (same test as above except using alias 'unquoted')
Six-word Einstein query; double-quoted search using param 'find' only (this is a control for the next test case; findsource results are poor)
Six-word Einstein query; combined search query using 'find' and 'find2' params (high-quality search results using combined search)
Six-word Einstein query; combined query using 'find' and 'unquoted' params (same high-quality results as above using alias)
Param find=none, + nonempty find2 (Invalid param combination; could be used to search for a book or film called 'None')