Jump to content

Template:Search for/testcases

From Wikipedia, the free encyclopedia

Typical input

[edit]

{{Search for|chicken lips}}

{{Search for/sandbox|chicken lips}}

Something that must be escaped

[edit]

{{Search for|1=E=MC²}}

{{Search for/sandbox|1=E=MC²}}

Test BASEPAGENAME as default

[edit]

Works as long as you don't force the first parameter input to be an explicit null (it just needs to be missing):

{{Search for}}

{{Search for/sandbox}}

{{Search for|1=}}

{{Search for/sandbox|1=}}

{{Search for|}}

{{Search for/sandbox|}}