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

From PhysWiki
Jump to: navigation, search
(less prominent heading sizes)
(rmv whitespace, tweak font weight due to col. width wider than /doc pg)
Line 1: Line 1:
 
{{120%|'''Column-generating template families'''}}
 
{{120%|'''Column-generating template families'''}}
 
 
{{Caution |1=<div style="padding-top:0.5em;padding-bottom:0.5em;">{{105%|'''The templates listed in the table 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 |1=<div style="padding-top:0.5em;padding-bottom:0.5em;">{{105%|'''The templates listed in the table 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>}}
 
 
{{Aligned table
 
{{Aligned table
 
  |cols=5 |class=wikitable nowrap |style=line-height:1.4em;
 
  |cols=5 |class=wikitable nowrap |style=line-height:1.4em;
Line 9: Line 7:
 
  |col3style=padding-right:1.5em;
 
  |col3style=padding-right:1.5em;
 
  |col4style=padding-right:1.5em;
 
  |col4style=padding-right:1.5em;
 
+
  |row1style=background:whitesmoke;vertical-align:middle;font-size:100%;font-weight:bold;text-align:center;
  |row1style=background:whitesmoke;vertical-align:middle;font-size:105%;font-weight:bold;
+
 
  | Family
 
  | Family
 
  | Wiki table<br/>code?{{sup|{{dagger}}}}
 
  | Wiki table<br/>code?{{sup|{{dagger}}}}
Line 16: Line 13:
 
  | Break between columns
 
  | Break between columns
 
  | Ending template
 
  | Ending template
 
 
  | "Col"
 
  | "Col"
 
  |  
 
  |  
Line 26: Line 22:
 
: {{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-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}}
 
  | {{tl|Col-end}}<br/>or {{tl|End}}
 
 
  | "Col-float"
 
  | "Col-float"
 
  | {{Y}}
 
  | {{Y}}
Line 32: Line 27:
 
  | {{tl|Col-float-break}}
 
  | {{tl|Col-float-break}}
 
  | {{tl|Col-float-end}}
 
  | {{tl|Col-float-end}}
 
 
  | "Columns"
 
  | "Columns"
 
  | {{Y}}
 
  | {{Y}}
Line 38: Line 32:
 
  | –
 
  | –
 
  | –
 
  | –
 
 
  | "Columns-start"
 
  | "Columns-start"
 
  | {{Y}}
 
  | {{Y}}
Line 44: Line 37:
 
  | {{tl|Column}}
 
  | {{tl|Column}}
 
  | {{tl|Columns-end}}
 
  | {{tl|Columns-end}}
 
 
  | "Div col"
 
  | "Div col"
 
  | {{Y}}
 
  | {{Y}}
Line 50: Line 42:
 
  | –
 
  | –
 
  | {{tl|Div col end}}
 
  | {{tl|Div col end}}
 
 
  | "Multicol"
 
  | "Multicol"
 
  |  
 
  |  
Line 56: Line 47:
 
  | {{tl|Multicol-break}}
 
  | {{tl|Multicol-break}}
 
  | {{tl|Multicol-end}}
 
  | {{tl|Multicol-end}}
 
 
  | "TMB"
 
  | "TMB"
 
  |  
 
  |  
Line 64: Line 54:
 
}}
 
}}
 
{{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]] ({{95%|{{tag|table}}}}, {{95%|{{tag|tr}}}}, etc) will need to be used instead.<noinclude>
 
{{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]] ({{95%|{{tag|table}}}}, {{95%|{{tag|tr}}}}, etc) will need to be used instead.<noinclude>
 
 
{{Documentation
 
{{Documentation
 
  | content =
 
  | content =
Line 74: Line 63:
 
[[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 18:21, 15 August 2014

Template:120% 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:95%, Template:95%, etc) will need to be used instead. {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox