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

From blackwiki
Jump to navigation Jump to search
imported>Edokter
imported>Edokter
(test combined)
Line 1: Line 1:
{{Testcases notice |toc=on}}
+
{{Testcases notice|toc=on}}
  
 
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] ==
 
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] ==
Line 57: Line 57:
  
 
'''first unnamed = 4, rules=yes'''
 
'''first unnamed = 4, rules=yes'''
{{{{BASEPAGENAME}}/sandbox |4|rules=yes}}
+
{{{{BASEPAGENAME}}/sandbox|4|rules=yes}}
 
* One
 
* One
 
* Two
 
* Two
Line 73: Line 73:
  
 
'''cols=3 small=yes'''
 
'''cols=3 small=yes'''
{{{{BASEPAGENAME}}/sandbox |cols=3 |small=yes}}
+
{{{{BASEPAGENAME}}/sandbox|cols=3|small=yes}}
 
* One (small)
 
* One (small)
 
* Two
 
* Two
Line 89: Line 89:
  
 
'''cols=3 style=font-size:85%;'''
 
'''cols=3 style=font-size:85%;'''
{{{{BASEPAGENAME}}/sandbox |cols=3 |style=font-size:85%;}}
+
{{{{BASEPAGENAME}}/sandbox|cols=3|style=font-size:85%;}}
 
* One (font-size:85%)
 
* One (font-size:85%)
 
* Two
 
* Two
Line 109: Line 109:
 
===''colwidth'', ''rules'', ''style'', ''gap''===
 
===''colwidth'', ''rules'', ''style'', ''gap''===
  
'''colwidth=10.0em'''
+
'''colwidth=10em'''
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10em}}
 
* One
 
* One
 
* Two
 
* Two
Line 125: Line 125:
 
{{Div col end}}
 
{{Div col end}}
  
'''colwidth=10.0em rules=solid 1px #C00;'''
+
'''colwidth=10em rules=solid 1px #C00;'''
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em |rules=solid 1px #C00;}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|rules=solid 1px #C00;}}
 
* One
 
* One
 
* Two
 
* Two
Line 142: Line 142:
  
 
'''style=width:50%;''' background:khaki;
 
'''style=width:50%;''' background:khaki;
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki;}}
+
{{{{BASEPAGENAME}}/sandbox|style=width:50%;background:khaki;}}
 
* One
 
* One
 
* Two
 
* Two
Line 158: Line 158:
  
 
'''gap=5em, style=width:50%;''' background:khaki;
 
'''gap=5em, style=width:50%;''' background:khaki;
{{{{BASEPAGENAME}}/sandbox |gap=5em |style=width:50%;background:khaki;}}
+
{{{{BASEPAGENAME}}/sandbox|gap=5em|style=width:50%;background:khaki;}}
 
<div style="background-color: lightblue;">
 
<div style="background-color: lightblue;">
 
* One
 
* One
Line 173: Line 173:
 
* Twelve
 
* Twelve
 
</div>
 
</div>
 +
{{Div col end}}
 +
 +
===Combine count and width===
 +
 +
'''colwidth=10em'''
 +
{{{{BASEPAGENAME}}/sandbox|cols=3|colwidth=10em}}
 +
* One
 +
* Two
 +
* Three
 +
* Four
 +
* Five
 +
* Six
 +
* Seven
 +
* Eight
 +
* Nine
 +
* Ten
 +
* Eleven
 +
* Twelve
 
{{Div col end}}
 
{{Div col end}}

Revision as of 08:12, 19 April 2015

Sandbox version

No parameters

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


Number of columns, rules, small, style

first unnamed (i.e. number of cols) = 3

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

first unnamed = 4

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

first unnamed = 4, rules=yes

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

cols=3 small=yes

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

cols=3 style=font-size:85%;

  • One (font-size:85%)
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve


colwidth, rules, style, gap

colwidth=10em

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

colwidth=10em rules=solid 1px #C00;

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

style=width:50%; background:khaki;

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

gap=5em, style=width:50%; background:khaki;

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

Combine count and width

colwidth=10em

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