Edit Article

At times, a table helps organize concepts. These Mark Up instructions create tables for all sites powered by MediaWiki, including wikiHow and Wikipedia. You may like Wikipedia:Help:Table for a series of examples of tables with increasing complexity.

Ad

EditSteps

  1. Make Wiki Tables Step 1.jpg
    1
    Decide how to format your information into rows and columns.
    Ad
  2. Make Wiki Tables Step 2.jpg
    2
    Use {| to begin a table.
  3. Make Wiki Tables Step 3.jpg
    3
    Use | to begin each new cell.
  4. Make Wiki Tables Step 4.jpg
    4
    Use |- to begin a new row.
  5. Make Wiki Tables Step 5.jpg
    5
    Use |} to end a table.
  6. Make Wiki Tables Step 6.jpg
    6
    Review the Edit page of this article to clarify code used in the following example.
    • Use "div" tags at the beginning and "/div" end of your code.
    • Use "center" tags to center a table in the middle of a page, and "/center" to return to normal alignment, flush left.
  7. 7
    Replace Row and Column with any text. See how your table looks.
    Ad
Row 1 Column 1 Row 1 Column 2 Row 1 Column 3
Row 2 Column 1 Row 2 Column 2 Row 2 Column 3



You would need to learn about alignment codes to get columns to align equally. Here it is dependent on the length of phrases, for example:

        <center><div> 
        {|class="wikitable" border="1"  cellpadding="4"  cellspacing="4"
        | Put
        | text or numbers
        | in.
        |-
        | See
        | longer phrase ''automatically fit'' in
        | columns.
        |}</div></center>
Put text or numbers in.
See longer phrases automatically fit in columns.



Note: The example, using cellpadding="4" cellspacing="4", made the white space in the borders wider between cells, compared to the original code in the steps above, omitting that added specification.

We could really use your help!

Can you tell us about
cleaning clothes?
Yes
No
cleaning clothes
how to remove mildew from fabric
Can you tell us about
Adobe Photoshop?
Yes
No
Adobe Photoshop
how to swap faces in Photoshop
Can you tell us about
estate planning?
Yes
No
estate planning
how to set up an Estate
Can you tell us about
managing employees?
Yes
No
managing employees
how to empower employees
Thanks for helping! Please tell us everything you know about
...
Tell us everything you know here. Remember, more detail is better.
Tips
Provide Details.
Please be as detailed as possible in your explanation. Don't worry about formatting! We'll take care of it. For example:
Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.

EditVideo



EditTips

  • Click wikipedia:Help:Table to learn more.
  • For wikiHow, remember to click on the Preview button, at the bottom of your Edit page, to view changes prior to submitting a final draft (not to publish tables that are not-working, yet).
  • Click wikiHow:Use Advanced Wiki Syntax Formatting to learn more about wikiHow's acceptable syntax.

Article Info

Categories: Formatting | Markup Languages

Thanks to all authors for creating a page that has been read 13,584 times.

Did this article help you?
Yes No

Become
an Author!

Write an Article