Template:Header: Difference between revisions
From ArchiveWiki
Jump to navigationJump to search
Add owner field |
No edit summary |
||
| Line 1: | Line 1: | ||
==={{{title}}}=== | <includeonly>==={{{title}}}=== | ||
<table class="toc colour" style="background: #EEEEEE;"><!-- | <table class="toc colour" style="background: #EEEEEE;"><!-- | ||
| Line 17: | Line 17: | ||
-->{{#if: {{{series|}}} | <tr><td>'''File base'''</td><td>[[:Category:Series {{{series}}}|Series {{{series}}}]]{{#if: {{{subseries|}}} | , [[:Category:Subseries {{{series}}} {{{subseries}}}|subseries {{{series}}} {{{subseries}}}]]}}</td></tr>}} | -->{{#if: {{{series|}}} | <tr><td>'''File base'''</td><td>[[:Category:Series {{{series}}}|Series {{{series}}}]]{{#if: {{{subseries|}}} | , [[:Category:Subseries {{{series}}} {{{subseries}}}|subseries {{{series}}} {{{subseries}}}]]}}</td></tr>}} | ||
</table><noinclude>This template allows you to insert a standardised table of information at the top of a file listing page, including the file title in big | </table>__NOTOC__</includeonly><noinclude>This template allows you to insert a standardised table of information at the top of a file listing page, including the file title in big letters. | ||
==How to use it== | |||
For '''files at the National Archives''' use these parameters: | |||
<pre>{{Header | |||
| title = | |||
| daterange = | |||
| nacatref = | |||
| series = | |||
| subseries = | |||
}}</pre> | |||
For '''files held anywhere else''' use these: | |||
<pre>{{Header | |||
| title = | |||
| daterange = | |||
| location = | |||
| catlink = | |||
}}</pre> | |||
==Those parameters in full== | |||
{| | |||
|'''title''' | |||
|The title of the file, exactly as the archive publishes it. Use for all files. | |||
|- | |||
|'''daterange''' | |||
|The dates the file refers to, as the archive publishes them. Use for all files. ''Optional.'' | |||
|- | |||
|'''location''' | |||
|The host organisation, with name exactly as written for its category. This field is filled in automatically for National Archives files. | |||
|- | |||
|'''catlink''' | |||
|The complete URL of the file's page on the archive's website. For non-National Archives files only. ''Optional.'' | |||
|- | |||
|'''nacatref''' | |||
|The National Archives has a 5, 6 or 7-digit number referring to each file on its online catalogue. Copy this number (after "&CATREF=" in the URL) and use it here. The rest of the link is automatically generated. | |||
|- | |||
|'''series''' | |||
|The file series - usually at the National Archives but can be used anywhere. Use only the opening part. For [[:Category:Series MT]] at the National Archives, you only need to write ''MT'' here. ''Optional.'' | |||
|- | |||
|'''subseries''' | |||
|The file subseries, in the same way as above. For [[:Category:Subseries MT 95]] at the National Archives, you only need to write ''95'' here. This field will not appear unless a '''series''' is also given. ''Optional.'' | |||
</noinclude> | |||
Revision as of 18:01, 1 December 2009
This template allows you to insert a standardised table of information at the top of a file listing page, including the file title in big letters.
How to use it
For files at the National Archives use these parameters:
{{Header
| title =
| daterange =
| nacatref =
| series =
| subseries =
}}
For files held anywhere else use these:
{{Header
| title =
| daterange =
| location =
| catlink =
}}
Those parameters in full
| title | The title of the file, exactly as the archive publishes it. Use for all files. |
| daterange | The dates the file refers to, as the archive publishes them. Use for all files. Optional. |
| location | The host organisation, with name exactly as written for its category. This field is filled in automatically for National Archives files. |
| catlink | The complete URL of the file's page on the archive's website. For non-National Archives files only. Optional. |
| nacatref | The National Archives has a 5, 6 or 7-digit number referring to each file on its online catalogue. Copy this number (after "&CATREF=" in the URL) and use it here. The rest of the link is automatically generated. |
| series | The file series - usually at the National Archives but can be used anywhere. Use only the opening part. For Category:Series MT at the National Archives, you only need to write MT here. Optional. |
| subseries | The file subseries, in the same way as above. For Category:Subseries MT 95 at the National Archives, you only need to write 95 here. This field will not appear unless a series is also given. Optional. |