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

From blackwiki
Jump to navigation Jump to search
imported>Hellknowz
(style instead)
imported>Sardanaphalus
(template, hidden sections, added overall-width test)
Line 1: Line 1:
<pre>
+
{{Testcases notice}}
{{div col/sandbox}}
 
</pre>
 
  
{{div col/sandbox}}
+
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] ==
 +
 
 +
{{Begin hidden |title = No parameters
 +
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
 +
|bodystyle=font-size:105%;padding-top:0.5em;
 +
}}
 +
{{{{BASEPAGENAME}}/sandbox}}
 
* One
 
* One
 
* Two
 
* Two
Line 16: Line 20:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 +
{{End hidden}}
  
<pre>
+
{{Begin hidden |title = <nowiki>{{{1}}}=3</nowiki>
{{div col/sandbox|3}}
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
</pre>
+
|bodystyle=font-size:105%;padding-top:0.5em;
 
+
}}
{{div col/sandbox|3}}
+
{{{{BASEPAGENAME}}/sandbox|3}}
 
* One
 
* One
 
* Two
 
* Two
Line 35: Line 40:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 
+
{{End hidden}}
<pre>
 
{{div col/sandbox|4}}
 
</pre>
 
  
{{div col/sandbox|4}}
+
{{Begin hidden |title = <nowiki>{{{1}}}=4</nowiki>
 +
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
 +
|bodystyle=font-size:105%;padding-top:0.5em;
 +
}}
 +
{{{{BASEPAGENAME}}/sandbox|4}}
 
* One
 
* One
 
* Two
 
* Two
Line 54: Line 60:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 
+
{{End hidden}}
<pre>
 
{{div col/sandbox|4|rules=yes}}
 
</pre>
 
  
{{div col/sandbox|4|rules=yes}}
+
{{Begin hidden |title = <nowiki>{{{1}}}=4, rules=yes</nowiki>
 +
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
 +
|bodystyle=font-size:105%;padding-top:0.5em;
 +
}}
 +
{{{{BASEPAGENAME}}/sandbox|4|rules=yes}}
 
* One
 
* One
 
* Two
 
* Two
Line 73: Line 80:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 +
{{End hidden}}
  
<pre>
+
{{Begin hidden |title = <nowiki>colwidth=10.0em</nowiki>
{{div col/sandbox|colwidth=10em}}
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
</pre>
+
|bodystyle=font-size:105%;padding-top:0.5em;
 
+
}}
{{div col/sandbox|colwidth=10em}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10.0em}}
 
* One
 
* One
 
* Two
 
* Two
Line 92: Line 100:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 +
{{End hidden}}
  
<pre>
+
{{Begin hidden |title = <nowiki>colwidth=10.0em, rules=solid 1px #C00</nowiki>
{{div col/sandbox|colwidth=10em|rules=solid 1px #C00}}
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
</pre>
+
|bodystyle=font-size:105%;padding-top:0.5em;
 
+
}}
{{div col/sandbox|colwidth=10em|rules=solid 1px #C00}}
+
{{{{BASEPAGENAME}}/sandbox|colwidth=10.0em|rules=solid 1px #C00}}
 
* One
 
* One
 
* Two
 
* Two
Line 111: Line 120:
 
* Eleven
 
* Eleven
 
* Twelve
 
* Twelve
{{div col end}}
+
{{Div col end}}
 +
{{End hidden}}
  
<pre>
+
{{Begin hidden |title = <nowiki>cols=3, small=yes</nowiki>
{{div col/sandbox|cols=3|small=yes}}
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
</pre>
+
|bodystyle=font-size:105%;padding-top:0.5em;
 +
}}
 +
{{{{BASEPAGENAME}}/sandbox|cols=3|small=yes}}
 +
* One (small)
 +
* Two
 +
* Three
 +
* Four
 +
* Five
 +
* Six
 +
* Seven
 +
* Eight
 +
* Nine
 +
* Ten
 +
* Eleven
 +
* Twelve
 +
{{Div col end}}
 +
{{End hidden}}
  
{{div col/sandbox|cols=3|small=yes}}
+
{{Begin hidden |title = <nowiki>cols=3, style=font-size:85%;</nowiki>
* One small
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
* Two small
+
|bodystyle=font-size:105%;padding-top:0.5em;
* Three small
+
}}
* Four small
+
{{{{BASEPAGENAME}}/sandbox|cols=3|style=font-size:85%;}}
* Five small
+
* One (font-size:85%)
* Six small
+
* Two
* Seven small
+
* Three
* Eight small
+
* Four
* Nine small
+
* Five
* Ten small
+
* Six
* Eleven small
+
* Seven
* Twelve small
+
* Eight
{{div col end}}
+
* Nine
 +
* Ten
 +
* Eleven
 +
* Twelve
 +
{{Div col end}}
 +
{{End hidden}}
  
<pre>
+
{{Begin hidden |title = <nowiki>style=width:50%; (background:khaki;)</nowiki>
{{div col/sandbox|cols=3|style=font-size:85%}}
+
|titlestyle=background:#ddf;font-size:110%;padding-top:0.15em;padding-left:0.5em;font-weight:normal;
</pre>
+
|bodystyle=font-size:105%;padding-top:0.5em;
 
+
}}
{{div col/sandbox|cols=3|style=font-size:85%}}
+
{{{{BASEPAGENAME}}/sandbox|style=width:50%;background:khaki;}}
* One tiny at 85%
+
* One
* Two tiny
+
* Two
* Three tiny
+
* Three
* Four tiny
+
* Four
* Five tiny
+
* Five
* Six tiny
+
* Six
* Seven tiny
+
* Seven
* Eight tiny
+
* Eight
* Nine tiny
+
* Nine
* Ten tiny
+
* Ten
* Eleven tiny
+
* Eleven
* Twelve tiny
+
* Twelve
{{div col end}}
+
{{Div col end}}
 +
{{End hidden}}

Revision as of 11:41, 18 November 2014

Sandbox version

No parameters
  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve
{{{1}}}=3
  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve
{{{1}}}=4
  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve
{{{1}}}=4, rules=yes
  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve
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
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
style=width:50%; (background:khaki;)
  • One
  • Two
  • Three
  • Four
  • Five
  • Six
  • Seven
  • Eight
  • Nine
  • Ten
  • Eleven
  • Twelve