Difference between revisions of "Template:Broader/testcases"
Jump to navigation
Jump to search
imported>Nihiltres (Basic test cases) |
imported>Andrybak (suppress Category:Hatnote templates with errors) |
||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | {{Test case|_collapsible=yes|_showcode=yes|_title=Zero pages; categorization disabled|category= | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Zero pages; categorization disabled|category=false}} |
{{Test case|_collapsible=yes|_showcode=yes|_title=One page|PAGE1}} | {{Test case|_collapsible=yes|_showcode=yes|_title=One page|PAGE1}} | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=One page, with section link|PAGE1#SECTION}} | {{Test case|_collapsible=yes|_showcode=yes|_title=One page, with section link|PAGE1#SECTION}} | ||
| Line 9: | Line 9: | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Parameter gap in page list|PAGE1||PAGE3}} | {{Test case|_collapsible=yes|_showcode=yes|_title=Parameter gap in page list|PAGE1||PAGE3}} | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Topic text|PAGE1|topic=FOO}} | {{Test case|_collapsible=yes|_showcode=yes|_title=Topic text|PAGE1|topic=FOO}} | ||
| − | {{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, no pages|topic=FOO}} | + | {{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, no pages|topic=FOO|category=false}} |
{{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, one page|topic=FOO|PAGE1}} | {{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, one page|topic=FOO|PAGE1}} | ||
{{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, two pages|topic=FOO|PAGE1|PAGE2}} | {{Test case|_collapsible=yes|_showcode=yes|_title=Topic text, two pages|topic=FOO|PAGE1|PAGE2}} | ||
Latest revision as of 13:43, 4 July 2020
| 42px | This is the template test cases page for the sandbox of Template:Broader. 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: |
| Zero pages; categorization disabled |
|---|
{{Broader|category=false}}
{{Broader}} Error: no page name specified (help). {{Broader/sandbox}} Error: no page name specified (help). |
| One page |
|---|
{{Broader|PAGE1}}
{{Broader}} {{Broader/sandbox}} |
| One page, with section link |
|---|
{{Broader|PAGE1#SECTION}}
{{Broader}} {{Broader/sandbox}} |
| Two pages |
|---|
{{Broader|PAGE1|PAGE2}}
{{Broader}} {{Broader/sandbox}} |
| Two pages, with section link |
|---|
{{Broader|PAGE1#SECTION|PAGE2}}
{{Broader}} {{Broader/sandbox}} |
| Three pages |
|---|
{{Broader|PAGE1|PAGE2|PAGE3}}
{{Broader}} {{Broader/sandbox}} |
| Parameter gap in page list |
|---|
{{Broader|PAGE1||PAGE3}}
{{Broader}} {{Broader/sandbox}} |
| Topic text |
|---|
{{Broader|PAGE1|topic=FOO}}
{{Broader}} {{Broader/sandbox}} |
| Topic text, no pages |
|---|
{{Broader|category=false|topic=FOO}}
{{Broader}} Error: no page name specified (help). {{Broader/sandbox}} Error: no page name specified (help). |
| Topic text, one page |
|---|
{{Broader|PAGE1|topic=FOO}}
{{Broader}} {{Broader/sandbox}} |
| Topic text, two pages |
|---|
{{Broader|PAGE1|PAGE2|topic=FOO}}
{{Broader}} {{Broader/sandbox}} |
| Topic text, three pages |
|---|
{{Broader|PAGE1|PAGE2|PAGE3|topic=FOO}}
{{Broader}} {{Broader/sandbox}} |