Help:Creating and editing tables

From Analytics Practicum
Jump to navigation Jump to search

Creating and editing tables

To create a table, you need to use code. The following example shows how to add a table of 4 columns and 2 rows.


  1. Go to the page or section you wish to edit.
  2. Click on the edit tab.
  3. Copy and edit the below code.

{| class="wikitable centered" width="90%"
!Group
!Assigned Company
!Topic
!Students
|-
|width="2%"|<!-- Group--> Group 1
|width="10%"|<!-- Company--> [[Company 1]]
|width="10%"|<!-- Topic--> Your Topic
|width="30%"|<!-- Students--> Student 1, Student 2, Student 3, Student 4
|-
|width="2%"|<!-- Group--> Group 2
|width="10%"|<!-- Company--> [[Company 2]]
|width="10%"|<!-- Topic--> Your topic
|width="30%"|<!-- Students--> Student 1, Student 2, Student 3, Student 4
|-
|}
Group Assigned Company Topic Students
Group 1 Company 1 Your Topic Student 1, Student 2, Student 3, Student 4
Group 2 Company 2 Your topic Student 1, Student 2, Student 3, Student 4