Help:Tables

From Scan New England Wiki
Jump to navigationJump to search

Creating a Table

Beginning the Table

  • Start by using one of our templates named "Prettytable"
  • Begin the table template by using two braces " {{ "
  • Type the name of the table: Prettytable
  • End the table template with two braces going the opposite way " }} "
  • The braces " { " are just above the enter key, are also with the brackets " [ " and are used with the shift button


Example

{{prettytable}}


Syntax: Data inside the Table

  • A table consists of rows and columns
  • Each row is started with " |- "
  • The first character is the shift of the " \ " directly above the enter key
  • The second character is a dash, or minus sign
  • Each column is separated by two lines: " || "


Example

|-  
||Department||Frequency||Tone||District


Additional Syntax

  • You can use some HTML code in wiki pages
  • To center your text in the rows use:
align="center"
  • To add a background color to a row use:
style="background:silver"