Jump to content

Template:More citations needed/testcases

From Wikipedia, the free encyclopedia

Regression

[edit]
Basic functionality

Live template

[edit]

With and without date and talk=y

[edit]
{{More citations needed}}
{{More citations needed|date=Octember 2035}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y}}
Show live results with and without date and talk=y

add small=n

[edit]
{{More citations needed|small=n}}
{{More citations needed|small=n|date=Octember 2035}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=n}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small=n}}
Show live results small=n

add small=y

[edit]
{{More citations needed|small=y}}
{{More citations needed|date=Octember 2035|small=y}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=y}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small=y}}
Show live results small=y

small (no value)

[edit]
{{More citations needed|small}}
{{More citations needed|date=Octember 2035|small}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small}}
Show live results (empty small)

Sandbox version

[edit]

With and without date and talk=y

[edit]
{{More citations needed/sandbox}}
{{More citations needed/sandbox|date=Octember 2035}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{More citations needed/sandbox|date=Octember 2525|talk=y}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y}}
Show sandbox results with and without date and talk=y

small=n

[edit]
{{More citations needed/sandbox|small=n}}
{{More citations needed/sandbox|date=Octember 2035|small=n}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=n}}
{{More citations needed/sandbox|date=Octember 2525 |talk=y |small=n}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small=n}}
Show sandbox results small=n

small=y

[edit]
{{More citations needed/sandbox|small=y}}
{{More citations needed/sandbox|date=Octember 2035|small=y}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=y}}
{{More citations needed/sandbox|date=Octember 2525 |talk=y |small=y}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small=y}}
Show sandbox results small=y

small (no value)

[edit]
{{More citations needed/sandbox|small}}
{{More citations needed/sandbox|date=Octember 2035|small}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small}}
{{More citations needed/sandbox|date=Octember 2525 |talk=y |small}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=y |small}}
Show sandbox results (empty small)

Date and talk

[edit]

With and without date and talk

[edit]
{{More citations needed}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{More citations needed|talk=This article needs citations}}
{{More citations needed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Citations please?}}
Show live results with and without date and talk
{{More citations needed/sandbox}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{More citations needed/sandbox|talk=This article needs citations}}
{{More citations needed/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Citations please?}}
Show sandbox results with and without date and talk

Find param

[edit]

Test new |find= param, as discussed here.

Functionality:

  • {{More citations needed |section |find=some keyword(s)|date=June 2020}}  – use {{find sources|some keyword(s)}}
  • {{More citations needed |section |date=June 2020}}  – empty or absent param: use default in {{find sources}}
  • {{More citations needed |section |find=none|date=June 2020}}  – specific value of |find=none: suppress inclusion of {{find sources}}

regression

[edit]
{{More citations needed|date=June 2020}}
{{More citations needed|section|date=June 2020}}
{{More citations needed/sandbox|date=June 2020}}
{{More citations needed/sandbox|section|date=June 2020}}


Show regression results

present, no value

[edit]
{{More citations needed|find|date=May 2020}}
{{More citations needed/sandbox|find|date=May 2020}}
{{More citations needed|section|find|date=May 2020}}
{{More citations needed/sandbox|section|find|date=May 2020}}
Show results - find present, no value

present, empty or blank

[edit]
{{More citations needed|find= |date=May 2020}}
{{More citations needed/sandbox|find= |date=May 2020}}
{{More citations needed|section|find= |date=May 2020}}
{{More citations needed/sandbox|section|find= |date=May 2020}}
Show results - find present, empty or blank

present, single word

[edit]
{{More citations needed|find=Combat |date=April 2020}}
{{More citations needed/sandbox|find=Combat |date=April 2020}}
{{More citations needed|section|find=Combat |date=April 2020}}
{{More citations needed/sandbox|section|find=Combat |date=April 2020}}
Show results - find present, single word

present, multiple words

[edit]
{{More citations needed|find=Early life |date=March 2020}}
{{More citations needed/sandbox|find=Early life |March =May 2020}}
{{More citations needed|section|find=Early life |date=March 2020}}
{{More citations needed/sandbox|section|find=Early life |March =May 2020}}
Show results - find present, multiple words

present, special chars

[edit]
{{More citations needed|find=HIV/Aids |date=February 2020}}
{{More citations needed/sandbox|find=HIV/Aids |date=February 2020}}
{{More citations needed|section|find=HIV/Aids |date=February 2020}}
{{More citations needed/sandbox|section|find=HIV/Aids |date=February 2020}}
Show results - find present, special chars

'none' : suppress output

[edit]
{{More citations needed|find=none |date=February 2020}}
{{More citations needed/sandbox|find=none |date=February 2020}}
{{More citations needed|section|find=none |date=February 2020}}
{{More citations needed/sandbox|section|find=none |date=February 2020}}
Show results - find='none': suppress output

Find: using testcase template

[edit]

Re-test |find= param, using standard {{test case}} template

Test |find= param, as discussed here.

Functionality:

  • {{More citations needed |section |find=some keyword(s)|date=June 2020}}  – use {{find sources|some keyword(s)}}
  • {{More citations needed |section |date=June 2020}}  – empty or absent param: use default in {{find sources}}
  • {{More citations needed |section |find=none|date=June 2020}}  – specific value of |find=none: suppress inclusion of {{find sources}}
date=November 2024
{{More citations needed|date=November 2024}}

{{More citations needed}}

{{More citations needed/sandbox}}

params 'section', and date=November 2024
{{More citations needed|section |date=November 2024}}

{{More citations needed}}

{{More citations needed/sandbox}}

Empty find, + date=November 2024
{{More citations needed|find |date=November 2024}}

{{More citations needed}}

{{More citations needed/sandbox}}

Empty find, +params 'section', and date=November 2024
{{More citations needed|find |section |date=November 2024}}

{{More citations needed}}

{{More citations needed/sandbox}}

Single-word find, + date=November 2024
{{More citations needed|date=November 2024 |find=Combat}}

{{More citations needed}}

{{More citations needed/sandbox}}

Single-word find, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=Combat}}

{{More citations needed}}

{{More citations needed/sandbox}}

Find with special characters, + date=November 2024
{{More citations needed|date=November 2024 |find=HIV/Aids}}

{{More citations needed}}

{{More citations needed/sandbox}}

Find with special characters, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=HIV/Aids}}

{{More citations needed}}

{{More citations needed/sandbox}}

Two-word find, + date=November 2024
{{More citations needed|date=November 2024 |find=Pink triangle}}

{{More citations needed}}

{{More citations needed/sandbox}}

Two-word find, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=Pink triangle}}

{{More citations needed}}

{{More citations needed/sandbox}}

Five-word find, + date=November 2024
{{More citations needed|date=November 2024 |find=United States embargo against Cuba}}

{{More citations needed}}

{{More citations needed/sandbox}}

Five-word find, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=United States embargo against Cuba}}

{{More citations needed}}

{{More citations needed/sandbox}}

Nine-word find, + date=November 2024
{{More citations needed|date=November 2024 |find=Collaboration with the Axis Powers during World War II}}

{{More citations needed}}

{{More citations needed/sandbox}}

Nine-word find, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=Collaboration with the Axis Powers during World War II}}

{{More citations needed}}

{{More citations needed/sandbox}}

find=none (Expected result: no find-sources links, no date)
{{More citations needed|find=none}}

{{More citations needed}}

{{More citations needed/sandbox}}

find=none, + date=November 2024
{{More citations needed|date=November 2024 |find=none}}

{{More citations needed}}

{{More citations needed/sandbox}}

find=none, +params 'section', and date=November 2024
{{More citations needed|section |date=November 2024 |find=none}}

{{More citations needed}}

{{More citations needed/sandbox}}

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)
{{More citations needed|find=Clandestine press of the French Resistance}}

{{More citations needed}}

{{More citations needed/sandbox}}

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

{{More citations needed}}

{{More citations needed/sandbox}}

Param 'find2' with six-word unquoted find
{{More citations needed|find2=Clandestine press of the French Resistance}}

{{More citations needed}}

{{More citations needed/sandbox}}

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

{{More citations needed}}

{{More citations needed/sandbox}}

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

{{More citations needed}}

{{More citations needed/sandbox}}

Param 'unquoted' with six-word unquoted find (same test as above except using alias 'unquoted')
{{More citations needed|section|unquoted=Clandestine press of the French Resistance}}

{{More citations needed}}

{{More citations needed/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)
{{More citations needed|find=Albert Einstein patent attorney in Switzerland}}

{{More citations needed}}

{{More citations needed/sandbox}}

Six-word Einstein query; combined search query using 'find' and 'find2' params (high-quality search results using combined search)
{{More citations needed|find=Albert Einstein |find2=patent attorney in Switzerland}}

{{More citations needed}}

{{More citations needed/sandbox}}

Six-word Einstein query; combined query using 'find' and 'unquoted' params (same high-quality results as above using alias)
{{More citations needed|find=Albert Einstein |unquoted=patent attorney in Switzerland}}

{{More citations needed}}

{{More citations needed/sandbox}}

Param find=none, + nonempty find2 (Invalid param combination; could be used to search for a book or film called 'None')
{{More citations needed|find=none |find2=reviews}}

{{More citations needed}}

{{More citations needed/sandbox}}