Template:Header: Difference between revisions

From ArchiveWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 37: Line 37:
| location  =  
| location  =  
| catlink  =  
| catlink  =  
}}</pre>
For '''files owned by you''' use these:
<pre>{{Header
| title    =
| daterange =
| owner    =
}}</pre>
}}</pre>


Line 62: Line 70:
|'''subseries'''
|'''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.''
|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.''
|-
|'''owner'''
|The username of the file's owner. It will be automatically turned into a link to the user's page. ''Optional.''
</noinclude>
</noinclude>

Revision as of 18:12, 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   = 
}}

For files owned by you use these:

{{Header
| title     = 
| daterange = 
| owner     = 
}}

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.
owner The username of the file's owner. It will be automatically turned into a link to the user's page. Optional.