Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
m (whitespace)
m (add ContentsTitle (mainly for existing files that used FileProv))
Line 19: Line 19:
 
|{{BLUE|Subject}}=What the document is about
 
|{{BLUE|Subject}}=What the document is about
 
|{{BLUE|Author}}=The name of the author. For a pseudonym, use single quotes. If anonymous, use ''Unknown''
 
|{{BLUE|Author}}=The name of the author. For a pseudonym, use single quotes. If anonymous, use ''Unknown''
 +
|ContentsTitle=
 
''OPTIONAL DETAILS:''
 
''OPTIONAL DETAILS:''
 
|Badge= ''The name of an existing [[:category:Badge Templates|badge template]], e.g. "[[template:CryptomeBadge|CryptomeBadge]]"''
 
|Badge= ''The name of an existing [[:category:Badge Templates|badge template]], e.g. "[[template:CryptomeBadge|CryptomeBadge]]"''
Line 61: Line 62:
 
----
 
----
 
{{{SeeAlso}}} |}}</div>
 
{{{SeeAlso}}} |}}</div>
 +
{{#if: {{{ContentsTitle|}}} <br/>=={{{ContentsTitle}}}== | }}
 
[[Category:Doc]]{{#ifeq: {{{Leaked|}}} | Yes | [[Category:Leaked Documents]] |}} [[Category:Doc]]{{#ifeq: {{{Leaked|}}} | Yes | [[Category:Leaked Documents]] |}} {{#if: {{{DateYear|}}} | {{DateCategory|Date={{{DateYear|}}}}} | {{DateCategory|Date={{#time: Y | {{{Date|}}} }} }} }}
 
[[Category:Doc]]{{#ifeq: {{{Leaked|}}} | Yes | [[Category:Leaked Documents]] |}} [[Category:Doc]]{{#ifeq: {{{Leaked|}}} | Yes | [[Category:Leaked Documents]] |}} {{#if: {{{DateYear|}}} | {{DateCategory|Date={{{DateYear|}}}}} | {{DateCategory|Date={{#time: Y | {{{Date|}}} }} }} }}
 
{{#ifexist: Document_talk:{{PAGENAME}} | [[Document_talk:{{PAGENAME}} | ★ Join the Discussion about this document]] | [[Document_talk:{{PAGENAME}} | ★ Start a Discussion about this document]]}}</includeonly>
 
{{#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 12:53, 20 December 2013

'Document Provenance' information. The template should be the first item on Document pages. See also template:FileProv.
The blue parameters not be marked up at all; they should be Wikispooks page names (whether or not the page yet exists).
Usage:

{{DocProv
EITHER
 |Date=
OR
 |DateYear=
 |DateMonth=
 |DateDay=


ESSENTIAL DETAILS
|DocType={article, essay, paper, chapter, letter, memo etc.}
|SourceURL=URL of the source, if it is available online
|SourceName=General name of the source, e.g. "Unwelcome Guests", "Cryptome", ...
|Local=Address of the wikispooks copy
|Subject=What the document is about
|Author=The name of the author. For a pseudonym, use single quotes. If anonymous, use Unknown
|ContentsTitle=
OPTIONAL DETAILS:
|Badge= The name of an existing badge template, e.g. "CryptomeBadge"
|SourceDetail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"...
|Source2URL=... |SourceName2=... |SourceDetail2=... For more sources (Only 2 sources supported at the moment)
|Subject2= |Subject3=... For more subjects
|Author2=... |Author3=... For more authors
|Recipient= For emails, letters, speeches etc.
|Recipient2=... |Recipient3=... For more recipients
|Image=
|RecipientDetail=Short note about recipient #1
|AuthorDetail= Short note about the author, (e.g. "Home Office accredited forensic pathologist")
|Author2Detail=Short note about the author2
|Classification=Original security classification, e.g. "official", "secret", "top secret"...
|ClassificationDetail= Optional note about the security classification
|Leaked=Yes (Use for leaked documents)
|Declassified=Yes (Use for declassified documents)
|DeclassifiedDetail= Optional Note about the declassification
|AuthorType=Explanatory note about authorship, e.g. "alleged"
FOR FOREIGN TRANSLATIONS:
|OriginalLanguage=Language name for non-English originals
|OriginalTitle=The title of the original document
|Translator=Who translated it
|TranslatorDetail=Short note on the translator
OPTIONAL NOTE:
|Note=
OPTIONAL SUBSECTIONS:
|AuthorsNote= Author's Note subsection
|Comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|SeeAlso= See Also subsection (Use for related pages which cannot be linked in from the text)
}}