Difference between revisions of "Template:Compact ToC/testcases"
Jump to navigation
Jump to search
imported>Sardanaphalus (template update) |
imported>Sardanaphalus (Note, preparatory formatting) |
||
| Line 1: | Line 1: | ||
{{Testcases notice}} | {{Testcases notice}} | ||
| − | + | Note: In each pair of outputs below, the first (upper) is by {{tl|{{BASEPAGENAME}}/sandbox}} and the second (lower) by {{tl|{{BASEPAGENAME}}}}. | |
| − | + | ||
| − | |||
{{Aligned table | {{Aligned table | ||
| − | | | + | |class=wikitable |fullwidth=on |
| − | + | |col1style=padding:0 2.5em 0 1.0em;vertical-align:middle;font-family:monospace; | |
| − | + | |col2style=min-width:60%;padding:1.0em; | |
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | < | + | | <nowiki> |side=on |j= |q= </nowiki> | {{Compact ToC/sandbox |side=on |j=|q=}} <br/> {{Compact ToC |side=on |j=|q=}} |
| − | | {{Compact ToC |short1 |top=include | + | | <nowiki> |side=on |top=include </nowiki> | {{Compact ToC/sandbox |side=on |top=include}} <br/> {{Compact ToC |side=on |top=include}} |
| − | | {{Compact ToC/sandbox |short1 |top=include}} | + | | <nowiki> |side=on |j=J |q=Q </nowiki> | {{Compact ToC/sandbox |side=on |j=J|q=Q}} <br/> {{Compact ToC |side=on |j=J|q=Q}} |
| + | | <nowiki> |short1 |top=include </nowiki> | {{Compact ToC/sandbox |short1 |top=include}} <br/> {{Compact ToC |short1 |top=include}} | ||
| − | | < | + | | <nowiki> |side=on |x=[[#X-Z|X-Z]] |y= |z= </nowiki> | {{Compact ToC |side=on |x=[[#X-Z|X-Z]]|y=|z=}} <br/> {{Compact ToC/sandbox |side=on |x=[[#X-Z|X-Z]]|y=|z=}} |
| − | |||
| − | |||
| − | | < | + | | <nowiki> |side=on |name=[[</nowiki><var>Articlename</var><nowiki>]] |n=[[</nowiki><var>Articlename</var> <nowiki>(N–Z)#N|N]] |o=[[</nowiki><var>Articlename</var> <nowiki>(N–Z)#O|O]] |… |z=[[</nowiki><var>Articlename</var> <nowiki>(N–Z)#Z|Z]] </nowiki> |
| − | | {{Compact ToC |side=on |name=[[Articlename]] |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 |side=on |name=[[Articlename]] |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]]}} <br/> |
| − | + | {{Compact ToC/sandbox |side=on |name=[[Articlename]] |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]]}} | |
| − | | < | + | | <nowiki> |side=on |n=[[</nowiki><var>Articlename</var> <nowiki>(N–Z)| N–Z {{small|(next page)}}]] |o= |p= |… |z= </nowiki> |
| − | | {{Compact ToC |side=on |n=[[Articlename (N–Z)| | + | | {{Compact ToC |side=on |n=[[Articlename (N–Z)| N–Z {{small|(next page)}}]] |o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} <br/> |
| − | + | {{Compact ToC/sandbox |side=on |n=[[Articlename (N–Z)| N–Z {{small|(next page)}}]] |o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}} | |
| − | | < | + | | <nowiki> |center=true |name=omit |top=include |seealso=include |notes=include |custom1=New section |custom2=Additional section </nowiki> |
| − | | {{Compact ToC |center=true |name=omit |top=include|seealso=include|notes=include |custom1=New section|custom2=Additional section}} | + | | {{Compact ToC |center=true |name=omit |top=include|seealso=include|notes=include |custom1=New section|custom2=Additional section}} <br/> |
| − | + | {{Compact ToC/sandbox |center=true |name=omit |top=include|seealso=include|notes=include |custom1=New section|custom2=Additional section}} | |
| − | | < | + | | <nowiki> |center=true |name=omit |top=include |seealso=include |notes=include |custom1=New section |custom1name=Custom section name |custom2=Outside page |custom2link=Main Page </nowiki> |
| − | | {{Compact ToC |center=true |name=omit |top=include|seealso=true|notes=include |custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}} | + | | {{Compact ToC |center=true |name=omit |top=include|seealso=true|notes=include |custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}} <br/> |
| − | + | {{Compact ToC/sandbox |center=true |name=omit |top=include|seealso=true|notes=include |custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}} | |
| − | | < | + | | <nowiki> |center=true |align=center |top=include |seealso=include |pre1=Scope of list |pre2=Abbreviations used |prebreak=<br/> |custom1=Popular entries |custom2=Excluded entries |notes=include </nowiki> |
| − | | {{Compact ToC |center=true|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries}} | + | | {{Compact ToC |center=true|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries}} <br/> |
| − | + | {{Compact ToC/sandbox |center=true|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries}} | |
| − | | < | + | | <nowiki> |center=on |align=center |top=include |seealso=include |notes=include |pre1=Scope of list |pre2=Abbreviations used |prebreak=<br/> |custom1=Popular entries |custom2=Excluded entries |sep='''·''' </nowiki> |
| − | | {{Compact ToC |center=on|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries|sep=''' | + | | {{Compact ToC |center=on|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries|sep='''·'''}} <br/> |
| − | + | {{Compact ToC/sandbox |center=on|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used|prebreak=<br/> |custom1=Popular entries|custom2=Excluded entries|sep='''·'''}} | |
| − | | < | + | | <nowiki> |short1 </nowiki> | {{Compact ToC |short1}} <br/> {{Compact ToC/sandbox |short1}} |
| − | | {{Compact ToC | | + | | <nowiki> |top=include </nowiki> | {{Compact ToC |top=include}} <br/> {{Compact ToC/sandbox |top=include}} |
| − | |||
| − | | < | + | | <nowiki> |side=on |sym=include |num=include |refs=include |seealso=include |custom1=Other </nowiki> |
| − | + | | {{Compact ToC |side=on |sym=include|num=include|refs=include |custom1=Other}} <br/> | |
| − | + | {{Compact ToC/sandbox |side=on |sym=include|num=include|refs=include |custom1=Other}} | |
| − | |||
| − | |||
| − | | {{Compact ToC |side=on |sym=include|num=include|refs=include |custom1=Other}} | ||
| − | |||
<!-- name=Directory --> | <!-- name=Directory --> | ||
| − | | < | + | | <nowiki> |name=Directory |refs=include |notes=include |extlinks=include </nowiki> |
| − | | {{Compact ToC |name=Directory |refs=include|notes=include|extlinks=include}} | + | | {{Compact ToC |name=Directory |refs=include|notes=include|extlinks=include}} <br/> |
| − | + | {{Compact ToC/sandbox |name=Directory |refs=include|notes=include|extlinks=include}} | |
<!-- title=Directory --> | <!-- title=Directory --> | ||
| − | | < | + | | <nowiki> |title=Directory |refs=include |notes=include |extlinks=include </nowiki> |
| − | | {{Compact ToC |title=Directory |refs=include|notes=include|extlinks=include}} | + | | {{Compact ToC |title=Directory |refs=include|notes=include|extlinks=include}} <br/> |
| − | + | {{Compact ToC/sandbox |title=Directory |refs=include|notes=include|extlinks=include}} | |
| − | | < | + | | <nowiki> |side=on |right=on |name=omit |symnum=include |seealso=include </nowiki> |
| {{Compact ToC |side=on|right=on |name=omit |symnum=include|seealso=include}}<br style{{=}}"clear:right;" /> | | {{Compact ToC |side=on|right=on |name=omit |symnum=include|seealso=include}}<br style{{=}}"clear:right;" /> | ||
| − | + | {{Compact ToC/sandbox |side=on|right=on |name=omit |symnum=include|seealso=include}}<br style{{=}}"clear:right;" /> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | | < | + | | <nowiki> |short1 |num=include |sym=include |seealso=include |further=include |extlinks=include |notesfirst=on </nowiki> |
| − | | {{Compact ToC | | + | | {{Compact ToC |short1 |num=include|sym=include|seealso=include|further=include|extlinks=include |notesfirst=on}} <br/> |
| − | + | {{Compact ToC/sandbox |short1 |num=include|sym=include|seealso=include|further=include|extlinks=include |notesfirst=on}} | |
| + | | <nowiki> |side=on |titlepadding=0 3.0em 0 0 |q= |x= |z= </nowiki> | ||
| + | | {{Compact ToC |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}} <br/> | ||
| + | {{Compact ToC/sandbox |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}} | ||
}}<!--(end Aligned table)--> | }}<!--(end Aligned table)--> | ||
Revision as of 18:06, 29 October 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: |
Note: In each pair of outputs below, the first (upper) is by {{Compact ToC/sandbox}} and the second (lower) by {{Compact ToC}}.
Script error: No such module "aligned table".