Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
m (t)
m (t)
Line 63: Line 63:
 
{{{SeeAlso}}} |}}</div>
 
{{{SeeAlso}}} |}}</div>
 
[[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]]}} {{#if: {{{ContentsTitle|}}} | <br/><br/>=={{{ContentsTitle}}}== |}}</includeonly>
+
{{#ifexist: Document_talk:{{PAGENAME}} | [[Document_talk:{{PAGENAME}} | ★ Join the Discussion about this document]] | [[Document_talk:{{PAGENAME}} | ★ Start a Discussion about this document]]}} {{#if: {{{ContentsTitle|}}} | <br/><br/><big.<big>{{{ContentsTitle}}}</big></big> |}}
 +
----
 +
</includeonly>

Revision as of 13:07, 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=Mainly for backward FileProv compatibility but useable for new Documents too
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)
}}