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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
imported>Edokter
Line 107: Line 107:
 
{{clear}}
 
{{clear}}
  
===''colwidth'', overall width (''style'')===
+
===''colwidth'', ''rules'', ''style'', ''gap''===
  
 
'''colwidth=10.0em'''
 
'''colwidth=10.0em'''
Line 141: 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 157: Line 157:
 
{{Div col end}}
 
{{Div col end}}
  
'''style=width:50%;'''background:khaki; '''colwidth=5.0em''' then '''8.0em''' then '''9.0em'''
+
'''gap=5em, style=width:50%;''' background:khaki;
{{{{BASEPAGENAME}}/sandbox |style=width:50%;background:khaki; |colwidth=5.0em}}
+
{{{{BASEPAGENAME}}/sandbox |gap=5em |style=width:50%;background:khaki;}}
 +
<div style="background-color: lightblue;">
 
* One
 
* One
* ...Including some
+
* Two
 
* Three
 
* Three
 
* Four
 
* Four
* ...items consisting of
+
* Five
 
* Six
 
* Six
 
* Seven
 
* Seven
* ...[[Example|more than]]
+
* Eight
* ...one word and
+
* Nine
 
* Ten
 
* Ten
 
* Eleven
 
* Eleven
* ...that may be links
+
* Twelve
{{Div col end}}
+
</div>
 
 
{{{{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}}
 
{{Div col end}}

Revision as of 16:40, 15 February 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=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

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

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