Difference between revisions of "Template:Div col/testcases"
Jump to navigation
Jump to search
imported>Edokter |
imported>Edokter (test combined) |
||
| Line 1: | Line 1: | ||
| − | {{Testcases notice |toc=on}} | + | {{Testcases notice|toc=on}} |
== [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] == | == [[Template:{{BASEPAGENAME}}/sandbox|Sandbox version]] == | ||
| Line 57: | Line 57: | ||
'''first unnamed = 4, rules=yes''' | '''first unnamed = 4, rules=yes''' | ||
| − | {{{{BASEPAGENAME}}/sandbox |4|rules=yes}} | + | {{{{BASEPAGENAME}}/sandbox|4|rules=yes}} |
* One | * One | ||
* Two | * Two | ||
| Line 73: | Line 73: | ||
'''cols=3 small=yes''' | '''cols=3 small=yes''' | ||
| − | {{{{BASEPAGENAME}}/sandbox |cols=3 |small=yes}} | + | {{{{BASEPAGENAME}}/sandbox|cols=3|small=yes}} |
* One (small) | * One (small) | ||
* Two | * Two | ||
| Line 89: | Line 89: | ||
'''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%) | ||
* Two | * Two | ||
| Line 109: | Line 109: | ||
===''colwidth'', ''rules'', ''style'', ''gap''=== | ===''colwidth'', ''rules'', ''style'', ''gap''=== | ||
| − | '''colwidth= | + | '''colwidth=10em''' |
| − | {{{{BASEPAGENAME}}/sandbox |colwidth= | + | {{{{BASEPAGENAME}}/sandbox|colwidth=10em}} |
* One | * One | ||
* Two | * Two | ||
| Line 125: | Line 125: | ||
{{Div col end}} | {{Div col end}} | ||
| − | '''colwidth= | + | '''colwidth=10em rules=solid 1px #C00;''' |
| − | {{{{BASEPAGENAME}}/sandbox |colwidth= | + | {{{{BASEPAGENAME}}/sandbox|colwidth=10em|rules=solid 1px #C00;}} |
* One | * One | ||
* Two | * Two | ||
| Line 142: | Line 142: | ||
'''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 | ||
* Two | * Two | ||
| Line 158: | Line 158: | ||
'''gap=5em, style=width:50%;''' background:khaki; | '''gap=5em, style=width:50%;''' background:khaki; | ||
| − | {{{{BASEPAGENAME}}/sandbox |gap=5em |style=width:50%;background:khaki;}} | + | {{{{BASEPAGENAME}}/sandbox|gap=5em|style=width:50%;background:khaki;}} |
<div style="background-color: lightblue;"> | <div style="background-color: lightblue;"> | ||
* One | * One | ||
| Line 173: | Line 173: | ||
* Twelve | * Twelve | ||
</div> | </div> | ||
| + | {{Div col end}} | ||
| + | |||
| + | ===Combine count and width=== | ||
| + | |||
| + | '''colwidth=10em''' | ||
| + | {{{{BASEPAGENAME}}/sandbox|cols=3|colwidth=10em}} | ||
| + | * One | ||
| + | * Two | ||
| + | * Three | ||
| + | * Four | ||
| + | * Five | ||
| + | * Six | ||
| + | * Seven | ||
| + | * Eight | ||
| + | * Nine | ||
| + | * Ten | ||
| + | * Eleven | ||
| + | * Twelve | ||
{{Div col end}} | {{Div col end}} | ||
Revision as of 08:12, 19 April 2015
| This is the template test cases page for the sandbox of Template:Div col. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
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=10em
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve
colwidth=10em 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
Combine count and width
colwidth=10em
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve