AoPSWiki
Want to learn how to tackle those tough MATHCOUNTS and AMC counting and probability problems? Check out Art of Problem Solving's Introduction to Counting & Probability by David Patrick.
Personal tools

Help:Tables

From AoPSWiki

Outside of the normal HTML table syntax, there is separate wikisyntax specifically for tables. (both wikitables and regular HTML tables can be used on this wiki)

Tables are started by {| and ended by |}. A new row is denoted by |-, while a new cell is denoted by | on a new line and || if there is more than one cell on a line.

After the declaration of any new row or cell, any number of HTML attributes can be added in standard form, as long as they are finished by another pipe: |

The following is the basic syntax for tables:

{| style="background:yellow; border:1px solid black"
|+ Caption for the table
|- <!-- Start of a new row -->
| style =”width:75%” | The first cell || The second cell
|-
| An alternative scheme for cells
|Second cell
|}

This produces:

Caption for the table
The first cell The second cell
An alternative scheme for cells Second cell

This article is a tutorial about the AoPSWiki or AoPS Forum.

Art of Problem Solving's Calculus course starts on October 14. This is a full course in calculus, and includes calculus up through and beyond that needed for success in AP Calculus BC. Click here to enroll today!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us