Difference between revisions of "Template:TNA"

From The Dreadnought Project
Jump to navigationJump to search
(test for better format when the catid is not supplied. simple view, 1000 records in one page!)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>The National Archives. #if:{{{2|}}}|[http://discovery.nationalarchives.gov.uk/SearchUI/details/{{{2}}} {{{1}}}]|[http://discovery.nationalarchives.gov.uk/SearchUI/s/res?_q={{#replace:{{{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.  If a second, optional parameter is supplied, it is treated as a CATID and a more specific search result is obtained.</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 16: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.