Template:NRHP url/doc

The purpose of this template is to provide a single location for the base url that links to the nps.gov website. In the event that the base url is changed at nps.gov, a single change here corrects thousands of broken links.

This template uses. When it becomes necessary to change the base url, that change is made at.

Usage
This template takes three parameters:
 * id – (required) the 'file name' without the .pdf extension
 * title – (optional) the title of the linked document
 * photos – (optional) when linking to a file in the Photos folder, setting y will modify the url path

Parameter names are not required. When not used, the positional order is:

When title is empty or omitted, the template produces a url suitable for use in and  templates.

With a title, the template produces a properly marked up external wikilink:

To link to the associated photos:

To create a plain url link to the associated photos:

or, when using positional parameters: