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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(page header, {{tc}}, {{=}}, parameter values, added test)
imported>Frietjes
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Testcases page header}}
+
{{Testcases notice}}
  
<div style="padding-bottom:1.0em;">
+
{{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}}
</div>
+
{{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]]}}
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
+
{{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=}}
{{tc|…|side{{=}}on|j{{=}}|q{{=}}}}
+
{{testcase table |center=true |name=no |top=include|seealso=include|notes=include |custom1=New section|custom2=Additional section}}  
{{Compact ToC |side=on|j=|q=}}
+
{{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}}
{{Compact ToC/sandbox |side=on|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}}
</div>
+
{{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;'''}}
 
+
{{testcase table |short1}}
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
+
{{testcase table |top=include}}  
{{tc|…|top{{=}}include|side{{=}}on}}
+
{{testcase table |side=on |sym=include|num=include|refs=include |custom1=Other}}
{{Compact ToC |top=include|side=on}}
+
{{testcase table |name=Directory |refs=include|notes=include|extlinks=include}}
{{Compact ToC/sandbox |top=include|side=on}}
+
{{testcase table |title=Directory |refs=include|notes=include|extlinks=include}}
</div>
+
{{testcase table |side=on|right=on |name=no |symnum=include|seealso=include}}
 
+
{{testcase table |short1 |num=include|sym=include|seealso=include|further=include|extlinks=include |notesfirst=on}}
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
+
{{testcase table |side=on |titlepadding=0 3.0em 0 0 |q=|x=|z=}}
{{tc|…|side{{=}}on|j{{=}}J|q{{=}}Q}}
 
{{Compact ToC |side=on|j=J|q=Q}}
 
{{Compact ToC/sandbox |side=on|j=J|q=Q}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|short1|top{{=}}include}}
 
{{Compact ToC |short1|top=include}}
 
{{Compact ToC/sandbox |short1|top=include}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|side{{=}}on|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=}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|name{{=}}<nowiki>[[</nowiki><var>Articlename</var><nowiki>]]</nowiki>|side{{=}}on|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 |name=[[Articlename]]|side=on|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=on|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;">
 
{{tc|…|side{{=}}on|n{{=}}<nowiki>[[</nowiki><var>Articlename</var> (N–Z)|&amp;nbsp;N–Z <small>(next page)</small><nowiki>]]</nowiki>|o{{=}}|p{{=}}|...|z{{=}}}}
 
{{Compact ToC |side=on|n=[[Articlename (N–Z)|&nbsp;N–Z <small>(next page)</small>]]|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)</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;">
 
{{tc|…|name{{=}}omit|center{{=}}true|top{{=}}true|seealso{{=}}include|notes{{=}}include|custom1{{=}}New section|custom2{{=}}Additional section}}
 
{{Compact ToC |name=omit|center=true|top=true|seealso=include|notes=include|custom1=New section|custom2=Additional section}}
 
{{Compact ToC/sandbox |name=omit|center=true|top=true|seealso=include|notes=include|custom1=New section|custom2=Additional section}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|name{{=}}omit|center{{=}}true|top{{=}}true|seealso{{=}}include|notes{{=}}include|custom1{{=}}New section|custom1name{{=}}Custom section name|custom2{{=}}Outside page|custom2link{{=}}Main Page}}
 
{{Compact ToC |name=omit|center=true|top=true|seealso=true|notes=include|custom1=New section|custom1name=Custom section name|custom2=Outside page|custom2link=Main Page}}
 
{{Compact ToC/sandbox |name=omit|center=true|top=true|seealso=true|notes=include|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;">
 
{{tc|…|center{{=}}true|align{{=}}center|top{{=}}true|seealso{{=}}include<br/>|pre1{{=}}Scope of list|pre2{{=}}Abbreviations used|prebreak{{=}}&lt;br><br/>|custom1{{=}}Popular entries|custom2{{=}}Excluded entries|notes{{=}}include}}
 
{{Compact ToC |center=true|align=center|top=true|seealso=include|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br>|custom1=Popular entries|custom2=Excluded entries|notes=include}}
 
{{Compact ToC/sandbox |center=true|align=center|top=true|seealso=include|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br>|custom1=Popular entries|custom2=Excluded entries|notes=include}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|center{{=}}on|align{{=}}center|top{{=}}include|seealso{{=}}include<br/>|pre1{{=}}Scope of list|pre2{{=}}Abbreviations used|prebreak{{=}}&lt;br><br>|custom1{{=}}Popular entries|custom2{{=}}Excluded entries|sep{{=}}'''<nowiki>'''&amp;middot;'''</nowiki>'''}}
 
{{Compact ToC |center=on|align=center|top=include|seealso=include|pre1=Scope of list|pre2=Abbreviations used|prebreak=<br>|custom1=Popular entries|custom2=Excluded entries|notes=yes|sep='''·'''}}
 
{{Compact ToC/sandbox |center=on|align=center|top=include|seealso=include|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;">
 
{{tc|…|short1}}
 
{{Compact ToC |short1}}
 
{{Compact ToC/sandbox |short1}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|top{{=}}true}} <!--Example: top=true -->
 
{{Compact ToC |top=true}}
 
{{Compact ToC/sandbox |top=true}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|side{{=}}on|sym{{=}}include|num{{=}}include|refs{{=}}include|seealso{{=}}include|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}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|name{{=}}Directory|top{{=}}off|refs{{=}}include|notes{{=}}include|extlinks{{=}}include}}
 
{{Compact ToC |name=Directory|top=off|refs=include|notes=include|extlinks=include}}
 
{{Compact ToC/sandbox |name=Directory|top=off|refs=include|notes=include|extlinks=include}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|name{{=}}omit|side{{=}}on|right{{=}}on|symnum{{=}}include|seealso{{=}}include}}
 
{{Compact ToC |name=omit|side=on|right=on|symnum=include|seealso=include}}<br style="clear:right;" />
 
{{Compact ToC/sandbox |name=omit|side=on|right=on|symnum=include|seealso=include}}<br style="clear:right;" />
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|short1|num{{=}}include|sym{{=}}include|seealso{{=}}include|notesfirst{{=}}on|further{{=}}include|extlinks{{=}}include}}
 
{{Compact ToC |short1|num=include|sym=include|seealso=include|notesfirst=on|further=include|extlinks=include}}
 
{{Compact ToC/sandbox |short1|num=include|sym=include|seealso=include|notesfirst=on|further=include|extlinks=include}}
 
</div>
 
 
 
<div style="border-top:3px solid #aaa;padding-top:1.0em;padding-bottom:2.0em;">
 
{{tc|…|titlepadding{{=}}0 3.0em 0 0|side{{=}}on|q{{=}}|x{{=}}|z{{=}}}}
 
{{Compact ToC |titlepadding=0 3.0em 0 0|side=on|q=|x=|z=}}
 
{{Compact ToC/sandbox |titlepadding=0 3.0em 0 0|side=on|q=|x=|z=}}
 
</div>
 

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