Tables: Difference between revisions

From UNB Archives and Special Collections
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= RichTextEditor =
Tables can be quickly created using the [[Editors|RichTextEditor]] icon to initiate the function:
Tables can be quickly created using the [[Editors|RichTextEditor]] icon to initiate the function:


[[File:Table Icon.png|thumb|center]]The <span id="TableProperties">'''Table Properties'''</span> box will appear, in which you will have to specify several details. The number of '''Rows''' reprents your desired number of horizontal cells, which stack vertically ( = ); the number of '''Columns''' represents your desired number of vertical fields ( ll ).
[[File:Table Icon.png|frame|center]]The <span id="TableProperties">'''Table Properties'''</span> box will appear, in which you will have to specify several details. The number of '''Rows''' reprents your desired number of horizontal cells, which stack vertically ( = ); the number of '''Columns''' represents your desired number of vertical fields ( ll ).


Headers will likely be most useful as the '''First Row''', though circumstances may warrant the other options.
Headers will likely be most useful as the '''First Row''', though circumstances may warrant the other options.
Line 11: Line 13:




[[File:Table Properties.png|thumb|center]]
[[File:Table Properties.png|frame|center]]
 
<br/>Modifying the table post-creation is done by "right clicking" (Mac or PC) or control clicking (Mac) the table in the specific spot that you would like to expand the table. You can add/delete '''Rows''' or '''Columns''', as well as single '''Cells'''.
 
[[File:Table Mod.png|frame|center]]
 
<br/>[[#TableProperties|'''Table Properties''']] will produce the aforementioned box, in which you can change the settings selected upon initiating the table.
 
 
 
= WikiTextEditor =
 


<br/>Modifying the table post-creation is done by "right clicking" (Mac or PC) or control clicking (Mac) the table.&nbsp;


You can create/modify a table using the WikiTextEditor using this string of characters:


<nowiki>{| style="border: 1px solid #c6c9ff; border-collapse: collapse;" cellspacing="0" cellpadding="10" border="1"</nowiki><br/><nowiki>|-</nowiki><br/><nowiki>| align="center" | <center>'''Heading A'''</center></nowiki><br/><nowiki>| <center>'''Heading B'''</center></nowiki><br/><nowiki>| <center>'''Heading C'''</center></nowiki><br/><nowiki>|-</nowiki><br/><nowiki>| 1A</nowiki><br/><nowiki>| 1B</nowiki><br/><nowiki>| 1C</nowiki><br/><nowiki>|-</nowiki><br/><nowiki>| 2A</nowiki><br/><nowiki>| 2B</nowiki><br/><nowiki>| 2C</nowiki><br/><nowiki>|}</nowiki>


[[File:Table Mod.png|thumb|center]]
After the initial string of code, every row is separated by a [[Mark-up Language|pipe/hyphen]] combination ( |- ); in this example, every number represents a row and every letter represents a column. The table can have as many rows and columns as needed.


[[#TableProperties|'''Table Properties''']] will produce the aforementioned box.
The function is ended just as it was initiated, with a [[Mark-up Language|pipe/brace]] combination ( |} ).&lt;/nowiki&gt;

Latest revision as of 10:06, 20 August 2014

RichTextEditor

Tables can be quickly created using the RichTextEditor icon to initiate the function:

Table Icon.png

The Table Properties box will appear, in which you will have to specify several details. The number of Rows reprents your desired number of horizontal cells, which stack vertically ( = ); the number of Columns represents your desired number of vertical fields ( ll ).

Headers will likely be most useful as the First Row, though circumstances may warrant the other options.

Alignment Left or Center, depending on the nature of the field, will likely be most desirable.

The other fields are optional and do not need to be modified.


Table Properties.png


Modifying the table post-creation is done by "right clicking" (Mac or PC) or control clicking (Mac) the table in the specific spot that you would like to expand the table. You can add/delete Rows or Columns, as well as single Cells.

Table Mod.png


Table Properties will produce the aforementioned box, in which you can change the settings selected upon initiating the table.


WikiTextEditor

You can create/modify a table using the WikiTextEditor using this string of characters:

{| style="border: 1px solid #c6c9ff; border-collapse: collapse;" cellspacing="0" cellpadding="10" border="1"
|-
| align="center" | <center>'''Heading A'''</center>
| <center>'''Heading B'''</center>
| <center>'''Heading C'''</center>
|-
| 1A
| 1B
| 1C
|-
| 2A
| 2B
| 2C
|}

After the initial string of code, every row is separated by a pipe/hyphen combination ( |- ); in this example, every number represents a row and every letter represents a column. The table can have as many rows and columns as needed.

The function is ended just as it was initiated, with a pipe/brace combination ( |} ).</nowiki>