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

From blackwiki
Jump to navigation Jump to search
imported>Edokter
imported>Edokter
Line 59: Line 59:
 
{{{{BASEPAGENAME}}/sandbox|4|rules=yes}}
 
{{{{BASEPAGENAME}}/sandbox|4|rules=yes}}
 
* One
 
* One
* Two
 
* Three
 
* Four
 
* Five
 
* Six
 
* Seven
 
* Eight
 
* Nine
 
* Ten
 
* Eleven
 
* Twelve
 
{{Div col end}}
 
 
'''cols=3 small=yes'''
 
{{{{BASEPAGENAME}}/sandbox|cols=3|small=yes}}
 
* One (small)
 
 
* Two
 
* Two
 
* Three
 
* Three

Revision as of 12:16, 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 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

Opera 12.x ignores column-count when column-width is specified.

cols=3, colwidth=10em

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

cols=10, colwidth=10em

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