Template:Cite census: Difference between revisions

From Koen Family Research Log
Jump to navigation Jump to search
Create reusable census citation template (via create-page on MediaWiki MCP Server)
 
Fix census citation rendering and add household identifiers (via update-page on MediaWiki MCP Server)
 
Line 1: Line 1:
<includeonly>{{#if:{{{year|}}}|{{{year}}} U.S. census|U.S. census}}{{#if:{{{jurisdiction|}}}|, {{{jurisdiction}}}}}{{#if:{{{county|}}}|, {{{county}}}}}{{#if:{{{locality|}}}|, {{{locality}}}}}, {{#if:{{{schedule|}}}|{{{schedule}}} schedule|population schedule}}{{#if:{{{enumeration_district|}}}|, enumeration district {{{enumeration_district}}}}}{{#if:{{{page|}}}|, page {{{page}}}}}{{#if:{{{sheet|}}}|, sheet {{{sheet}}}}}{{#if:{{{line|}}}|, line {{{line}}}}}{{#if:{{{household|}}}|, household of {{{household}}}}}; {{#if:{{{repository|}}}|{{{repository}}}|National Archives and Records Administration}}{{#if:{{{publication|}}}|, publication {{{publication}}}}}{{#if:{{{roll|}}}|, roll {{{roll}}}}}{{#if:{{{provider|}}}|; digital image, {{{provider}}}}}{{#if:{{{collection|}}}|, ''{{{collection}}}''}}{{#if:{{{url|}}}| ([{{{url}}} URL] : accessed {{{accessed|date not supplied}}})|{{#if:{{{accessed|}}}| (accessed {{{accessed}}})}}}}{{#if:{{{note|}}}|. {{{note}}}}}. </includeonly><noinclude>
<includeonly>{{#if:{{{year|}}}|{{{year}}} U.S. census|U.S. census}}{{#if:{{{jurisdiction|}}}|, {{{jurisdiction}}}}}{{#if:{{{county|}}}|, {{{county}}}}}{{#if:{{{locality|}}}|, {{{locality}}}}}, {{#if:{{{schedule|}}}|{{{schedule}}} schedule|population schedule}}{{#if:{{{enumeration_district|}}}|, enumeration district {{{enumeration_district}}}}}{{#if:{{{page|}}}|, page {{{page}}}}}{{#if:{{{sheet|}}}|, sheet {{{sheet}}}}}{{#if:{{{line|}}}|, line {{{line}}}}}{{#if:{{{dwelling|}}}|, dwelling {{{dwelling}}}}}{{#if:{{{family|}}}|, family {{{family}}}}}{{#if:{{{household|}}}|, household of {{{household}}}}}; {{#if:{{{repository|}}}|{{{repository}}}|National Archives and Records Administration}}{{#if:{{{publication|}}}|, publication {{{publication}}}}}{{#if:{{{roll|}}}|, roll {{{roll}}}}}{{#if:{{{provider|}}}|; digital image, {{{provider}}}}}{{#if:{{{collection|}}}|, ''{{{collection}}}''}}{{#if:{{{url|}}}| ({{{url}}} : accessed {{{accessed|date not supplied}}})|{{#if:{{{accessed|}}}| (accessed {{{accessed}}})}}}}{{#if:{{{note|}}}|. {{{note}}}}}</includeonly><noinclude>
== Usage ==
== Usage ==


Line 13: Line 13:
| sheet =
| sheet =
| line =
| line =
| dwelling =
| family =
| household =
| household =
| repository = National Archives and Records Administration
| repository = National Archives and Records Administration

Latest revision as of 19:35, 27 August 2026

Usage

{{Cite census
| year =
| jurisdiction =
| county =
| locality =
| schedule = Population
| enumeration_district =
| page =
| sheet =
| line =
| dwelling =
| family =
| household =
| repository = National Archives and Records Administration
| publication =
| roll =
| provider =
| collection =
| url =
| accessed =
| note =
}}

Use this template for a specific census item, not merely to cite a census year. Supply the image-level details available from the record. Do not use an index entry as though it were an image; identify derivative-only evidence in the `note` field.

Minimum recommended fields are `year`, `jurisdiction`, `schedule`, `page` or `sheet`, `repository`, and `accessed`. Fields vary by year and provider, so all parameters are optional.