Template:Further if exists/testcases
Appearance
This is the template test cases page for the sandbox of Template:Further if exists. 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: |
Positional parameters
[edit]{{Further if exists|category=false}}
→{{Further if exists/sandbox|category=false}}
→
{{Further if exists|Foo}}
→{{Further if exists/sandbox|Foo}}
→
{{Further if exists|Foo|Bar}}
→{{Further if exists/sandbox|Foo|Bar}}
→
{{Further if exists|Foo|Bar|Baz}}
→{{Further if exists/sandbox|Foo|Bar|Baz}}
→
{{Further if exists|Foo|Bar|Baz|Qux}}
→{{Further if exists/sandbox|Foo|Bar|Baz|Qux}}
→
Empty positional parameters
[edit]{{Further if exists||category=false}}
→{{Further if exists/sandbox||category=false}}
→
{{Further if exists|Foo|Bar|Baz|Qux|}}
→{{Further if exists/sandbox|Foo|Bar|Baz|Qux|}}
→
Parameter "topic"
[edit]{{Further if exists|Foo|Bar|topic=Bar}}
→{{Further if exists/sandbox|Foo|Bar|topic=Bar}}
→
{{Further if exists|Bar|Baz|topic=Foo}}
→{{Further if exists/sandbox|Bar|Baz|topic=Foo}}
→
With anchor link
[edit]{{Further if exists|Lion#Etymology}}
→{{Further if exists/sandbox|Lion#Etymology}}
→
{{Further if exists|Wikipedia:Project_namespace#Essay_pages}}
→{{Further if exists/sandbox|Wikipedia:Project_namespace#Essay_pages}}
→
Links to File namespace
[edit]{{Further if exists|File:Smiley.gif}}
→{{Further if exists/sandbox|File:Smiley.gif}}
→
{{Further if exists|:File:Smiley.gif}}
→{{Further if exists/sandbox|:File:Smiley.gif}}
→
Parameters label1 and label2
[edit]{{Further if exists|bar|article2|label1=foo |label2=label |topic=hmm}}
→{{Further if exists/sandbox|bar|article2|label1=foo |label2=label |topic=hmm}}
→
{{Further if exists|bar|article2|label1=foo |label2=label |topic=}}
→{{Further if exists/sandbox|bar|article2|label1=foo |label2=label |topic=}}
→
{{Further if exists|bar|article2|label1=foo |label2=label}}
→{{Further if exists/sandbox|bar|article2|label1=foo |label2=label}}
→
{{Further if exists|bar|article2|a3|l3=leee3 |label1=foo |label2=label}}
→{{Further if exists/sandbox|bar|article2|a3|l3=leee3 |label1=foo |label2=label}}
→