Template:NRISref/doc
This is a documentation subpage for Template:NRISref. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeThis template provides a standardized inline reference for the National Register of Historic Places' NRIS database as a source. Template syntax is as follows:
{{NRISref|version=database|dateform=format|accessdate=date|nolink=yes/no}}
With a standard output of:
"National Register Information System". National Register of Historic Places. National Park Service. 2007-01-23. Retrieved 1 January 2020.
Database versions
changeThere are several acceptable values for the |version=
parameter, representing specific versions of the NRIS database:
- 2021: Database released in 2021, with changes up to 1 June 2021.
- 2013a:Database released in 2013.
- 2010a: Database released December 2010, with changes up to July 9, 2010.
- 2009a: Database available until July 2010, with changes up to March 13, 2009. Used in probably 10,000+ wikipedia articles. It was soon reuploaded on the NPS Focus website at http://nrhp.focus.nps.gov/natreg/docs/All_Data.html.
- 2008b: Database containing updates through April 24, 2008. Used in 1,206 articles that still included this as of January 2011 (according to this report).
- 2008a: Database containing updates through April 15, 2008. Used in several thousand wikipedia articles.
- 2007b: Database containing updates through June 30, 2007. Used in 296 wikipedia articles as of January 2011.
- 2007a: Database containing updates through January 23, 2007. Used in several thousand wikipedia articles.
- 2006a: Database containing updates through March 15, 2006. Used in 315 wikipedia articles as of January 2011.
Any year in which only one database version is present may drop the "a" at the end (e.g. "2010" will work in place of "2010a"). It is also possible to simply make the database the first unnamed parameter used in the template (e.g. {{NRISref|2009a}} works exactly the same as {{NRISref|version=2009a}}). If the database value is incorrectly specified (e.g. the database parameter contains an access date), the article is added to Category:NRISref errors. There are currently 0 articles in the error category.
Optional parameters
change|dateform=
- Setting this to "dmy" gives 9 July 2010, "mdy" gives July 9, 2010, and both "ymd" and "iso" give the default 2010-07-09|accessdate=
- Set this to the date on which the database was accessed.|nolink=
- Setting this to any value removes the link to the database download website.