Template:NRISref

From HandWiki

"National Register Information System". National Register of Historic Places. National Park Service. https://npgallery.nps.gov/NRHP.  Warning: Template:NRISref used with invalid value for version= parameter (help).

Template documentation[view] [edit] [history] [purge]

This template provides a standardized inline reference for the National Register of Historic Places' NRIS database as a source.

Usage

Template syntax is as follows:

{{NRISref |version=see below for available database versions |dateform=format |accessdate=date |link=no |refnum=NRIS ID |name=title}}

For example, {{NRISref|2013a|dateform=mdy|accessdate=May 18, 2024|refnum=66000030|name=Lincoln Memorial}} renders:

"National Register Information System – Lincoln Memorial (#66000030)". National Register of Historic Places. National Park Service. November 2, 2013. https://npgallery.nps.gov/AssetDetail/NRIS/66000030. Retrieved May 18, 2024. 

Parameters

Acceptable values for the |version= parameter represent specific versions of the NRIS database:

  • 2013a: Database released November 2013, with changes up to September 30, 2014.
  • 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 (now a deadlink).
  • 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 in |version= is incorrectly specified or missing, the article is added to Category:NRISref errors. There are currently 0 pages in the error category.

Optional parameters

  • |dateform=
    • "dmy" gives 9 July 2010
    • "mdy" gives July 9, 2010, this is the default if no dateform is specified.
    • "ymd" and "iso" give 2010-07-09
  • |accessdate= - Set this to the date on which the database was accessed.
  • |link= - Setting this to no removes links to the database download website.
  • |refnum= - Setting this to the NRIS ID creates a link to the specific page on the database.
  • |name= - Setting this to the title of the property adds a name to the link created by refnum.

Tracking categories

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for NRISref

This template provides a standardized inline reference for the National Register of Historic Places' NRIS database as a source.
ParameterDescriptionTypeStatus
Database versionversion
1
One of the database versions in the list on this template's page.
Stringrequired
Namename
Name of the historic place
Example
Lincoln Memorial
Stringsuggested
NRIS reference numberrefnum
The NRIS ID used to create the database link.
Example
66000030
Numbersuggested
Access dateaccessdate
access-date
Set this to the date on which the database was accessed.
Datesuggested
Date formatdateform
2
Setting this to "dmy" gives 9 July 2010, "mdy" gives July 9, 2010, and both "ymd" and "iso" give the default 2010-07-09.
Stringoptional
Demo mode.demo
Disables error checking (with any content); do not use in article space.
Unknownoptional

Format: inline

Test of raw TemplateData output:

This template provides a standardized inline reference for the National Register of Historic Places' NRIS database as a source.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Database versionversion 1

One of the database versions in the list on this template's page.

Stringrequired
Namename

Name of the historic place

Example
Lincoln Memorial
Stringsuggested
NRIS reference numberrefnum

The NRIS ID used to create the database link.

Example
66000030
Numbersuggested
Access dateaccessdate access-date

Set this to the date on which the database was accessed.

Datesuggested
Date formatdateform 2

Setting this to "dmy" gives 9 July 2010, "mdy" gives July 9, 2010, and both "ymd" and "iso" give the default 2010-07-09.

Stringoptional
Link to NPS articlelink

If not set to no, a link will be created to the National Park Service and National Register of Historic Places articles.

Unknownoptional
Demo mode.demo

Disables error checking (with any content); do not use in article space.

Unknownoptional