Discussion Topic

What is the Table formatting syntax?

How do I create a table?

I would like to make an m*n table. Wiki shows some syntax like the following:

{| class="wikitable"
|-
! Header text !! Header text !! Header text
|-
| Example || Example || Example
|-
| Example || Example || Example
|-
| Example || Example || Example
|}

but it appears Dozuki doesn't have anything similar (yet). Am I missing something? Please help.

Thanks,

goldscott

goldscott@gmail.com

Reply to discussion Subscribe to discussion

Is this a worthwhile discussion?

Score 1
Add a comment

1 Reply

Most Helpful Answer

You're correct; we have not yet added a special syntax to our wiki system for creating tables.

Oftentimes, it is best to present data in an alternate format; tables do not necessarily format well, particularly on mobile devices. However, I have been known to use the code tag to create table-like structures:

-----------------------------------
| Heading 1 | Heading 2 | Heading 3 |
|-----------------------------------|
| some data | some data | some data |
|-----------------------------------

Here's how I did that:

[code]
 -----------------------------------
| Heading 1 | Heading 2 | Heading 3 |
|-----------------------------------|
| some data | some data | some data |
|-----------------------------------
[/code]

This method is a bit fragile, in that you may need to adjust an entire column if a cell is too small for the data within it. It does work in a pinch, though.

Was this reply helpful?

Score 1
Add a comment

Join the discussion

Scott Larson will be eternally grateful.