Template:Castlist/doc

From escforumwiki
Jump to navigation Jump to search

This template is for use in a cast list in the body of an article. Based on Template:Columns-list, but different in that the column width is hard-coded to 25 em, which was agreed upon here.

Use

This template uses CSS3 multiple column layout and is not supported by all Web browsers.

CSS3 multiple-column layout browser support
Property Internet
Explorer
Firefox Safari Chrome Opera
column-width
column-count
≥ 10
(2012)
≥ 1.5
(2005)
≥ 3
(2007)
≥ 1
(2008)
≥ 11.1
(2011)
columns ≥ 10
(2012)
≥ 9
(2011)
≥ 3
(2007)
≥ 1
(2008)
≥ 11.1
(2011)
break-before
break-after
break-inside
≥ 10
(2012)
No No No ≥ 11.1
(2011)
v · d · e

Examples

Here is an example:

{{castlist|
*Me as myself
*You as yourself
*Her as herself
*Him as himself
*Them as themselves
}}

which would render as:

  • Me as myself
  • You as yourself
  • Her as herself
  • Him as himself
  • Them as themselves

See also

Column-generating template families

Family Type
Handles wiki
 table code?dagger
Start template Column divider End template
"Col" Table Yes {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Columns" Table No {{Columns}}
"Col-float" CSS float Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns-start" CSS float Yes {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns Yes {{Div col}}
– {{Columns-list}} (wrapper)
{{Div col end}}

dagger I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.