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

From blackwiki
Jump to navigation Jump to search
imported>Edokter
imported>Izno
(→‎Sandbox version: simplify test cases)
 
(22 intermediate revisions by 4 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}}
  
===Number of columns, ''rules'', ''small'', ''style''===
+
===colwidth===
 
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10em}}
'''first unnamed (i.e. number of cols) = 3'''
 
{{{{BASEPAGENAME}}/sandbox|3}}
 
 
* One
 
* One
 
* Two
 
* Two
Line 37: 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 53: 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 67: 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}}
 
 
 
===''colwidth'', overall width (''style'')===
 
 
 
'''colwidth=10.0em'''
 
{{{{BASEPAGENAME}}/sandbox |colwidth=10.0em}}
 
 
* One
 
* One
 
* Two
 
* Two
Line 119: 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 135: 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 149: 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}}
 

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