Difference between revisions of "Template:Div col/testcases"
Jump to navigation
Jump to search
imported>Sardanaphalus (bold scope, clears, added width and width-and-cols tests) |
imported>Sardanaphalus (→width, width (%) and cols: added test (cols made to linewrap)) |
||
| Line 226: | Line 226: | ||
'''width=70% cols=4''' style=background:khaki; | '''width=70% cols=4''' style=background:khaki; | ||
{{{{BASEPAGENAME}}/sandbox |width=70% |cols=4 |style=background:khaki;}} | {{{{BASEPAGENAME}}/sandbox |width=70% |cols=4 |style=background:khaki;}} | ||
| + | * 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}} | ||
| + | |||
| + | '''width=20% cols=4''' style=background:khaki; | ||
| + | {{{{BASEPAGENAME}}/sandbox |width=30% |cols=4 |style=background:khaki;}} | ||
* One | * One | ||
* ...Including some | * ...Including some | ||
Revision as of 15:49, 22 December 2014
| 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, overall width (style)
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
style=width:50%;background:khaki;
- One
- Two
- Three
- Four
- Five
- Six
- Seven
- Eight
- Nine
- Ten
- Eleven
- Twelve
style=width:50%;background:khaki; colwidth=5.0em then 8.0em then 9.0em
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links
width, width (%) and cols
width=50.0em style=background:khaki;
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links
width=70% cols=4 style=background:khaki;
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links
width=20% cols=4 style=background:khaki;
- One
- ...Including some
- Three
- Four
- ...items consisting of
- Six
- Seven
- ...more than
- ...one word and
- Ten
- Eleven
- ...that may be links