Help:Tables: Difference between revisions

From EcoliWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:


'''Step 2: Save the page'''.
'''Step 2: Save the page'''.
If you used option 2, an empty table with your headings appears when you save the page.  
If you used option 2, an empty table with your headings appears when you save the page.  
Note that the default table has the column headings arrayed horizontally from left to right.  You can change the orientation when you edit the table.   
Note that the default table has the column headings arrayed horizontally from left to right.  You can change the orientation when you edit the table.   


If you used option 1, there will a '''Create table here''' link. You can create the headings when you edit the table.
If you used option 1, there will a '''Create table here''' link. You can create the headings when you edit the table.


'''Step 3: Edit the table'''
'''Step 3: Edit the table'''
 
Click on the link and use the table editor to add information.
Click on the link and use the table editor.


====Example====  
====Example====  
 
[[Image:New_table_help_1b.jpg|right]]
:1. Create a table with the headings enclosed in newTableEdit tags, as shown.
:1. Create a table with the headings enclosed in newTableEdit tags.
::<nowiki><newTableEdit></nowiki>
::<nowiki><newTableEdit></nowiki>
::US State
::US State
Line 43: Line 42:
::Governor
::Governor
::<nowiki></newTableEdit></nowiki>
::<nowiki></newTableEdit></nowiki>
<BR>
<br clear='all'>
:2. Click on the '''edit table''' link to go to the Table Editor.
[[Image:New_table_help_2b.jpg|left]]
<BR>
<br clear='all'>
:3. Add a row.
[[Image:New_table_help_3.jpg|left]]
<BR>
<br clear='all'>
:I don't know who the governor is, let's leave that for someone else to add.


[[Image:New_table_help_1.jpg]]
:4. Save in the edit page.
[[Image:New_table_help_4.jpg|left]]
<BR>
<br clear='all'>


:2. Click on the '''edit table''' link to go to the Table Editor.
:5. Let's add a column and make the heading background light blue. 
[[Image:New_table_help_5.jpg|left]]
<BR>
<br clear='all'>


[[Image:New_table_help_2.jpg]]
:6. Save back to the editor.
[[Image:New_table_help_6.jpg|left]]
<BR>
<br clear='all'>


The default table format is horizontal (headings running from L to R across the top of the table). If you want a vertical table (headings running from Top to Bottom in the first column of the table), you can rotate the table after you have created it.
:7. Save back to the wiki page.
[[Image:New_table_help_7.jpg|left]]
<BR>
<br clear='all'>


==Basic templates==
==Basic templates==


==Advanced templates==
==Advanced templates==

Revision as of 20:21, 4 August 2007

Basic usage

TableEdit provides a more user-friendly way to create and edit tables in mediawiki than using the standard wiki mark-up. TableEdit tables show up in a page with their own Edit link. Registered users can then add rows and columns, add information, and/or edit information already in the table.

Create a new table

Step 1: Add a newTableEdit tag where you want the table to appear.

To add a new table that can be edited by TableEdit, there are two options:

  • Add an empty table by putting <newTableEdit/> in the text where you want the table to appear.
  • Add a table with defined headings by entering the following:
<newTableEdit>
Heading 1
Heading 2
Heading 3
etc...
</newTableEdit>
You can edit the columns later if needed.

Step 2: Save the page.

If you used option 2, an empty table with your headings appears when you save the page. Note that the default table has the column headings arrayed horizontally from left to right. You can change the orientation when you edit the table.

If you used option 1, there will a Create table here link. You can create the headings when you edit the table.

Step 3: Edit the table Click on the link and use the table editor to add information.

Example

1. Create a table with the headings enclosed in newTableEdit tags.
<newTableEdit>
US State
Capitol
Governor
</newTableEdit>



2. Click on the edit table link to go to the Table Editor.



3. Add a row.



I don't know who the governor is, let's leave that for someone else to add.
4. Save in the edit page.



5. Let's add a column and make the heading background light blue.



6. Save back to the editor.



7. Save back to the wiki page.



Basic templates

Advanced templates