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

From PhysWiki
Jump to: navigation, search
(large numbers of columns are bad for narrow screens, deprecate above 5)
(Column-generating template families: Notably accessibility, corr.)
Line 1: Line 1:
===Column-generating template families===
+
=== 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='''The templates listed here are not interchangeable'''. 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.}}
  
 
{| class="wikitable nowrap" style="line-height:1.4em"
 
{| class="wikitable nowrap" style="line-height:1.4em"
Line 6: Line 6:
 
  ! Family
 
  ! Family
 
  ! Type
 
  ! 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
 
  ! Break between columns
 
  ! Break between columns
Line 14: Line 14:
 
  | Table
 
  | Table
 
  | style="text-align:center;" |  
 
  | style="text-align:center;" |  
  | {{tl|Col-begin}}<br/>or {{tl|Col-begin-small}}
+
  | {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}}
  | {{tl|Col-break}}<br/>{{tl|Col-2}} .. {{tl|Col-5}}
+
  | {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}}
 
  | {{tl|Col-end}}
 
  | {{tl|Col-end}}
 
|-  
 
|-  
Line 42: Line 42:
 
  | CSS columns
 
  | CSS columns
 
  | style="text-align:center;" | {{Y}}
 
  | style="text-align:center;" | {{Y}}
  | {{tl|Div col}}<br />– {{tl|Columns-list}} (wrapper)
+
  | {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper)
 
  | –
 
  | –
 
  | {{tl|Div col end}}
 
  | {{tl|Div col end}}
Line 53: Line 53:
 
  | {{tl|Multicol-end}}
 
  | {{tl|Multicol-end}}
 
|}
 
|}
{{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 {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}}) and/or [[HTML element|HTML tags]] ({{tag|table}}, {{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 {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}}) and/or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.
 +
 
 
<noinclude>
 
<noinclude>
  
Line 65: Line 66:
 
[[Category:Table and column templates| ]]
 
[[Category:Table and column templates| ]]
 
[[Category:Related-topic templates]]
 
[[Category:Related-topic templates]]
}}<!--(end Documentation)-->
+
 
 +
}}<!-- (end Documentation) -->
 
</noinclude>
 
</noinclude>

Revision as of 13:58, 26 April 2015

Column-generating template families

Template:Mbox

Family Type Template:Longitem Start template Break between columns End template
"Col" Table Template:Tl
or Template:Tl
Template:Tl
Template:Tl .. Template:Tl
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}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox