Difference between revisions of "Template:Further/testcases"
Jump to navigation
Jump to search
imported>Andrybak (add whitespace for readability) |
imported>Andrybak (suppress Category:Hatnote templates with errors) |
||
| Line 2: | Line 2: | ||
== Positional parameters == | == Positional parameters == | ||
| − | {{test case|_format=inline|_showcode=yes}} | + | {{test case|_format=inline|_showcode=yes|category=false}} |
{{test case|_format=inline|_showcode=yes|Foo}} | {{test case|_format=inline|_showcode=yes|Foo}} | ||
| Line 13: | Line 13: | ||
=== Empty positional parameters === | === Empty positional parameters === | ||
| − | {{test case|_format=inline|_showcode=yes|}} | + | {{test case|_format=inline|_showcode=yes||category=false}} |
{{test case|_format=inline|_showcode=yes|Foo|Bar|Baz|Qux|}} | {{test case|_format=inline|_showcode=yes|Foo|Bar|Baz|Qux|}} | ||
Latest revision as of 13:42, 4 July 2020
| This is the template test cases page for the sandbox of Template:Further. Script error: No such module "Purge". 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 with these links: |
Contents
Positional parameters
{{Further|category=false}}→ Error: no page names specified (help).{{Further/sandbox|category=false}}→ Error: no page names specified (help).
{{Further|Foo}}→{{Further/sandbox|Foo}}→
{{Further|Foo|Bar}}→{{Further/sandbox|Foo|Bar}}→
{{Further|Foo|Bar|Baz}}→{{Further/sandbox|Foo|Bar|Baz}}→
{{Further|Foo|Bar|Baz|Qux}}→{{Further/sandbox|Foo|Bar|Baz|Qux}}→
Empty positional parameters
{{Further||category=false}}→ Error: no page names specified (help).{{Further/sandbox||category=false}}→ Error: no page names specified (help).
{{Further|Foo|Bar|Baz|Qux|}}→{{Further/sandbox|Foo|Bar|Baz|Qux|}}→
Parameter "topic"
{{Further|Foo|Bar|topic=Bar}}→{{Further/sandbox|Foo|Bar|topic=Bar}}→
{{Further|Bar|Baz|topic=Foo}}→{{Further/sandbox|Bar|Baz|topic=Foo}}→
With anchor link
{{Further|Lion#Etymology}}→{{Further/sandbox|Lion#Etymology}}→
{{Further|Wikipedia:Project_namespace#Essay_pages}}→{{Further/sandbox|Wikipedia:Project_namespace#Essay_pages}}→
Links to File namespace
{{Further|File:Smiley.gif}}→{{Further/sandbox|File:Smiley.gif}}→
{{Further|:File:Smiley.gif}}→{{Further/sandbox|:File:Smiley.gif}}→
Parameters label1 and label2
{{Further|bar|article2|label1=foo|label2=label|topic=hmm}}→{{Further/sandbox|bar|article2|label1=foo|label2=label|topic=hmm}}→
{{Further|bar|article2|label1=foo|label2=label|topic=}}→{{Further/sandbox|bar|article2|label1=foo|label2=label|topic=}}→
{{Further|bar|article2|label1=foo|label2=label}}→{{Further/sandbox|bar|article2|label1=foo|label2=label}}→
{{Further|bar|article2|a3|l3=leee3|label1=foo|label2=label}}→{{Further/sandbox|bar|article2|a3|l3=leee3|label1=foo|label2=label}}→