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

From blackwiki
Jump to navigation Jump to search
imported>Izno
imported>Izno
(→‎Sandbox version: simplify test cases)
 
Line 19: Line 19:
 
{{Div col end}}
 
{{Div col end}}
  
===''colwidth'', ''rules'', ''style'', ''gap''===
+
===colwidth===
 
 
====colwidth=10em====
 
 
{{{{BASEPAGENAME}}/sandbox|colwidth=10em}}
 
{{{{BASEPAGENAME}}/sandbox|colwidth=10em}}
 
* One
 
* One
Line 37: Line 35:
 
{{Div col end}}
 
{{Div col end}}
  
====colwidth=10em, rules=solid 1px #C00;====
+
===style===
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|rules=solid 1px #C00}}
+
{{{{BASEPAGENAME}}/sandbox|style=background:khaki;}}
 
* One
 
* One
 
* Two
 
* Two
Line 53: Line 51:
 
{{Div col end}}
 
{{Div col end}}
  
====colwidth=10em, style=width:50%; background:khaki;====
+
===gap===
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|style=width:50%;background:khaki;}}
+
{{{{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}}
  
====colwidth=10em, gap=5em, style=width:50%; background:khaki; (with div style="background-color: lightblue;" wrapping the text)====
+
===small===
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|gap=5em|style=width:50%;background:khaki;}}
+
{{{{BASEPAGENAME}}/sandbox|small=yes}}
<div style="background-color: lightblue;">
 
 
* One
 
* One
 
* Two
 
* Two
Line 84: Line 83:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
</div>
 
 
{{Div col end}}
 
{{Div col end}}
  
=== Rules= ===
+
=== rules ===
{{{{BASEPAGENAME}}/sandbox|rules=|colwidth=10em}}
+
{{{{BASEPAGENAME}}/sandbox|rules=yes}}
 
* One
 
* One
 
* Two
 
* Two
Line 103: Line 101:
 
{{Div col end}}
 
{{Div col end}}
  
===Rules=yes, 5em, two items, small=yes===
+
=== content ===
{{div col/sandbox|colwidth=5em|small=yes|rules=yes}}
+
{{{{BASEPAGENAME}}/sandbox|content=
* Item 1
+
* One
* Item 2
+
* Two
{{div col end}}
+
* Three
 +
* Four
 +
* Five
 +
* Six
 +
* Seven
 +
* Eight
 +
* Nine
 +
* Ten
 +
* Eleven
 +
* Twelve
 +
}}

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