![]() |
Template:Columns-start is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template was considered for deletion on 2017 March 3. The result of the discussion was "keep". |
New template for making columns of content. Needs tweaking before going live.
Has all the same variables as {{ col-begin}}
|
Text in column 1 |
Text in column 2 |
Text in column 3 |
Text in column 1
more text text text text
Text in column 2
more text text text text
Text in column 3
more text text text text
The CSS used to format the tables:
/* Content in columns with CSS instead of tables [[Template:Columns]] */ div.columns-2 div.column { float: left; width: 50%; min-width: 300px; } div.columns-3 div.column { float: left; width: 33.3%; min-width: 200px; } div.columns-4 div.column { float: left; width: 25%; min-width: 150px; } div.columns-5 div.column { float: left; width: 20%; min-width: 120px; }
{{columns-start|num=2}}
instead of {{col-2}}
(Could be changed to {{columns|2}}
?){{columns-start|num=2}}→{{column}}→{{columns-end}}
vs {{col-begin}}→{{col-2}}→{{col-2}}→{{col-end}}
)<p><br></p>
whitespace before the columns, like in the above example (though this is caused by a Mediawiki bug)See also previous discussion on content in columns.
Is this the best way to get multiple columns? — Omegatron 06:05, 19 March 2006 (UTC)
What should the classes and templates be called? —
Omegatron
06:00, 19 March 2006 (UTC)
What should the min-width be? Currently it's set for a 600px main content window. Anything narrower will "collapse" the columns back into a non-column layout. — Omegatron 06:00, 19 March 2006 (UTC)
Should the divs have padding or margins, like the table cells did? The rendering is not exactly the same. — Omegatron 06:00, 19 March 2006 (UTC)
What do we need to tweak to get it to work perfectly on lots of browsers? — Omegatron 06:00, 19 March 2006 (UTC)
<br />
for valid backwards compatible XHTML instead of HTML <br>
.
Omniplex
08:16, 19 March 2006 (UTC)Proposal without templates and without bullets, here a screen reader would probably confuse columns 2 & 3:
Boolean algebra topics |
Boolean domain |
Boolean function |
Boolean logic |
Boolean-valued function |
Canonical form |
Laws of Form |
Logic gate |
Logical graph |
Logical matrix |
Venn diagram |
Zeroth order logic |
Complete Boolean algebra |
Finitary boolean function |
Forcing (mathematics) |
Free Boolean algebra |
Heyting algebra |
Karnaugh map |
Same idea adding the bullets, the source is short and very simple, but I didn't check the resulting XHTML:
Works with a 10 years old browser, and without any template. Omniplex 21:01, 19 March 2006 (UTC)
Both templates read fine here with JAWS with the default setting of not detecting layout tables. When tables were used, they were detected as layout tables so that was fine. However, the new solution works no matter what the setting for table reading is.
However, I'd discourage the use of columns this way. I don't notice this because of the settings I use, but by default, the beginnings and ends of lists are announced. When columns are used, the list looks like 4 lists of 6 items, and when a plain bulleted list is used, it seems like one long list of 24 items.
For some reason, all versions of JAWS I'm testing at the moment are ignoring monobook.css and common.css, so I haven't had the chance to use it with the site-wide css enabled. Graham talk 09:45, 20 March 2006 (UTC)
The documentation should explain clearly when to use this template and when to use {{ col-float}}. — Preceding unsigned comment added by 92.67.227.181 ( talk) 10:37, 30 May 2022 (UTC)
This only puts about the same space between columns as the width of a space. To prevent accidentally reading a line from the left column together with a line from the right column, there should be at least 2em space between them. — Preceding unsigned comment added by 92.67.227.181 ( talk) 10:48, 30 May 2022 (UTC)
I would like there to be a |style=
parameter so I can add position: relative
. I want to use this with {{
interlinear}}, and without position: relative
, the numbers align wrong:
mə
1SG
kem
see
men
child
'I saw the child'
mə
1SG
ke?
NEG
jen
see
men
child
'I did not see the child'
mə
1SG
do
PAST. REC
jen
see
men
child
'I just saw the child'
mə
1SG
ke
??
njen
see
men
child
'It was me who saw the child'
bag
1PL
jen
see
men
child
'We saw the child'
bag
1PL
ke?
NEG
jen
see
men
child
'We did not see the child'
bag
1PL
do
PAST. REC
jen
see
men
child
'We just saw the child'
bag
1PL
ke
??
njen
see
men
child
'It was us who saw the child'
![]() |
Template:Columns-start is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template was considered for deletion on 2017 March 3. The result of the discussion was "keep". |
New template for making columns of content. Needs tweaking before going live.
Has all the same variables as {{ col-begin}}
|
Text in column 1 |
Text in column 2 |
Text in column 3 |
Text in column 1
more text text text text
Text in column 2
more text text text text
Text in column 3
more text text text text
The CSS used to format the tables:
/* Content in columns with CSS instead of tables [[Template:Columns]] */ div.columns-2 div.column { float: left; width: 50%; min-width: 300px; } div.columns-3 div.column { float: left; width: 33.3%; min-width: 200px; } div.columns-4 div.column { float: left; width: 25%; min-width: 150px; } div.columns-5 div.column { float: left; width: 20%; min-width: 120px; }
{{columns-start|num=2}}
instead of {{col-2}}
(Could be changed to {{columns|2}}
?){{columns-start|num=2}}→{{column}}→{{columns-end}}
vs {{col-begin}}→{{col-2}}→{{col-2}}→{{col-end}}
)<p><br></p>
whitespace before the columns, like in the above example (though this is caused by a Mediawiki bug)See also previous discussion on content in columns.
Is this the best way to get multiple columns? — Omegatron 06:05, 19 March 2006 (UTC)
What should the classes and templates be called? —
Omegatron
06:00, 19 March 2006 (UTC)
What should the min-width be? Currently it's set for a 600px main content window. Anything narrower will "collapse" the columns back into a non-column layout. — Omegatron 06:00, 19 March 2006 (UTC)
Should the divs have padding or margins, like the table cells did? The rendering is not exactly the same. — Omegatron 06:00, 19 March 2006 (UTC)
What do we need to tweak to get it to work perfectly on lots of browsers? — Omegatron 06:00, 19 March 2006 (UTC)
<br />
for valid backwards compatible XHTML instead of HTML <br>
.
Omniplex
08:16, 19 March 2006 (UTC)Proposal without templates and without bullets, here a screen reader would probably confuse columns 2 & 3:
Boolean algebra topics |
Boolean domain |
Boolean function |
Boolean logic |
Boolean-valued function |
Canonical form |
Laws of Form |
Logic gate |
Logical graph |
Logical matrix |
Venn diagram |
Zeroth order logic |
Complete Boolean algebra |
Finitary boolean function |
Forcing (mathematics) |
Free Boolean algebra |
Heyting algebra |
Karnaugh map |
Same idea adding the bullets, the source is short and very simple, but I didn't check the resulting XHTML:
Works with a 10 years old browser, and without any template. Omniplex 21:01, 19 March 2006 (UTC)
Both templates read fine here with JAWS with the default setting of not detecting layout tables. When tables were used, they were detected as layout tables so that was fine. However, the new solution works no matter what the setting for table reading is.
However, I'd discourage the use of columns this way. I don't notice this because of the settings I use, but by default, the beginnings and ends of lists are announced. When columns are used, the list looks like 4 lists of 6 items, and when a plain bulleted list is used, it seems like one long list of 24 items.
For some reason, all versions of JAWS I'm testing at the moment are ignoring monobook.css and common.css, so I haven't had the chance to use it with the site-wide css enabled. Graham talk 09:45, 20 March 2006 (UTC)
The documentation should explain clearly when to use this template and when to use {{ col-float}}. — Preceding unsigned comment added by 92.67.227.181 ( talk) 10:37, 30 May 2022 (UTC)
This only puts about the same space between columns as the width of a space. To prevent accidentally reading a line from the left column together with a line from the right column, there should be at least 2em space between them. — Preceding unsigned comment added by 92.67.227.181 ( talk) 10:48, 30 May 2022 (UTC)
I would like there to be a |style=
parameter so I can add position: relative
. I want to use this with {{
interlinear}}, and without position: relative
, the numbers align wrong:
mə
1SG
kem
see
men
child
'I saw the child'
mə
1SG
ke?
NEG
jen
see
men
child
'I did not see the child'
mə
1SG
do
PAST. REC
jen
see
men
child
'I just saw the child'
mə
1SG
ke
??
njen
see
men
child
'It was me who saw the child'
bag
1PL
jen
see
men
child
'We saw the child'
bag
1PL
ke?
NEG
jen
see
men
child
'We did not see the child'
bag
1PL
do
PAST. REC
jen
see
men
child
'We just saw the child'
bag
1PL
ke
??
njen
see
men
child
'It was us who saw the child'