Jump to content

Template:Tableheader

From Meta, a Wikimedia project coordination wiki

class=wikitable


This is a template for table formatting. Changes reflect on all articles using this header, be careful!

Usage

What you write Result
{{Tableheader}} Simple table, width as needed.
{{Tableheader}} align=center Simple table, width as needed. Table itself sits in center of page.
{{Tableheader}} style="align:center; text-align:right" Simple table, width as needed. Table itself sits in center of page. Text in table is aligned right
{{Tableheader|80%}} Simple table, width 80%. If not giving %-sign, then it is the width in pixels, 400 and 400px are identical.
{{Tableheader|100%|sort}} Simple table, full width. sortable.