Difference between revisions of "Template:Distinguish/testcases"
Jump to navigation
Jump to search
(←Blanked the page) |
imported>Tymon.r m (Reverted edits by 223.24.170.34 (talk) (HG) (3.4.9)) |
||
| Line 1: | Line 1: | ||
| − | + | {{template test cases notice}} | |
| + | Spaces after and before {{!}} are deliberate. Template must render okay with them. | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=1 page| PAGE1 }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=2 pages| PAGE1 | PAGE2 }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=3 pages| PAGE1 | PAGE2 | PAGE3 }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=4 pages| PAGE1 | PAGE2 | PAGE3 | PAGE4 }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=4 pages with piping| PAGE1 (disambiguation){{!}}PAGE1 | PAGE2 (disambiguation){{!}}PAGE2 | PAGE3 (disambiguation){{!}}PAGE3 | PAGE4 (disambiguation){{!}}PAGE4 }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=Custom text| text = [[PAGE1]] }} | ||
| + | {{test case|_showcode=1|_collapsible=1|_title=More complicated custom text| text = [[PAGE1]], another thing with the same name}} | ||
Latest revision as of 00:23, 24 February 2020
| 42px | This is the template test cases page for the sandbox of Template:Distinguish. 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: |
Spaces after and before | are deliberate. Template must render okay with them.
| 1 page |
|---|
{{Distinguish| PAGE1 }}
{{Distinguish}} |
| 2 pages |
|---|
{{Distinguish| PAGE1 | PAGE2 }}
{{Distinguish}} |
| 3 pages |
|---|
{{Distinguish| PAGE1 | PAGE2 | PAGE3 }}
{{Distinguish}} |
| 4 pages |
|---|
{{Distinguish| PAGE1 | PAGE2 | PAGE3 | PAGE4 }}
{{Distinguish}} |
| 4 pages with piping |
|---|
{{Distinguish| PAGE1 (disambiguation)|PAGE1 | PAGE2 (disambiguation)|PAGE2 | PAGE3 (disambiguation)|PAGE3 | PAGE4 (disambiguation)|PAGE4 }}
{{Distinguish}} |
| Custom text |
|---|
{{Distinguish|text=[[PAGE1]]}}
{{Distinguish}} |
| More complicated custom text |
|---|
{{Distinguish|text=[[PAGE1]], another thing with the same name}}
{{Distinguish}} |