This is a documentation subpage for Template:NRHP navigation box. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 8,800 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. |
Usage
editThis template is the master template for all of the National Register of Historic Places templates. A sample is shown here:
{{NRHP navigation box
| name = NRHP in Wagoner County, Oklahoma
| county = Wagoner County
| state = Oklahoma
| listclass = hlist
| map = Map of Oklahoma highlighting Wagoner County.svg
| below = Oklahoma
| title1 = [[Coweta, Oklahoma|Coweta]]
| body1 =
* [[First Presbyterian Church (Coweta, Oklahoma)|First Presbyterian Church of Coweta]]
* [[Koweta Mission Site]]
| title2 = [[Okay, Oklahoma|Okay]]
| body2 =
* [[Rio Grande Ranch Headquarters Historic District]]
| title3 = [[Porter, Oklahoma|Porter]]
| body3 =
* [[Van Tuyl Homeplace]]
| title4 = [[Redbird, Oklahoma|Redbird]]
| body4 =
* [[Miller-Washington School]]
* [[Redbird City Hall]]
| title5 = [[Tullahassee, Oklahoma|Tullahassee]]
| body5 =
* [[A. J. Mason Building]]
* [[Tullahassee Mission Site]]
| title6 = [[Wagoner, Oklahoma|Wagoner]]
| body6 =
* [[Amos Parkinson House]]
* [[Cobb Building (Wagoner, Oklahoma)|Cobb Building]]
* [[Collin McKinney House]]
* [[First National Bank of Wagoner]]
* [[Frederick Parkinson House]]
* [[John W. Gibson House]]
* [[Newport Hotel and Restaurant]]
* [[St. James Episcopal Church (Wagoner, Oklahoma)|St James Episcopal Church]]
* [[Wagoner Armory]]
* [[William McAnally House]]
* [[Way House (Wagoner, Oklahoma)|Way House]]
}}
Blank Template
editHere is a blank version you can use, just copy, paste and enter the parameters.
{{NRHP navigation box
| name =
| county =
| state =
| map =
| title1 =
| body1 =
| title2 =
| body2 =
| title3 =
| body3 =
| title4 =
| body4 =
| title5 =
| body5 =
| title6 =
| body6 =
| title7 =
| body7 =
| title8 =
| body8 =
| title9 =
| body9 =
| title10 =
| body10 =
}}
|
Parameters
editThere are a total of 10 title/body pairs, so you can use up to "title10" and "body10" (of course, more can easily be added at any time).
Other optional parameters for special cases:
- map_size
- Use to set width of map image if different from default (currently 90px). Value is the number without "px", i.e.
| map_size = 80
- collapse_state
autocollapse
: (default) the navigation box will start out collapsed if there are two or more collapsible tables on the same page.collapsed
: the navigation box will always start out in a collapsed state.- blank or anything other than the above (
expanded
, etc.) : always start out in an expanded state.