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

From PhysWiki
Jump to: navigation, search
(Replace per TfD)
(Add types, simplify markup)
Line 1: Line 1:
<div style="width:60.0em;">
+
===Column-generating template families===
{{resize|120%|'''Column-generating template families'''}}
+
{{Caution|1='''The templates listed below are not interchangeable'''. For example, using {{tl|Multicol}} with {{tl|col-end}} instead of {{tl|Multicol-end}} would leave an [[HTML]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting.}}
{{Caution |1=<div style="padding:0.3em 0;">{{resize|105%|'''The templates listed below are not interchangeable across rows'''}} (i.e. across families). For example, using {{tl|Multicol}} with {{tl|col-end}} instead of {{tl|Multicol-end}} would leave an [[HTML]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting.</div>}}
+
 
 
{{Aligned table
 
{{Aligned table
  |cols=5 |class=wikitable nowrap |style=line-height:1.4em;
+
  |cols=6 |class=wikitable nowrap |style=line-height:1.4em;
 
  |col1style=text-align:center;padding:0.25em;
 
  |col1style=text-align:center;padding:0.25em;
  |col2style=text-align:center;
+
  |col2style=padding-right:1.0em;
  |col3style=padding-right:1.0em;
+
  |col3style=text-align:center;
 
  |col4style=padding-right:1.0em;
 
  |col4style=padding-right:1.0em;
 
  |col5style=padding-right:1.0em;
 
  |col5style=padding-right:1.0em;
 +
|col6style=padding-right:1.0em;
  
 
  |row1style=background:whitesmoke;vertical-align:middle;font-size:100%;font-weight:bold;text-align:center;
 
  |row1style=background:whitesmoke;vertical-align:middle;font-size:100%;font-weight:bold;text-align:center;
 
  | Family
 
  | Family
 +
| Type
 
  | {{longitem|font-weight:normal|Handles wiki<br/>&nbsp;table code?{{sup|{{dagger}}}}}}
 
  | {{longitem|font-weight:normal|Handles wiki<br/>&nbsp;table code?{{sup|{{dagger}}}}}}
 
  | Start template
 
  | Start template
Line 18: Line 20:
  
 
  | "Col"
 
  | "Col"
 +
| Tables
 
  |  
 
  |  
 
  | {{tl|Col-begin}}<br/>or {{tl|Col-begin-small}}
 
  | {{tl|Col-begin}}<br/>or {{tl|Col-begin-small}}
Line 33: Line 36:
  
 
  | "Col-float"
 
  | "Col-float"
 +
| CSS float
 
  | {{Y}}
 
  | {{Y}}
 
  | {{tl|Col-float}}
 
  | {{tl|Col-float}}
Line 39: Line 43:
  
 
  | "Columns"
 
  | "Columns"
 +
| Tables
 
  | {{Y}}
 
  | {{Y}}
 
  | {{tl|Columns}}
 
  | {{tl|Columns}}
Line 45: Line 50:
  
 
  | "Columns-start"
 
  | "Columns-start"
 +
| CSS float
 
  | {{Y}}
 
  | {{Y}}
 
  | {{tl|Columns-start}}
 
  | {{tl|Columns-start}}
Line 51: Line 57:
  
 
  | "Div col"
 
  | "Div col"
 +
| CSS columns
 
  | {{Y}}
 
  | {{Y}}
 
  | {{tl|Div col}}<br/> or {{tl|Columns-list}}
 
  | {{tl|Div col}}<br/> or {{tl|Columns-list}}
Line 57: Line 64:
  
 
  | "Multicol"
 
  | "Multicol"
 +
| Tables
 
  |  
 
  |  
 
  | {{tl|Multicol}}
 
  | {{tl|Multicol}}
Line 64: Line 72:
 
}}
 
}}
 
{{sup|{{dagger}}}} i.e. can the columns handle the [[Help:Wiki markup|wiki markup]] <nowiki>{|  |  ||  |-  |}</nowiki> [[Help:Tables|used to create tables]]? If not, templates that produce these elements (such as {{tlpadb|3px|(!}}, {{tlpadb|3px|!}}, {{tlpadb|3px|!!}}, {{tlpadb|3px|!-}}, {{tlpadb|3px|!)}}) and/or [[HTML element|HTML tags]] ({{resize|95%|{{tag|table}}}}, {{resize|95%|{{tag|tr}}}}, etc) will need to be used instead.
 
{{sup|{{dagger}}}} i.e. can the columns handle the [[Help:Wiki markup|wiki markup]] <nowiki>{|  |  ||  |-  |}</nowiki> [[Help:Tables|used to create tables]]? If not, templates that produce these elements (such as {{tlpadb|3px|(!}}, {{tlpadb|3px|!}}, {{tlpadb|3px|!!}}, {{tlpadb|3px|!-}}, {{tlpadb|3px|!)}}) and/or [[HTML element|HTML tags]] ({{resize|95%|{{tag|table}}}}, {{resize|95%|{{tag|tr}}}}, etc) will need to be used instead.
</div><noinclude>
+
<noinclude>
  
 
{{Documentation
 
{{Documentation

Revision as of 17:28, 16 December 2014

Column-generating template families

Template:Mbox

Template:Aligned table 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}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox