Template:One source/testcases

Regression

Param date
{{One source|date=August 2026}}

{{One source}}

{{One source/sandbox}}

Param text
{{One source|text=Alternate first sentence}}

{{One source}}

{{One source/sandbox}}

Params date & text
{{One source|date=August 2026 |text=Alternate first sentence}}

{{One source}}

{{One source/sandbox}}

Param section
{{One source|section}}

{{One source}}

{{One source/sandbox}}

Params section, date, & text
{{One source|section|date=August 2026 |text=Alt first sentence}}

{{One source}}

{{One source/sandbox}}

Usage of 'find' param

Disabling 'find sources' with |find=none
{{One source|date=August 2026 |find=none}}

{{One source}}

{{One source/sandbox}}

'find' with param date
{{One source|date=August 2026 |find=James Barry}}

{{One source}}

{{One source/sandbox}}

'find' with param text
{{One source|find=Chamber of Deputies in France |text=Alternate first sentence}}

{{One source}}

{{One source/sandbox}}

'find' with params date & text
{{One source|date=August 2026 |find=Second Laval government |text=Alternate first sentence}}

{{One source}}

{{One source/sandbox}}

'find' with param section
{{One source|section|find=pink is for girls}}

{{One source}}

{{One source/sandbox}}

'find' with params section, date, & text
{{One source|section|date=August 2026 |find=women soldiers in the Civil War |text=Alt first sentence}}

{{One source}}

{{One source/sandbox}}

Usage of param 'find2'

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)
{{One source|find=Clandestine press of the French Resistance}}

{{One source}}

{{One source/sandbox}}

Six-word default (double-quoted) find + param 'section'
{{One source|section|find=Clandestine press of the French Resistance}}

{{One source}}

{{One source/sandbox}}

Param 'find2' with six-word unquoted find
{{One source|find2=Clandestine press of the French Resistance}}

{{One source}}

{{One source/sandbox}}

Param 'unquoted' (same test as above except using alias 'unquoted')
{{One source|unquoted=Clandestine press of the French Resistance}}

{{One source}}

{{One source/sandbox}}

Param 'find2' with six-word unquoted find + param 'section'
{{One source|section|find2=Clandestine press of the French Resistance}}

{{One source}}

{{One source/sandbox}}

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}}

{{One source/sandbox}}

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}}

{{One source/sandbox}}

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}}

{{One source/sandbox}}

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}}

{{One source/sandbox}}

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}}

{{One source/sandbox}}


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.