Template:Compact ToC/testcases
| This is the template test cases page for the sandbox of Template:Compact ToC. 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: |
For each test,
- upper output = main
- lower output = sandbox
{{Compact ToC|side=yes|j=|q=}}
{{Compact ToC|top=yes|side=yes}}
{{Compact ToC|side=yes|j=J|q=Q}}
{{Compact ToC|side=yes|x=[[#X-Z|X-Z]]|y=|z=}}
{{Compact ToC|name=[[Articlename]]|side=yes|n=[[Articlename (N–Z)#N|N]]|o=[[Articlename (N–Z)#O|O]]|...|z=[[Articlename (N–Z)#Z|Z]]}}
{{Compact ToC|side=yes|n=[[Articlename (N–Z)| N–Z (next page)]]|o=|p=|...|z=}}
{{Compact ToC|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom2=Additional section}}
{{Compact ToC|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}}
{{Compact ToC|center=yes|align=center|top=yes|seealso=yes
|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br>
|custom1=Popular entries|custom2=Excluded entries|notes=yes}}
{{Compact ToC|center=yes|align=center|top=yes|seealso=yes
|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br>
|custom1=Popular entries|custom2=Excluded entries|sep='''·'''}}
{{Compact ToC|top=yes}}
{{Compact ToC|side=yes|sym=yes|num=yes|refs=yes|seealso=yes|custom1=Other}}
{{Compact ToC|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}}