Template:Table

From OniGalore
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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. The proper method to create a table is {| class="wikitable", which yields similar formatting to this template. Add in the class "sortable" – {| class="wikitable sortable" – to get a sortable table. See Wikipedia's Help:Table page for details on table usage.

As an OniGalore bonus feature, you can further make tables auto-sort by any column you desire. See the bottom of the MediaWiki:Common documentation page for details.