Help:Basic charts and tables
| Tool Box |
|---|
| Writing tips |
| Templates • Charts Categories • Footnotes Videos • Images Links Writing • Cheatsheet Discussions |
| Community • Portals |
Charts and tables are graphic elements that present information to readers in a simplified way. This article explains how to build manually created tables on Judgepedia.
First, some examples of pages that use manually created charts:
Simple tables
This is an example one kind of basic tabls:
| Court | Active judges | Retired judges |
|---|---|---|
| North Dakota | 18 | 14 |
| South Dakota | 11 | 22 |
| Nebraska | 15 | 32 |
And another:
| State | Number of trial court judges | Levels of courts |
|---|---|---|
| Alabama | 325 | 3 |
| Alaska | 59 | 2 |
| Arizona | 271 | 2 |
The easiest way to build a similar chart is to view the edit screen of this section and copy the chart code, replacing the headers as appropriate for the type of information you are charting.
Complex chart
Here's an example of a more complex chart:
| Name | Appointed | Term expires | Appointed by | Party affiliation |
|---|---|---|---|---|
| Warren Matthews | 1977 | 2010 | Jay Hammond (Republican) | - |
| Robert Eastaugh | 1994 | 2018 | Walter Hickel (Republican) | - |
The easiest way to build a chart like that is to copy the code from this page and make changes as needed to the names of the columns and the contents of the rows.
A few notes, though:
- The cells in the rows are divided by two pipes, like this: ||
- The final cell in each row doesn't need a closing set of pipes.
- Wikipedia's article on colors includes the hex triplet numbers you can use to create a different color in the header.
Here's the same chart as above but with a different color:
| Name | Appointed | Term expires | Appointed by | Party affiliation |
|---|---|---|---|---|
| Warren Matthews | 1977 | 2010 | Jay Hammond (Republican) | - |
| Robert Eastaugh | 1994 | 2018 | Walter Hickel (Republican) | - |
And here it is again with a different color in every column header:
| Name | Appointed | Term expires | Appointed by | Party affiliation |
|---|---|---|---|---|
| Warren Matthews | 1977 | 2010 | Jay Hammond (Republican) | - |
| Robert Eastaugh | 1994 | 2018 | Walter Hickel (Republican) | - |
Advanced tables
For more advanced editing, including DPL generated tables, see: Help:Wikitables vs HTML tables.