Difference between revisions of "Template:TNA"

From The Dreadnought Project
Jump to: navigation, search
(Created page with "<includeonly>The National Archives. [http://discovery.nationalarchives.gov.uk/SearchUI/s/res?_q={{{1}}} {{{1}}}]</includeonly><noinclude><nowiki>Usage: {{TNA|ADM 189/20}}</nowik...")
 
(test for better format when the catid is not supplied. simple view, 1000 records in one page!)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>The National Archives. [http://discovery.nationalarchives.gov.uk/SearchUI/s/res?_q={{{1}}} {{{1}}}]</includeonly><noinclude><nowiki>Usage:  {{TNA|ADM 189/20}}</nowiki><br>creates a link to the holding whose reference is the first parameter, using the new Discovery system in place at TNA, in this case: {{TNA|ADM 189/20}}</noinclude>
+
<includeonly>The National Archives. {{#if:{{{2|}}}|[http://discovery.nationalarchives.gov.uk/SearchUI/details/{{{2}}} {{{1}}}]|[http://discovery.nationalarchives.gov.uk/SearchUI/s/res?_rv=simple&_ps=1000&_q={{#replace:{{{1}}}| |+}} {{{1}}}]}}</includeonly><noinclude><nowiki>Usage:  {{TNA|ADM 189/31}} or {{TNA|ADM 189/31|C2156577}}</nowiki><br>creates a link to the holding whose reference is the first parameter, using the new Discovery system in place at TNA.  If a second, optional parameter is supplied, it is treated as that mysterious second database index the Discovery web server uses to push to the second, more detailed order page.</noinclude>

Latest revision as of 12:29, 25 October 2012

Usage: {{TNA|ADM 189/31}} or {{TNA|ADM 189/31|C2156577}}
creates a link to the holding whose reference is the first parameter, using the new Discovery system in place at TNA. If a second, optional parameter is supplied, it is treated as that mysterious second database index the Discovery web server uses to push to the second, more detailed order page.