Eclipsepedia:Nice Looking Tables

From Eclipsepedia

Revision as of 20:00, 19 September 2006 by Henrik.lindberg.cloudsmith.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

As you probably know Eclipsepedia has table formatting, but the default tables do not have borders around cells and the styling is pretty - well uh, ugly. The standard examples show you how to turn on some basic formatting, but the end result is not all that pleasing.

Since the pages I edit have quite a lot of tables I wanted something easy to use. (As I can't edit the CSS stylesheet(s) myself, I have created some templates for the Buckminster pages that you also can use if you like.

Examples
Sample code What it looks like
Here is an example using the wiki "pipe syntax":
{|{{BMTableStyle}}
|+{{BMTableCaptionStyle}}|The Heading of your table
|-{{BMTHStyle}}
! Column 1 Heading
! Column 2 Heading
|-
| Row 1, Cell 1 || Row 1, Cell 2
|-
| Row 2, Cell 1 || Row 2, Cell 2
|-
| and so on... || and so on...
|-
|}
Which produces a nice looking table like this:
The Heading of your table
Column 1 Heading Column 2 Heading
Row 1, Cell 1 Row 1, Cell 2
Row 2, Cell 1 Row 2, Cell 2
and so on... and so on...

Tip By

User:Henrik.lindberg.cloudsmith.com