Revision as of 12:26, 2 August 2013 by
***** (***** | *****)
If you want to insert a table into an article you can procede in different ways. Using the editor is by far the simplest way but you can also use the wiki text and copy and paste a table from another page within the wiki and then adjust it to your specific needs.
Insert a Table
1. To insert a table open the article and click "Edit". Navigate the cursor to the preferred line.
2. Click the symbol "Table" in the toolbar.
3. Choose your desired table properties by entering the number of "Rows" and "Columns" you need.
- The panel “Border size“ allows you to specify the strength of the table gridlines in pixels. “0“ hides the grid.
- Choose where to align the table (right, left or in centre of line) with "Alignment".
- You can enter a title in the caption field that will be shown on top of the table. Confirm with OK.
4. After clicking "ok" the table will show up.
Example of the inconversion of energy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Change the Table Properties
To alter the table click the cell with right mouse button to get a context menu.
For example:
- delete or insert cells, rows and columns etc.
- choose "Merge Right" (or left) to merge two cells to one.
- If you want to change the colour of cells go to "Cell" -> "Cell Properties" -> "Background Colour"
- To change basic table properties like the strength of gridlines, height, width and alignment click the table’s gridline with the right mouse button. In the context menu choose “Table properties“.
Option Advanced: WikiText
You can of course also create a table in the wiki text but this is not that easy. However, once you know what you are doing it is a comfortable tool for editing tables. If you are interested, see here or just create one with the editor and see what changes in wikitext result in.
Some basic explanations:
- cellspacing describes the space between the cells in the tables in pixels
- cellpadding describes the space between the cells' borders and the text inside them
- width describes the tables width. Note that it is possible to give cells a specific width which will be used for all the cells in a column
Import Tables from Excel
It is also possible to import existing Excel tables into energypedia. Here, you can find a detailed description of the Excel to wiki import.