Template:Search for/testcases
Appearance
This is the template test cases page for the sandbox of Template:Search for. 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: |
Typical input
[edit]{{Search for|chicken lips}}
Advanced search for: "chicken lips" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for/sandbox|chicken lips}}
Advanced search for: "chicken lips" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
Something that must be escaped
[edit]{{Search for|1=E=MC²}}
Advanced search for: "E=MC²" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for/sandbox|1=E=MC²}}
Advanced search for: "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}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for/sandbox}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for|1=}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for/sandbox|1=}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for|}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|
{{Search for/sandbox|}}
Advanced search for: "" | ||
---|---|---|
| ||
| ||
| ||
| ||
|