Template:More citations needed section/testcases


Regression edit

Basic functionality

Live template edit

With and without date and talk=Discussit edit

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

add small=n edit

{{More citations needed section|small=n}}
{{More citations needed section|small=n|date=Octember 2035}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=n}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Discussit |small=n}}
Show live results small=n

add small=y edit

{{More citations needed section|small=y}}
{{More citations needed section|date=Octember 2035|small=y}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=y}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Discussit |small=y}}
Show live results small=y

small (no value) edit

{{More citations needed section|small}}
{{More citations needed section|date=Octember 2035|small}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small}}
{{More citations needed section|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Discussit |small}}
Show live results (empty small)

Sandbox version edit

With and without date and talk=Bar edit

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

small=n edit

{{More citations needed section/sandbox|small=n}}
{{More citations needed section/sandbox|date=Octember 2035|small=n}}
{{More citations needed section/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small=n}}
{{More citations needed section/sandbox|date=Octember 2525 |talk=Bar |small=n}}
{{More citations needed section/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Bar |small=n}}
Show sandbox results small=n

small=y edit

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

small (no value) edit

{{More citations needed section/sandbox|small}}
{{More citations needed section/sandbox|date=Octember 2035|small}}
{{More citations needed section/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} |small}}
{{More citations needed section/sandbox|date=Octember 2525 |talk=Bar |small}}
{{More citations needed section/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk=Bar |small}}
Show sandbox results (empty small)

Find param edit

Test new |find= param, as discussed here.

Functionality: Functionality (see also: Template:Unreferenced/sandbox/doc):

  • {{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: suppress inclusion of {{find sources}} (because article title won't likely produce good results for the section)
  • {{More citations needed section|find=none|date=June 2020}}  – specific value of |find=none: suppress inclusion of {{find sources}}

Tests occur in triples:

  1. Control: invoke current, unmodified template for comparison base
  2. Stand-alone: invoke modified template from sandbox, which invokes unmodified {{unreferenced}} showing whether this template can be safely released independently of the other
  3. Tandem: invoke modified template from sandbox2, which invokes the modified {{unreferenced/sandbox}} template; this demonstrates the full functionality when both sandbox versions go live

param missing – suppress find sources outpout edit

{{More citations needed section|date=June 2020}}
{{More citations needed section/sandbox|date=June 2020}}
{{More citations needed section/sandbox2|date=June 2020}}
Show results - find param missing

present, no value – suppress find sources outpout edit

{{More citations needed section|find|date=May 2020}}
{{More citations needed section/sandbox|find|date=May 2020}}
{{More citations needed section/sandbox2|find|date=May 2020}}
Show results - find param empty


present, empty or blank – suppress find sources output edit

{{More citations needed section|find= |date=May 2020}}
{{More citations needed section/sandbox|find= |date=May 2020}}
{{More citations needed section/sandbox2|find= |date=May 2020}}
Show results - empty or blank


present, single word – invoke find sources with search string edit

{{More citations needed section|find=Combat |date=April 2020}}
{{More citations needed section/sandbox|find=Combat |date=April 2020}}
{{More citations needed section/sandbox2|find=Combat |date=April 2020}}
Show results - find with single word


present, multiple words – invoke find sources with search string edit

{{More citations needed section|find=Early life |date=March 2020}}
{{More citations needed section/sandbox|find=Early life |March =May 2020}}
{{More citations needed section/sandbox2|find=Early life |March =May 2020}}
Show results - find with multiple words


present, special chars – invoke find sources with search string edit

{{More citations needed section|find=HIV/Aids |date=February 2020}}
{{More citations needed section/sandbox|find=HIV/Aids |date=February 2020}}
{{More citations needed section/sandbox2|find=HIV/Aids |date=February 2020}}
Show results - find with special chars


present, value='none' – suppress output edit

{{More citations needed section|find=none |date=February 2020}}
{{More citations needed section/sandbox|find=none |date=February 2020}}
{{More citations needed section/sandbox2|find=none |date=February 2020}}
Show results - find=none