Help:Tables
From QMRAwiki
Tables
How to format tables in QMRAwiki
<!-- For tables this is the border arrangment that we use all of the | symbols need to line up --> <!-- {| starts the table || defines new columns |- defines that a new row is starting or the other one is finsihing --> <!-- |} closes the table {| <!-- These top 3 lines will not change other than renaming the caption --> {| border = "1" |+ '''Table Caption''' <!-- for a link use [http://link.to.file.uploaded.xls '''Table caption''' --> ! Column A ! Column B <!-- Headers are defined thusly and are automatically bolded and centered --> |- | A1 <!-- Two ways to define cell entries --> | B1 |- | ''A2'' || '''''B2''''' |- | text or numbers go in (1,2,3,4,5) || rows adapt size to fit values <br/> starting a new line is easy too |- | colspan = "2" align="center"| merged columns |- | colspan = "2" align="right"| Right alignment |- | colspan = "2" | left alignment |- | rowspan = "2" | merged rows | only for that column |- | Thus this column is normal |- | And you can add Greek letters || <center> α Α δ Δ </center> |}
Table will appear as follows
Column A | Column B |
---|---|
A1 | B1 |
A2 | B2 |
text or numbers go in (1,2,3,4,5) | rows adapt size to fit values starting a new line is easy too |
merged columns | |
Right alignment | |
left alignment | |
merged rows | only for that column |
Thus this column is normal | |
And you can add Greek letters | |