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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(syntax correction, added test (title))
imported>Frietjes
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Testcases page header}}
+
{{Testcases notice}}
  
----
+
{{testcase table |side=on |j=|q=}}
For each test,
+
{{testcase table |side=on |top=include}}
: upper output = main
+
{{testcase table |side=on |j=J|q=Q}}
: lower output = sandbox
+
{{testcase table |short1 |top=include}}
----
+
{{testcase table |side=on |x=[[#X-Z|X-Z]]|y=|z=}}
 
+
{{testcase table |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]]}}
{{Aligned table
+
{{testcase table |side=on |n=[[Articlename (N–Z)| N–Z {{small|(next page)}}]] |o=|p=|q=|r=|s=|t=|u=|v=|w=|x=|y=|z=}}
|cols=1
+
{{testcase table |center=true |name=no |top=include|seealso=include|notes=include |custom1=New section|custom2=Additional section}}  
 
+
{{testcase table |center=true |name=no |top=include|seealso=true|notes=include |custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}}
| <br/><br/>{{tc|…&nbsp;|side{{=}}on&nbsp;|j{{=}}|q{{=}}}}
+
{{testcase table |center=true|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used |custom1=Popular entries|custom2=Excluded entries}}
| {{Compact ToC |side=on |j=|q=}}
+
{{testcase table |center=on|align=center |top=include|seealso=include|notes=include |pre1=Scope of list|pre2=Abbreviations used |custom1=Popular entries|custom2=Excluded entries|sep='''&middot;'''}}
| {{Compact ToC/sandbox |side=on |j=|q=}}
+
{{testcase table |short1}}
 
+
{{testcase table |top=include}}  
| <br/><br/>{{tc|…&nbsp;|side{{=}}on&nbsp;|top{{=}}include}}
+
{{testcase table |side=on |sym=include|num=include|refs=include |custom1=Other}}
| {{Compact ToC |side=on |top=include}}
+
{{testcase table |name=Directory |refs=include|notes=include|extlinks=include}}
| {{Compact ToC/sandbox |side=on |top=include}}
+
{{testcase table |title=Directory |refs=include|notes=include|extlinks=include}}
 
+
{{testcase table |side=on|right=on |name=no |symnum=include|seealso=include}}
| <br/><br/>{{tc|…&nbsp;|side{{=}}on&nbsp;|j{{=}}J|q{{=}}Q}}
+
{{testcase table |short1 |num=include|sym=include|seealso=include|further=include|extlinks=include |notesfirst=on}}
| {{Compact ToC |side=on |j=J|q=Q}}
+
{{testcase table |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}}
| {{Compact ToC/sandbox |side=on |j=J|q=Q}}
 
 
 
| <br/><br/>{{tc|…&nbsp;|short1&nbsp;|top{{=}}include}}
 
| {{Compact ToC |short1 |top=include}}
 
| {{Compact ToC/sandbox |short1 |top=include}}
 
 
 
| <br/><br/>{{tc|…&nbsp;|side{{=}}on&nbsp;|x{{=}}<nowiki>[[#X-Z|X-Z]]</nowiki>|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>}}
 
| {{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/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{{=}}}}
 
| {{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/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=}}
 
 
 
| <br/><br/>{{tc|…&nbsp;|center{{=}}true&nbsp;|name{{=}}omit&nbsp;|top{{=}}include|seealso{{=}}include|notes{{=}}include&nbsp;|custom1{{=}}New section|custom2{{=}}Additional section}}
 
| {{Compact ToC |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}}
 
| {{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/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}}
 
| {{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/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>'''}}
 
| {{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/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='''·'''}}
 
 
 
| <br/><br/>{{tc|…&nbsp;|short1}}
 
| {{Compact ToC |short1}}
 
| {{Compact ToC/sandbox |short1}}
 
 
 
| <br/><br/>{{tc|…&nbsp;|top{{=}}include}} <!-- Example: top=include -->
 
| {{Compact ToC |top=include}}
 
| {{Compact ToC/sandbox |top=include}}
 
 
 
| <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 -->
 
| <br/><br/>{{tc|…&nbsp;|name{{=}}Directory&nbsp;|refs{{=}}include|notes{{=}}include|extlinks{{=}}include}}
 
| {{Compact ToC |name=Directory |refs=include|notes=include|extlinks=include}}
 
| {{Compact ToC/sandbox |name=Directory |refs=include|notes=include|extlinks=include}}
 
 
 
<!-- title=Directory -->
 
| <br/><br/>{{tc|…&nbsp;|title{{=}}Directory&nbsp;|refs{{=}}include|notes{{=}}include|extlinks{{=}}include}}
 
| {{Compact ToC |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}}
 
| {{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;" />
 
 
 
| <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{{=}}}}
 
| {{Compact ToC |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}}
 
| {{Compact ToC/sandbox |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}}
 
 
 
 
 
}}<!--(end Aligned table)-->
 

Latest revision as of 16:14, 8 January 2017

Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table