Difference between revisions of "Template:Compact ToC/testcases"

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

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".