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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(toc=on)
imported>Sardanaphalus
(bold scope, clears, added width and width-and-cols tests)
Line 18: Line 18:
 
* Twelve
 
* Twelve
 
{{Div col end}}
 
{{Div col end}}
 +
 +
 +
{{clear}}
  
 
===Number of columns, ''rules'', ''small'', ''style''===
 
===Number of columns, ''rules'', ''small'', ''style''===
Line 69: Line 72:
 
{{Div col end}}
 
{{Div col end}}
  
'''cols=3, small=yes'''
+
'''cols=3 small=yes'''
 
{{{{BASEPAGENAME}}/sandbox |cols=3 |small=yes}}
 
{{{{BASEPAGENAME}}/sandbox |cols=3 |small=yes}}
 
* One (small)
 
* One (small)
Line 85: Line 88:
 
{{Div col end}}
 
{{Div col end}}
  
'''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%)
Line 100: Line 103:
 
* Twelve
 
* Twelve
 
{{Div col end}}
 
{{Div col end}}
 +
 +
 +
{{clear}}
  
 
===''colwidth'', overall width (''style'')===
 
===''colwidth'', overall width (''style'')===
Line 119: Line 125:
 
{{Div col end}}
 
{{Div col end}}
  
'''colwidth=10.0em, rules=solid 1px #C00;'''
+
'''colwidth=10.0em rules=solid 1px #C00;'''
 
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em |rules=solid 1px #C00;}}
 
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em |rules=solid 1px #C00;}}
 
* One
 
* One
Line 135: Line 141:
 
{{Div col end}}
 
{{Div col end}}
  
'''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
Line 151: Line 157:
 
{{Div col end}}
 
{{Div col end}}
  
'''style=width:50%;(background:khaki;) colwidth=5.0em then 8.0em then 9.0em'''
+
'''style=width:50%;'''background:khaki; '''colwidth=5.0em''' then '''8.0em''' then '''9.0em'''
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=5.0em}}
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=5.0em}}
 
* One
 
* One
Line 183: Line 189:
  
 
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=9.0em}}
 
{{{{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}}
 +
 +
===''width'', ''width'' (%) and ''cols''===
 +
 +
'''width=50.0em''' style=background:khaki;
 +
{{{{BASEPAGENAME}}/sandbox |width=50.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}}
 +
 +
'''width=70% cols=4''' style=background:khaki;
 +
{{{{BASEPAGENAME}}/sandbox |width=70% |cols=4 |style=background:khaki;}}
 
* One
 
* One
 
* ...Including some
 
* ...Including some

Revision as of 15:32, 22 December 2014

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, overall width (style)

colwidth=10.0em

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

colwidth=10.0em 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

style=width:50%;background:khaki; colwidth=5.0em then 8.0em then 9.0em

  • One
  • ...Including some
  • Three
  • Four
  • ...items consisting of
  • Six
  • Seven
  • ...more than
  • ...one word and
  • Ten
  • Eleven
  • ...that may be links
  • One
  • ...Including some
  • Three
  • Four
  • ...items consisting of
  • Six
  • Seven
  • ...more than
  • ...one word and
  • Ten
  • Eleven
  • ...that may be links
  • One
  • ...Including some
  • Three
  • Four
  • ...items consisting of
  • Six
  • Seven
  • ...more than
  • ...one word and
  • Ten
  • Eleven
  • ...that may be links


width, width (%) and cols

width=50.0em style=background:khaki;

  • One
  • ...Including some
  • Three
  • Four
  • ...items consisting of
  • Six
  • Seven
  • ...more than
  • ...one word and
  • Ten
  • Eleven
  • ...that may be links

width=70% cols=4 style=background:khaki;

  • One
  • ...Including some
  • Three
  • Four
  • ...items consisting of
  • Six
  • Seven
  • ...more than
  • ...one word and
  • Ten
  • Eleven
  • ...that may be links