Difference between revisions of "Template:War diary TNA/doc"

From Linking experiences of World War One
Jump to: navigation, search
m (tidying up)
m (updating parameter order)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{WarDiaryTNA
 
{{WarDiaryTNA
 +
| url =
 
| ref =
 
| ref =
| url =
 
 
| start_date =
 
| start_date =
 
| end_date =
 
| end_date =
Line 14: Line 14:
 
Parameter names can be omitted if the values are entered in this order.
 
Parameter names can be omitted if the values are entered in this order.
  
 +
*'''url''' &ndash; full URL of a Discovery resource corresponding to the catalogue reference. For example: <nowiki>http://discovery.nationalarchives.gov.uk/details/r/C1787810</nowiki>
 
*'''ref''' &ndash; full catalogue reference, including series. This will usually be WO 95 but can also be WO 154. You can refer to a single item, a single piece, or a sub-series covering a range of pieces, as long as there is a Discovery URL for the reference. Examples:
 
*'''ref''' &ndash; full catalogue reference, including series. This will usually be WO 95 but can also be WO 154. You can refer to a single item, a single piece, or a sub-series covering a range of pieces, as long as there is a Discovery URL for the reference. Examples:
 
**WO 95/2691/2
 
**WO 95/2691/2
Line 19: Line 20:
 
**WO 95/2662-2695
 
**WO 95/2662-2695
 
**WO 154/59
 
**WO 154/59
*'''url''' &ndash; full URL of a Discovery resource corresponding to the catalogue reference. For example: <nowiki>http://discovery.nationalarchives.gov.uk/details/r/C1787810</nowiki>
 
 
*'''start_date''' &ndash; earliest date covered by the diaries with the specified catalogue reference.
 
*'''start_date''' &ndash; earliest date covered by the diaries with the specified catalogue reference.
 
*'''end_date''' &ndash; latest date covered by the diaries with the specified catalogue reference.
 
*'''end_date''' &ndash; latest date covered by the diaries with the specified catalogue reference.

Revision as of 08:18, 5 January 2015

Usage

This template should be used under the War Diary heading in the body of a page if a unit or formation has official war diaries at the UK National Archives.

{{WarDiaryTNA
| url =
| ref =
| start_date =
| end_date =
}}

Parameter names can be omitted if the values are entered in this order.

  • url – full URL of a Discovery resource corresponding to the catalogue reference. For example: http://discovery.nationalarchives.gov.uk/details/r/C1787810
  • ref – full catalogue reference, including series. This will usually be WO 95 but can also be WO 154. You can refer to a single item, a single piece, or a sub-series covering a range of pieces, as long as there is a Discovery URL for the reference. Examples:
    • WO 95/2691/2
    • WO 95/2686
    • WO 95/2662-2695
    • WO 154/59
  • start_date – earliest date covered by the diaries with the specified catalogue reference.
  • end_date – latest date covered by the diaries with the specified catalogue reference.

This template can be used more than once on the same page if the unit has diaries under several different references. It automatically adds Category:Units with official war diaries.