Difference between revisions of "Template:Column-generating template families"
From PhysWiki
(→Column-generating template families) |
(→Column-generating template families) |
||
Line 23: | Line 23: | ||
| {{tl|Col-6}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=16.6%}}</nowiki>,<br/>i.e. with width ≈ 100%{{thinsp|/}}6. | | {{tl|Col-6}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=16.6%}}</nowiki>,<br/>i.e. with width ≈ 100%{{thinsp|/}}6. | ||
| {{tl|Col-7}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=14.2%}}</nowiki>,<br/>i.e. with width ≈ 100%{{thinsp|/}}7. | | {{tl|Col-7}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=14.2%}}</nowiki>,<br/>i.e. with width ≈ 100%{{thinsp|/}}7. | ||
− | + | }} {{longitem|font-size:90%;|For eight or more columns, use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=[W]%}}</nowiki>,<br/>where [W] ≈ 100 divided by the number of columns desired.}} | |
− | + | ||
− | + | ||
− | }} {{longitem|font-size:90%;|For | + | |
| {{tl|Col-end}} | | {{tl|Col-end}} | ||
|- | |- |
Revision as of 19:47, 2 March 2015
Column-generating template families
Family | Type | Template:Longitem | Start template | Break between columns | End template |
---|---|---|---|---|---|
"Col" | Table | Template:Tl or Template:Tl |
Template:Tl
Template:Aligned table Template:Longitem |
Template:Tl | |
"Col-float" | CSS float | Template:Y | Template:Tl | Template:Tl | Template:Tl |
"Columns" | Table | Template:Y | Template:Tl | – | – |
"Columns-start" | CSS float | Template:Y | Template:Tl | Template:Tl | Template:Tl |
"Div col" | CSS columns | Template:Y | Template:Tl – Template:Tl (wrapper) |
– | Template:Tl |
"Multicol" | Table | Template:Tl | Template:Tl | Template:Tl |
Template:Sup i.e. can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as Template:Tl, Template:Tl, Template:Tl, Template:Tl, Template:Tl) and/or HTML tags (Template:Tag, Template:Tag, etc) will need to be used instead.
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}