Template:OHC NRHP/doc

The Ohio History Connection, which serves as Ohio's state historic preservation office, maintains a simple profile page for each Ohio location (with only a few exceptions) that is listed on the National Register of Historic Places. This template provides a simple method of linking to these profiles.

The URLs for all profile pages follow a simple pattern, http://nr.ohpo.org/Details.aspx?refnum=XXXXXXXX, where "XXXXXXXX" is the eight-digit National Register reference number for the location. Whatever is entered in the first parameter will replace the "XXXXXXXX". Inclusion is mandatory, because the template will not provide a complete URL without this number. Because the template automatically supplies brackets and the remainder of the URL, the second parameter provides the text that will be displayed as the link, and omitting the parameter will cause the link to display as. Because no content is supplied other than the link, this template will work equally well in a citation and as an external link.

Examples

 * and result in Words, which displays as .  This format should always be used.
 * and result in , which displays as .  This format is not ideal, but it will suffice for a link.
 * results in, which displays as  — this links to the OCH's database search page.
 * results in, which displays as  and links to a nonexistent page.  This is the result of omitting the reference number but supplying the name, without specifying that it fills the second parameter.
 * results in, which displays as  — again, a nonexistent page.