Template:More citations needed section/testcases
Jump to navigation
Jump to search
This is the template test cases page for the sandbox of Template:More citations needed section. 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
- Basic functionality
Live template
With and without date and talk=Discussit
{{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
{{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
{{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)
{{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
With and without date and talk=Bar
{{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
{{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
{{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)
{{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
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:
- Control: invoke current, unmodified template for comparison base
- Stand-alone: invoke modified template from sandbox, which invokes unmodified {{unreferenced}} showing whether this template can be safely released independently of the other
- 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
{{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
{{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
{{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
{{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
{{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
{{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
{{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
| ||||||
---|---|---|---|---|---|---|
|