Difference between revisions of "Template:Compact ToC/testcases"
imported>Sardanaphalus m (indent, template name) |
imported>Sardanaphalus (divs) |
||
| Line 1: | Line 1: | ||
| − | {{Testcases notice}} | + | <div style="padding-bottom:1.0em;">{{Testcases notice}}</div> |
| − | |||
| + | <div style="padding-bottom:1.0em;"> | ||
For each test, | For each test, | ||
: upper output = main | : upper output = main | ||
: lower output = sandbox | : lower output = sandbox | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|side=yes|j=|q=}} | {{tlx|Compact ToC|side=yes|j=|q=}} | ||
{{Compact ToC|side=yes|j=|q=}} | {{Compact ToC|side=yes|j=|q=}} | ||
{{Compact ToC/sandbox|side=yes|j=|q=}} | {{Compact ToC/sandbox|side=yes|j=|q=}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|top=yes|side=yes}} | {{tlx|Compact ToC|top=yes|side=yes}} | ||
{{Compact ToC|top=yes|side=yes}} | {{Compact ToC|top=yes|side=yes}} | ||
{{Compact ToC/sandbox|top=yes|side=yes}} | {{Compact ToC/sandbox|top=yes|side=yes}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|side=yes|j=J|q=Q}} | {{tlx|Compact ToC|side=yes|j=J|q=Q}} | ||
{{Compact ToC|side=yes|j=J|q=Q}} | {{Compact ToC|side=yes|j=J|q=Q}} | ||
{{Compact ToC/sandbox|side=yes|j=J|q=Q}} | {{Compact ToC/sandbox|side=yes|j=J|q=Q}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|short1|top=yes}} | {{tlx|Compact ToC|short1|top=yes}} | ||
{{Compact ToC|short1|top=yes}} | {{Compact ToC|short1|top=yes}} | ||
{{Compact ToC/sandbox|short1|top=yes}} | {{Compact ToC/sandbox|short1|top=yes}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|side=yes|x=<nowiki>[[#X-Z|X-Z]]</nowiki>|y=|z=}} | {{tlx|Compact ToC|side=yes|x=<nowiki>[[#X-Z|X-Z]]</nowiki>|y=|z=}} | ||
{{Compact ToC|side=yes|x=[[#X-Z|X-Z]]|y=|z=}} | {{Compact ToC|side=yes|x=[[#X-Z|X-Z]]|y=|z=}} | ||
{{Compact ToC/sandbox|side=yes|x=[[#X-Z|X-Z]]|y=|z=}} | {{Compact ToC/sandbox|side=yes|x=[[#X-Z|X-Z]]|y=|z=}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|name=<nowiki>[[</nowiki><var>Articlename</var><nowiki>]]</nowiki>|side=yes|n=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#N|N<nowiki>]]</nowiki>|o=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#O|O<nowiki>]]</nowiki>|...|z=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#Z|Z<nowiki>]]</nowiki>}} | {{tlx|Compact ToC|name=<nowiki>[[</nowiki><var>Articlename</var><nowiki>]]</nowiki>|side=yes|n=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#N|N<nowiki>]]</nowiki>|o=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#O|O<nowiki>]]</nowiki>|...|z=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)#Z|Z<nowiki>]]</nowiki>}} | ||
| Line 43: | Line 43: | ||
{{Compact ToC/sandbox|name=[[Articlename]]|side=yes|n=[[Article (N–Z)#N|N]]|o=[[Articlename (N–Z)#O|O]]|p=[[Articlename (N–Z)#P|P]]|q=[[Articlename (N–Z)#Q|Q]]|r=[[Articlename (N–Z)#R|R]]|s=[[Articlename (N–Z)#S|S]]|t=[[Articlename (N–Z)#T|T]]|u=[[Articlename (N–Z)#U|U]]|v=[[Articlename (N–Z)#V|V]]|w=[[Articlename (N–Z)#W|W]]|x=[[Articlename (N–Z)#X|X]]|y=[[Articlename (N–Z)#Y|Y]]|z=[[Articlename (N–Z)#Z|Z]]}} | {{Compact ToC/sandbox|name=[[Articlename]]|side=yes|n=[[Article (N–Z)#N|N]]|o=[[Articlename (N–Z)#O|O]]|p=[[Articlename (N–Z)#P|P]]|q=[[Articlename (N–Z)#Q|Q]]|r=[[Articlename (N–Z)#R|R]]|s=[[Articlename (N–Z)#S|S]]|t=[[Articlename (N–Z)#T|T]]|u=[[Articlename (N–Z)#U|U]]|v=[[Articlename (N–Z)#V|V]]|w=[[Articlename (N–Z)#W|W]]|x=[[Articlename (N–Z)#X|X]]|y=[[Articlename (N–Z)#Y|Y]]|z=[[Articlename (N–Z)#Z|Z]]}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|side=yes|n=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)|&nbsp;N–Z <small>(next page)</small><nowiki>]]</nowiki>|o=|p=|...|z=}} | {{tlx|Compact ToC|side=yes|n=<nowiki>[[</nowiki><var>Articlename</var> (N–Z)|&nbsp;N–Z <small>(next page)</small><nowiki>]]</nowiki>|o=|p=|...|z=}} | ||
{{Compact ToC|side=yes|n=[[Articlename (N–Z)| N–Z <small>(next page)</small>]]|o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} | {{Compact ToC|side=yes|n=[[Articlename (N–Z)| N–Z <small>(next page)</small>]]|o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} | ||
{{Compact ToC/sandbox|side=yes|n=[[Articlename (N–Z)| N–Z <small>(next page)</small>]]|o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} | {{Compact ToC/sandbox|side=yes|n=[[Articlename (N–Z)| N–Z <small>(next page)</small>]]|o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom2=Additional section}} | {{tlx|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|custom2=Additional section}} | {{Compact ToC|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom2=Additional section}} | ||
{{Compact ToC/sandbox|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom2=Additional section}} | {{Compact ToC/sandbox|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom2=Additional section}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|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}} | {{tlx|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|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|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/sandbox|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/sandbox|name=no|center=yes|top=yes|seealso=yes|notes=yes|custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|center=yes|align=center|top=yes|seealso=yes<br>|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br><br>|custom1=Popular entries|custom2=Excluded entries|notes=yes}} | {{tlx|Compact ToC|center=yes|align=center|top=yes|seealso=yes<br>|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br><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|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|notes=yes}} | ||
{{Compact ToC/sandbox|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/sandbox|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}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|center=yes|align=center|top=yes|seealso=yes<br>|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br><br>|custom1=Popular entries|custom2=Excluded entries|sep='''<nowiki>'''&middot;'''</nowiki>'''}} | {{tlx|Compact ToC|center=yes|align=center|top=yes|seealso=yes<br>|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br><br>|custom1=Popular entries|custom2=Excluded entries|sep='''<nowiki>'''&middot;'''</nowiki>'''}} | ||
{{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|sep='''·'''}} | {{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|sep='''·'''}} | ||
{{Compact ToC/sandbox|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|sep='''·'''}} | {{Compact ToC/sandbox|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|sep='''·'''}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|short1}} | {{tlx|Compact ToC|short1}} | ||
{{Compact ToC|short1}} | {{Compact ToC|short1}} | ||
{{Compact ToC/sandbox|short1}} | {{Compact ToC/sandbox|short1}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|top=yes}} <!--Example: top=yes --> | {{tlx|Compact ToC|top=yes}} <!--Example: top=yes --> | ||
{{Compact ToC|top=yes}} | {{Compact ToC|top=yes}} | ||
{{Compact ToC/sandbox|top=yes}} | {{Compact ToC/sandbox|top=yes}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|side=yes|sym=yes|num=yes|refs=yes|seealso=yes|custom1=Other}} | {{tlx|Compact ToC|side=yes|sym=yes|num=yes|refs=yes|seealso=yes|custom1=Other}} | ||
{{Compact ToC|side=yes|sym=yes|num=yes|refs=yes|custom1=Other}} | {{Compact ToC|side=yes|sym=yes|num=yes|refs=yes|custom1=Other}} | ||
{{Compact ToC/sandbox|side=yes|sym=yes|num=yes|refs=yes|custom1=Other}} | {{Compact ToC/sandbox|side=yes|sym=yes|num=yes|refs=yes|custom1=Other}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | {{tlx|Compact ToC|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | ||
{{Compact ToC|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | {{Compact ToC|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | ||
{{Compact ToC/sandbox|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | {{Compact ToC/sandbox|name=Directory|top=no|refs=yes|notes=yes|extlinks=yes}} | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|name=no|side=yes|right=yes|symnum=yes|seealso=yes}} | {{tlx|Compact ToC|name=no|side=yes|right=yes|symnum=yes|seealso=yes}} | ||
{{Compact ToC|name=no|side=yes|right=yes|symnum=yes|seealso=yes}}<br style="clear:right;" /> | {{Compact ToC|name=no|side=yes|right=yes|symnum=yes|seealso=yes}}<br style="clear:right;" /> | ||
{{Compact ToC/sandbox|name=no|side=yes|right=yes|symnum=yes|seealso=yes}}<br style="clear:right;" /> | {{Compact ToC/sandbox|name=no|side=yes|right=yes|symnum=yes|seealso=yes}}<br style="clear:right;" /> | ||
| + | </div> | ||
| − | + | <div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;"> | |
| − | |||
{{tlx|Compact ToC|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | {{tlx|Compact ToC|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | ||
{{Compact ToC|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | {{Compact ToC|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | ||
{{Compact ToC/sandbox|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | {{Compact ToC/sandbox|short1|num=yes|sym=yes|seealso=yes|notesfirst=yes|further=yes|extlinks=yes}} | ||
| + | </div> | ||
Revision as of 12:15, 13 September 2014
| 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}}