Difference between revisions of "Template:Column-generating template families"
From PhysWiki
(tidy style for better HTML5 compatibility) |
(→Column-generating template families) |
||
Line 24: | Line 24: | ||
| {{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. | ||
| {{tl|Col-8}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=12.5%}}</nowiki>,<br/>i.e. with width {{=}} 100%{{thinsp|/}}8. | | {{tl|Col-8}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=12.5%}}</nowiki>,<br/>i.e. with width {{=}} 100%{{thinsp|/}}8. | ||
+ | | {{tl|Col-9}} | or use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=11.1%}}</nowiki>,<br/>i.e. with width {{=}} 100%{{thinsp|/}}9. | ||
}} {{longitem|font-size:90%;|For nine or even 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 nine or even more columns, use <nowiki>{{Col-break</nowiki>{{padlr|2px||}}<nowiki>width=[W]%}}</nowiki>,<br/>where [W] ≈ 100 divided by the number of columns desired.}} | ||
| {{tl|Col-end}} | | {{tl|Col-end}} |
Revision as of 06:21, 28 February 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:Tlpadb, Template:Tlpadb, Template:Tlpadb, Template:Tlpadb, Template:Tlpadb) and/or HTML tags (Template:Resize, Template:Resize, etc) will need to be used instead.
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}