To request editing rights on the Wiki, click here.

FamilySearch Wiki:WikiProject Oklahoma Historical Population

From FamilySearch Wiki
Jump to navigation Jump to search

Oklahoma Project PageGotoarrow.png Tables and templates Gotoarrow.png Historical Population Chart


Instructions[edit | edit source]

Step 1: Creating Historical Population Chart Code[edit | edit source]

{{Historical populations
|type = USA
|heading = Census
|footnote = Source: [http://zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz "Wikipedia.org".] 
|1800 |xxxx  
|1810 |xxxx  
|1820 |xxxx  
|1830 |xxxx  
|1840 |xxxx 
|1850 |xxxx  
|1860 |xxxx  
|1870 |xxxx  
|1880 |xxxx
|1890 |xxxx
|1900 |xxxx
|1910 |xxxx 
|1920 |xxxx 
|1930 |xxxx 
|1940 |xxxx 
|1950 |xxxx
|1960 |xxxx
|1970 |xxxx  
|1980 |xxxx  
|1990 |xxxx  
|2000 |xxxx
|2010 |xxxx
}}

1. Copy and paste the above wikitext code into your sandbox area and edit all the census data there. Then, when finished, paste the completed wikitext over to the county Wiki page.
2. The first number on each line represents the census year (1800, 1810, 1820, etc). The "xxxx" represents the population number for that census (usually a 3-6 digit number WITHOUT commas). The percent of increase/decrease will be calculated automatically when the chart is embedded on the Wiki page.

The population numbers go immediately after the second pipe, with no space.
Example:

1890 |791

1900 |1043

Step 2: Retrieve the census populations.[edit | edit source]

1. The data can be obtained by going to the county on Wikipedia.
2. Go to the heading, Demographics and copy the information into your chart on your sandbox wiki page.
You are only concerned with the population number, which is the middle column on the wikipedia table. The percentages will calculate automatically when you save your work. NOTE: Not all tables will begin with the year 1800. Delete the lines of code up to the year that your population count starts.
3. When you are finished, copy the URL and paste it into the "zzzzzzzz" section on the template.

Step 3: Instructions for Inserting the Completed Chart onto the County Wiki Page[edit | edit source]

1. If there is not a heading for Census on the county page, create one. Click "edit source" to edit the page.
2. Go to where the heading, Census would be alphabetically on the page.
3. Copy and paste in:
=== Census ===

3. On the line immediately following that, paste in your Hist/Pop box code from your sandbox page.
If there is already a census heading, put the chart directly below the existing heading. 4. Preview your page to be sure you have it inserted properly.
5. When your previewed changes look the way you want them to, then save your page.
6. Enter "added census chart" in the edit summary box at the bottom of the page. Always put your Hist/Pop Chart as the beginning information in the Census topic.
7. Once you have saved the page, go to the next county on your list.

Example[edit | edit source]

For an example of what this heading should look like when it is complete, click here.