Template:NRHP header/doc
This is a documentation subpage for Template:NRHP header. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Header template to structure lists of National Register of Historic Places. If you change this template you probably want to take a look at {{NRHP row}} too. This template is made in a way it can be harvested by a bot for Wiki Loves Monuments.
Usage
[edit]Just add {{NRHP header}} at the start of a list. Example:
[1] | Name on the Register | Image | Date listed[2] | Location | City or town | Description |
---|
You can override city or town with something more suitable. Example:
For example, add {{NRHP header|city=Neighborhood}} to change it to Neighborhood:
[1] | Name on the Register | Image | Date listed[2] | Location | Neighborhood | Description |
---|
You can also completely remove the city or town column. This only works if this field is turned on in the header and all the rows of the table.
For example, add {{NRHP header|nocity=1}} to remove the column:
[1] | Name on the Register | Image | Date listed[2] | Location | Description |
---|
You can add a table-identifying caption with the |caption parameter to meet accessibility requirements; use caption_text if it would be similar to a nearby section header to make screen reader software-only.
[1] | Name on the Register | Image | Date listed[2] | Location | City or town | Description |
---|
TemplateData
[edit]TemplateData for NRHP header
Produces a table of National Register of Historic Places listings. This template should be used with {{NRHP row}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
group | group | no description | Unknown | optional |
NRISref | NRISref | no description | Unknown | optional |
dateform | dateform | no description | Unknown | optional |
access-date | access-date | no description | Unknown | optional |
accessdate | accessdate | no description | Unknown | optional |
Remove city column? | nocity | If you set this to "1", the "City or town" column disappears.
| String | optional |
City or neighborhood? | city | If this parameter is specified, the "City or town" column is changed to the value of this parameter.
| String | optional |
Remove county column? | nocounty | If you set this parameter, the "County" column is removed. | Unknown | optional |
county | county | no description | Unknown | optional |
Add a caption | caption | Add a caption to the table for accessibility. | Unknown | optional |
See also
[edit]- Template:NRHP row, the row template to use in combination with this header template
- Template:NRHP former header, header template to be used in tables of former listings
- ^ a b c d Numbers represent an alphabetical ordering by significant words. Various colorings, defined here, differentiate National Historic Landmarks and historic districts from other NRHP buildings, structures, sites or objects.
- ^ a b c d The eight-digit number below each date is the number assigned to each location in the National Register Information System database, which can be viewed by clicking the number.
<templatedata>