Difference between revisions of "Template:Column-generating template families"
From PhysWiki
(removed thinsp/brackets, added Multicol alternates, See also) |
(removed initial noinclude, heading, Aligned table) |
||
Line 1: | Line 1: | ||
− | + | {{large|'''Column-generating template families'''}} | |
− | + | ||
− | < | + | {{Caution |1=<div style="padding-top:0.5em;padding-bottom:0.5em;">{{resize|115%|'''The templates listed below are not interchangeable across rows'''}} (i.e. across families).<br/> For example, using {{tl|Start multicol}} with {{tl|End}} instead of {{tl|End multicol}} would leave an [[HTML]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting.</div>}} |
− | {{ | + | |
+ | {{Aligned table | ||
+ | |cols=4 |class=wikitable nowrap |style=line-height:1.4em; | ||
+ | |col1style=padding-right:1.5em; |col3style=padding-right:1.5em; | ||
+ | |col2style=width:14.0em;padding-right:0.5em; | ||
+ | |row1style=background:whitesmoke;font-size:115%;font-weight:bold; | ||
+ | | Family | ||
+ | | Starting template | ||
+ | | Break between columns | ||
+ | | Ending template | ||
+ | |||
+ | | "Col" | ||
+ | | {{align|right|{{lts/|Col-begin}}}} {{tl|Col-begin}}<br/>or {{tl|Col-begin-small}} | ||
+ | | {{tl|Col-break}} | ||
+ | : {{hlist |{{tl|Col-2}} |{{tl|Col-3}} |{{tl|Col-4}} |{{tl|Col-5}} }} | ||
+ | : {{tl|Col-6}} {{smaller|or use <nowiki>{{Col-break|width=16.6%}}</nowiki>, i.e. with width ≈ 100%{{thinsp|/}}6.}} | ||
+ | : {{tl|Col-7}} {{smaller|or use <nowiki>{{Col-break|width=14.2%}}</nowiki>, i.e. with width ≈ 100%{{thinsp|/}}7.}} | ||
+ | : {{tl|Col-8}} {{smaller|or use <nowiki>{{Col-break|width=12.5%}}</nowiki>, i.e. with width {{=}} 100%{{thinsp|/}}8.}} {{longitem|font-size:90%;|For nine or even more columns, use <nowiki>{{Col-break|width=[W]%}}</nowiki>, where<br/>[W] ≈ 100 divided by the number of columns desired.}} | ||
+ | | {{tl|Col-end}}<br/>or {{tl|End}} | ||
+ | |||
+ | | "Col-float" | ||
+ | | {{align|right|{{lts/|Col-float}}}} {{tl|Col-float}} | ||
+ | | {{tl|Col-float-break}} | ||
+ | | {{tl|Col-float-end}} | ||
+ | |||
+ | | "Columns" | ||
+ | | {{align|right|{{lts/|Columns}}}} {{tl|Columns}} | ||
+ | | – | ||
+ | | – | ||
+ | |||
+ | | "Columns-start" | ||
+ | | {{align|right|{{lts/|Columns-start}}}} {{tl|Columns-start}} | ||
+ | | {{tl|Column}} | ||
+ | | {{tl|Columns-end}} | ||
+ | |||
+ | | "Div col" | ||
+ | | {{align|right|{{lts/|Div col}}}} {{tl|Div col}}<br/>or {{tl|Start div col}} | ||
+ | * {{align|right|{{lts/|Columns-list}}}} {{tl|Columns-list}} | ||
+ | | – | ||
+ | | {{tl|Div col end}}<br/>or {{tl|End div col}} | ||
+ | |||
+ | | "Multicol" | ||
+ | | {{align|right|{{lts/|Multicol}}}} {{tl|Multicol}}<br/>or {{tl|Start multicol}} | ||
+ | | {{tl|Multicol break}} | ||
+ | | {{tl|Multicol end}}<br/>or {{tl|End multicol}} | ||
+ | |||
+ | | "TMB" | ||
+ | | {{align|right|{{lts/|Top}}}} {{tl|Top}} | ||
+ | | {{tl|Mid}} | ||
+ | | {{tl|Bottom}} | ||
+ | |||
+ | }}<noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Documentation | {{Documentation | ||
| content = | | content = |
Revision as of 11:40, 1 August 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}