![]() | This is the template test cases page for the sandbox of Template:One source. 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: |
Regression
editParam date
{{One source|date=August 2024}}
{{One source}}
This article relies largely or entirely on a single source. (August 2024) |
This article relies largely or entirely on a single source. (August 2024) |
Param text
{{One source|text=Alternate first sentence}}
{{One source}}
Alternate first sentence |
Alternate first sentence |
Params date & text
{{One source|date=August 2024 |text=Alternate first sentence}}
{{One source}}
Alternate first sentence(August 2024) |
Alternate first sentence(August 2024) |
Param section
{{One source|section}}
{{One source}}
This section relies largely or entirely on a single source. |
This section relies largely or entirely on a single source. |
Params section, date, & text
{{One source|section|date=August 2024 |text=Alt first sentence}}
{{One source}}
Alt first sentence(August 2024) |
Alt first sentence(August 2024) |
Usage of 'find' param
editDisabling 'find sources' with
|find=none
{{One source|date=August 2024 |find=none}}
{{One source}}
This article relies largely or entirely on a single source. (August 2024) |
This article relies largely or entirely on a single source. (August 2024) |
'find' with param date
{{One source|date=August 2024 |find=James Barry}}
{{One source}}
This article relies largely or entirely on a single source. (August 2024) |
This article relies largely or entirely on a single source. (August 2024) |
'find' with param text
{{One source|find=Chamber of Deputies in France |text=Alternate first sentence}}
{{One source}}
Alternate first sentence |
Alternate first sentence |
'find' with params date & text
{{One source|date=August 2024 |find=Second Laval government |text=Alternate first sentence}}
{{One source}}
Alternate first sentence(August 2024) |
Alternate first sentence(August 2024) |
'find' with param section
{{One source|section|find=pink is for girls}}
{{One source}}
This section relies largely or entirely on a single source. |
This section relies largely or entirely on a single source. |
'find' with params section, date, & text
{{One source|section|date=August 2024 |find=women soldiers in the Civil War |text=Alt first sentence}}
{{One source}}
Alt first sentence(August 2024) |
Alt first sentence(August 2024) |
Usage of param 'find2'
editParam |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)
{{One source|find=Clandestine press of the French Resistance}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Six-word default (double-quoted) find + param 'section'
{{One source|section|find=Clandestine press of the French Resistance}}
{{One source}}
This section relies largely or entirely on a single source. |
This section relies largely or entirely on a single source. |
Param 'find2' with six-word unquoted find
{{One source|find2=Clandestine press of the French Resistance}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Param 'unquoted' (same test as above except using alias 'unquoted')
{{One source|unquoted=Clandestine press of the French Resistance}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Param 'find2' with six-word unquoted find + param 'section'
{{One source|section|find2=Clandestine press of the French Resistance}}
{{One source}}
This section relies largely or entirely on a single source. |
This section relies largely or entirely on a single source. |
Param 'unquoted' with six-word unquoted find (same test as above except using alias 'unquoted')
{{One source|section|unquoted=Clandestine press of the French Resistance}}
{{One source}}
This section relies largely or entirely on a single source. |
This section relies largely or entirely on a single source. |
Six-word Einstein query; double-quoted search using param 'find' only (this is a control for the next test case; findsource results are poor)
{{One source|find=Albert Einstein patent attorney in Switzerland}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Six-word Einstein query; combined search query using 'find' and 'find2' params (high-quality search results using combined search)
{{One source|find=Albert Einstein |find2=patent attorney in Switzerland}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Six-word Einstein query; combined query using 'find' and 'unquoted' params (same high-quality results as above using alias)
{{One source|find=Albert Einstein |unquoted=patent attorney in Switzerland}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |
Param find=none, + nonempty find2 (Invalid param combination; could be used to search for a book or film called 'None')
{{One source|find=none |find2=reviews}}
{{One source}}
This article relies largely or entirely on a single source. |
This article relies largely or entirely on a single source. |