Difference between revisions of "Template:Div col/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
imported>Izno
(→‎Sandbox version: simplify test cases)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Testcases notice |toc=on}}
+
{{Testcases notice|toc=on}}
  
 
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] ==
 
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] ==
  
'''No parameters'''
+
===No parameters===
 
{{{{BASEPAGENAME}}/sandbox}}
 
{{{{BASEPAGENAME}}/sandbox}}
 
* One
 
* One
Line 19: Line 19:
 
{{Div col end}}
 
{{Div col end}}
  
 
+
===colwidth===
{{clear}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10em}}
 
 
===Number of columns, ''rules'', ''small'', ''style''===
 
 
 
'''first unnamed (i.e. number of cols) = 3'''
 
{{{{BASEPAGENAME}}/sandbox|3}}
 
 
* One
 
* One
 
* Two
 
* Two
Line 40: Line 35:
 
{{Div col end}}
 
{{Div col end}}
  
'''first unnamed = 4'''
+
===style===
{{{{BASEPAGENAME}}/sandbox|4}}
+
{{{{BASEPAGENAME}}/sandbox|style=background:khaki;}}
 
* One
 
* One
 
* Two
 
* Two
Line 56: Line 51:
 
{{Div col end}}
 
{{Div col end}}
  
'''first unnamed = 4, rules=yes'''
+
===gap===
{{{{BASEPAGENAME}}/sandbox |4|rules=yes}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|gap=5em|style=width:50%;background:khaki;}}
 +
<div style="background-color: lightblue;">
 
* One
 
* One
 
* Two
 
* Two
Line 70: Line 66:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
 +
</div>
 
{{Div col end}}
 
{{Div col end}}
  
'''cols=3 small=yes'''
+
===small===
{{{{BASEPAGENAME}}/sandbox |cols=3 |small=yes}}
+
{{{{BASEPAGENAME}}/sandbox|small=yes}}
* One (small)
 
* Two
 
* Three
 
* Four
 
* Five
 
* Six
 
* Seven
 
* Eight
 
* Nine
 
* Ten
 
* Eleven
 
* Twelve
 
{{Div col end}}
 
 
 
'''cols=3 style=font-size:85%;'''
 
{{{{BASEPAGENAME}}/sandbox |cols=3 |style=font-size:85%;}}
 
* One (font-size:85%)
 
* Two
 
* Three
 
* Four
 
* Five
 
* Six
 
* Seven
 
* Eight
 
* Nine
 
* Ten
 
* Eleven
 
* Twelve
 
{{Div col end}}
 
 
 
 
 
{{clear}}
 
 
 
===''colwidth'', overall width (''style'')===
 
 
 
'''colwidth=10.0em'''
 
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em}}
 
 
* One
 
* One
 
* Two
 
* Two
Line 125: Line 85:
 
{{Div col end}}
 
{{Div col end}}
  
'''colwidth=10.0em rules=solid 1px #C00;'''
+
=== rules ===
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em |rules=solid 1px #C00;}}
+
{{{{BASEPAGENAME}}/sandbox|rules=yes}}
 
* One
 
* One
 
* Two
 
* Two
Line 141: Line 101:
 
{{Div col end}}
 
{{Div col end}}
  
'''style=width:50%;'''background:khaki;
+
=== content ===
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki;}}
+
{{{{BASEPAGENAME}}/sandbox|content=
 
* One
 
* One
 
* Two
 
* Two
Line 155: Line 115:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{Div col end}}
+
}}
 
 
'''style=width:50%;'''background:khaki; '''colwidth=5.0em''' then '''8.0em''' then '''9.0em'''
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=5.0em}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=8.0em}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=9.0em}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
 
 
{{clear}}
 
 
 
===''overallwidth'', ''overallwidth'' (%) and ''cols''===
 
 
 
'''overallwidth=80.0em''' style=background:khaki;
 
{{{{BASEPAGENAME}}/sandbox |overallwidth=80.0em |style=background:khaki;}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
'''overallwidth=80% cols=4''' style=background:khaki;
 
{{{{BASEPAGENAME}}/sandbox |overallwidth=80% |cols=4 |style=background:khaki;}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
'''overallwidth=80.0em cols=4''' style=background:khaki;
 
{{{{BASEPAGENAME}}/sandbox |overallwidth=80.0em |cols=4 |style=background:khaki;}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 
 
 
'''overallwidth=25% cols=4''' style=background:khaki;
 
{{{{BASEPAGENAME}}/sandbox |overallwidth=25% |cols=4 |style=background:khaki;}}
 
* One
 
* ...Including some
 
* Three
 
* Four
 
* ...items consisting of
 
* Six
 
* Seven
 
* ...[[Example|more than]]
 
* ...one word and
 
* Ten
 
* Eleven
 
* ...that may be links
 
{{Div col end}}
 

Latest revision as of 22:24, 24 December 2020

Sandbox version

No parameters

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

colwidth

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

style

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

gap

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

small

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

rules

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve

content

  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve