Help:Charts
From Judgepedia
| Tool Box |
|---|
| Writing tips |
| Templates • Charts Categories • Footnotes Videos • Images Links Writing • Cheatsheet Discussions |
| Community • Portals |
This article discusses how to create some of the most common charts and tables in use on Judgepedia.
First, some examples of pages that use charts:
Complex chart
Here's an example:
| 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 (ouch!) 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) | - |
Simpler charts
To arrange names in columns and rows as in the article, Female chief justices of state supreme courts, you can just copy the code from that page and work with it in a different article.
|
|
|
|
|
|
|
Another way to arrange data in rows and columns that is very simple is like this:
| Court | Active judges | Retired judges |
|---|---|---|
| North Dakota | 18 | 14 |
| South Dakota | 11 | 22 |
| Nebraska | 15 | 32 |
