Difference between revisions of "Template:Div col/testcases"
Jump to navigation
Jump to search
imported>Edokter |
imported>Edokter |
||
| Line 109: | Line 109: | ||
{{Div col end}} | {{Div col end}} | ||
| − | '''colwidth=10em rules=solid 1px #C00;''' | + | '''colwidth=10em, rules=solid 1px #C00;''' |
{{{{BASEPAGENAME}}/sandbox|colwidth=10em|rules=solid 1px #C00}} | {{{{BASEPAGENAME}}/sandbox|colwidth=10em|rules=solid 1px #C00}} | ||
* One | * One | ||
| Line 125: | Line 125: | ||
{{Div col end}} | {{Div col end}} | ||
| − | '''style=width:50%;''' background:khaki; | + | colwidth=10em, '''style=width:50%;''' background:khaki; |
| − | {{{{BASEPAGENAME}}/sandbox|style=width:50%;background:khaki;}} | + | {{{{BASEPAGENAME}}/sandbox|colwidth=10em|style=width:50%;background:khaki;}} |
* One | * One | ||
* Two | * Two | ||
| Line 141: | Line 141: | ||
{{Div col end}} | {{Div col end}} | ||
| − | '''gap=5em, style=width:50%;''' background:khaki; | + | colwidth=10em, '''gap=5em, style=width:50%;''' background:khaki; |
| − | {{{{BASEPAGENAME}}/sandbox|gap=5em|style=width:50%;background:khaki;}} | + | {{{{BASEPAGENAME}}/sandbox|colwidth=10em|gap=5em|style=width:50%;background:khaki;}} |
<div style="background-color: lightblue;"> | <div style="background-color: lightblue;"> | ||
* One | * One | ||
Revision as of 12:19, 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, 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 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
colwidth=10em, style=width:50%; background:khaki;
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve
colwidth=10em, gap=5em, style=width:50%; background:khaki;
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve
Combine count and width
Opera 12.x ignores column-count when column-width is specified.
cols=3, colwidth=10em
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve
cols=10, colwidth=10em
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve