Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
m (add property 'DocType')
m (correct talk/discussion links)
Line 54: Line 54:
 
<!-- Extra categories depending upon media type-->
 
<!-- Extra categories depending upon media type-->
 
{{#ifeq: {{{DocType|}}} | An email | [[Category:Emails]]| }}
 
{{#ifeq: {{{DocType|}}} | An email | [[Category:Emails]]| }}
{{#ifeq: {{{DocType|}}} | A speech | [[Category:Speeches]]| }}{{#ifexist: Discussion_talk:{{PAGENAME}} | [[Discussion_talk:{{PAGENAME}} | ★ Join the Discussion about this document]] | [[Discussion_talk:{{PAGENAME}} | ★ Start a Discussion about this document]]}}</includeonly>
+
{{#ifeq: {{{DocType|}}} | A speech | [[Category:Speeches]]| }}{{#ifexist: Document_talk:{{PAGENAME}} | [[Document_talk:{{PAGENAME}} | ★ Join the Discussion about this document]] | [[Document_talk:{{PAGENAME}} | ★ Start a Discussion about this document]]}}</includeonly>

Revision as of 20:24, 27 November 2013

'Document Provenance' information. The template should be the first item on Document pages. See also template:FileProv

Usage:

{{DocProv
EITHER
 |Date=
OR
 |DateYear=
 |DateMonth=
 |DateDay=
AND:
|DocType=A {report, article, essay, paper, chapter, letter, memo etc.}
|Source=Link to the original copy (If omitted, the document is assigned to the Category:Unsourced Documents)
|Subject=What the document is about (Ideally a Wikispooks pagename)
|Local=Address of the wikispooks copy - not a link (It will automatically show as a link if a page exists)
|Author=The name of the author
OPTIONAL DETAILS:
|Author2=... |Author3=... |Author4=... For more authors
|Recipient=For emails, letters, speeches etc.
|Recipient2=... |Recipient3=... |Recipient4= ...
|RecipientDetail=Short note about the recipient
|AuthorDetail=Short note about the author, (e.g. "Home Office accredited forensic pathologist")
|Author2Detail=Short note about the author2
|Author3Detail=Short note about the author3
|Author4Detail=Short note about the author4
|AuthorType=Explanatory note about authorship, e.g. "alleged"
OPTIONAL NOTE:
|Note=
OPTIONAL SUBSECTIONS:
|AuthorsNote= Author's Note subsection
|Comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|Image=
|SeeAlso= See Also subsection (Use for related pages which cannot be linked in from the text)
|Leaked=1 (Use for leaked documents)
|Review=1 (Use for book/film etc reviews)
|Notoc=1 (Use for suppress the table of contents)
}}