Difference between revisions of "Template:Column-generating template families"

From PhysWiki
Jump to: navigation, search
(removed thinsp/brackets, added Multicol alternates, See also)
(removed initial noinclude, heading, Aligned table)
Line 1: Line 1:
<noinclude>
+
{{large|'''Column-generating template families'''}}
== See also ==
+
  
</noinclude>
+
{{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/>&nbsp;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>}}
{{caution |'''These templates are not interchangeable across the groups listed here.'''<br/>For example, using {{tl|Multicol}} with {{tl|Col-end}} instead of {{tl|Multicol-end}} would leave [[HTML]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting.}}
+
 
 +
{{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>
  
* {{tl|Col-begin}} {{lts/|Col-begin}} or {{tl|Col-begin-small}}
 
** {{tl|Col-break}}
 
*: {{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>&nbsp; where the width 16.6% is roughly 100/6.}}
 
*: {{tl|Col-7}} {{smaller|or use <nowiki>{{Col-break|width=14.2%}}</nowiki>&nbsp; where the width 14.2% is roughly 100/7.}}
 
*: {{tl|Col-8}} {{smaller|or use <nowiki>{{Col-break|width=12.5%}}</nowiki>;&nbsp; for 9, use <nowiki>{{Col-break|width=11.1%}}</nowiki>, etc.}}
 
** {{tl|Col-end}} or {{tl|End}}
 
* {{hlist |{{tl|Col-float}} {{lts/|Col-float}} |{{tl|Col-float-break}} |{{tl|Col-float-end}} }}
 
* {{tl|Columns}} {{lts/|Columns}}
 
* {{hlist |{{tl|Columns-start}} {{lts/|Columns-start}} |{{tl|Column}} |{{tl|Columns-end}} }}
 
* {{hlist |{{tl|Div col}} {{lts/|Div col}} or {{tl|Start div col}} |{{tl|Div col end}} or {{tl|End div col}} }}
 
** {{tl|Columns-list}} {{lts/|Columns-list}}
 
* {{hlist |{{tl|Multicol}} {{lts/|Multicol}} or {{tl|Start multicol}} |{{tl|Multicol break}} |{{tl|Multicol-end}} or {{tl|End multicol}} }}
 
* {{hlist |{{tl|Top}} {{lts/|Top}} |{{tl|Mid}} |{{tl|Bottom}} }}
 
<noinclude>
 
 
{{Documentation
 
{{Documentation
 
  | content =
 
  | content =

Revision as of 11:40, 1 August 2014

Template:Large

Template:Mbox

Template:Aligned table

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox