Template:Table: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (+update)
m (Big Oops)
Line 1: Line 1:
{{update}}
<noinclude>{{update}}Easily our worst template, '''Table''' defies all laws of sensible wiki editing. Transcluding it opens a table that needs to be closed manually. It ignores the existence of a nearly-identical pre-defined table class, "wikitable". And it's long been used as our standard method of making a table, in too many places to sanely contemplate fixing.
<noinclude>Easily our worst template, '''Table''' defies all laws of sensible wiki editing. Transcluding it opens a table that needs to be closed manually. It ignores the existence of a nearly-identical pre-defined table class, "wikitable". And it's long been used as our standard method of making a table, in too many places to sanely contemplate fixing.


Please do not exacerbate the problem; avoid using this template when making new tables. You can use the [[wikipedia:Help:Table|standard table syntax]] directly, or else open a table with <tt>{| class="wikitable"</tt> to get similar formatting. Add in the class "sortable" (<tt>{| class="wikitable sortable"</tt>) to get a sortable table. Further add in the class "autosort" in order to make the table automatically sort by its first column when the page loads. You can specify another column as the default by declaring a fourth class, "by-column-''x''", where 'x' is a number from 1 to 9. See [[BSL:List]] for a sample usage of this feature. You can also add a table to a page with a single click using the "Simple table" or "Smart Table Wizard" buttons in our [[XEB|extended editing toolbar]].
Please do not exacerbate the problem; avoid using this template when making new tables. You can use the [[wikipedia:Help:Table|standard table syntax]] directly, or else open a table with <tt>{| class="wikitable"</tt> to get similar formatting. Add in the class "sortable" (<tt>{| class="wikitable sortable"</tt>) to get a sortable table. Further add in the class "autosort" in order to make the table automatically sort by its first column when the page loads. You can specify another column as the default by declaring a fourth class, "by-column-''x''", where 'x' is a number from 1 to 9. See [[BSL:List]] for a sample usage of this feature. You can also add a table to a page with a single click using the "Simple table" or "Smart Table Wizard" buttons in our [[XEB|extended editing toolbar]].


[[Category:Table templates]]</noinclude><includeonly>{|BORDER=1 CELLSPACING=0 CELLPADDING=2 STYLE="border-style:solid; border-collapse:collapse; empty-cells:show; background-color:#f9f9f9;" WIDTH={{{width|100%}}} ALIGN={{{align|center}}}</includeonly>
[[Category:Table templates]]</noinclude><includeonly>{|BORDER=1 CELLSPACING=0 CELLPADDING=2 STYLE="border-style:solid; border-collapse:collapse; empty-cells:show; background-color:#f9f9f9;" WIDTH={{{width|100%}}} ALIGN={{{align|center}}}</includeonly>

Revision as of 14:41, 25 May 2020


Aged parchment-60px.jpg

This page contains information that is out of date.
Please update this information to reflect where the community is at today.

Easily our worst template, Table defies all laws of sensible wiki editing. Transcluding it opens a table that needs to be closed manually. It ignores the existence of a nearly-identical pre-defined table class, "wikitable". And it's long been used as our standard method of making a table, in too many places to sanely contemplate fixing.

Please do not exacerbate the problem; avoid using this template when making new tables. You can use the standard table syntax directly, or else open a table with {| class="wikitable" to get similar formatting. Add in the class "sortable" ({| class="wikitable sortable") to get a sortable table. Further add in the class "autosort" in order to make the table automatically sort by its first column when the page loads. You can specify another column as the default by declaring a fourth class, "by-column-x", where 'x' is a number from 1 to 9. See BSL:List for a sample usage of this feature. You can also add a table to a page with a single click using the "Simple table" or "Smart Table Wizard" buttons in our extended editing toolbar.