Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a249c6d62dbcea0a

Jump to content

Template:Columns-next/doc

From Wikipedia, the free encyclopedia

Use this template immediately before a list, to divide the list into multiple columns that wrap the screen responsively. To prevent a section of a list being broken, the template {{no col break}} can be used.

This template was created to support editing of multi-column lists in VisualEditor as an alternative to {{Div col}} and {{Div col end}} (which use an unbalanced <div> element, which forces the intermediary content into source mode), and {{Columns-list}} (which takes the list as raw wikitext parameter).

Usage

[edit]

Basic usage

[edit]
{{Columns-next}}
* a
* b
* c
* d
* e
* f
* g
* h

Produces:

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h

Selective usage

[edit]
* Foo
* Bar
* Baz
* Quux

Text here.

{{Columns-next}}
* lorem
* ipsum
* dolor
* sit
* amet
* consectetur

More text here.

* duis
* aute
* irure
* dolor
* in
* reprehenderit

Produces:

  • Foo
  • Bar
  • Baz
  • Quux

Text here.

  • lorem
  • ipsum
  • dolor
  • sit
  • amet
  • consectetur

More text here.

  • duis
  • aute
  • irure
  • dolor
  • in
  • reprehenderit

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Columns-next in articles based on its TemplateData.

TemplateData for Columns-next

Divide the next list into multiple columns that wrap the screen responsively.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

See also

[edit]

Column-generating template families

[edit]

The templates listed here are not interchangeable. For example, using {{col-float}} with {{col-end}} instead of {{col-float-end}} would leave a <div>...</div> open, potentially harming any subsequent formatting.

Column templates
Type Family
Handles wiki
table code?
Responsive/
mobile suited
Start template Column divider End template
Float "col-float" Yes Yes {{col-float}} {{col-float-break}} {{col-float-end}}
"columns-start" Yes Yes {{columns-start}} {{column}} {{columns-end}}
Columns "div col" Yes Yes {{div col}} instead use {{no col break}} {{div col end}}
"columns-list" No Yes {{columns-list}} (wraps div col)
Flexbox "flex columns" No Yes {{flex columns}}
Table "col" Yes No {{col-begin}},
{{col-begin-fixed}} or
{{col-begin-small}}
{{col-break}} or
{{col-2}} .. {{col-5}}
{{col-end}}

Can the template handle the basic wiki markup {| | || |- |} used to create tables? If not, special templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) or HTML tags (<table>...</table>, <tr>...</tr>, etc.) need to be used instead.