Template:Document

From Wikispooks
Revision as of 09:54, 27 May 2014 by Peter (talk | contribs) (fix)
Jump to navigation Jump to search

This template provides a standard format for documents. It must be included at the top of all pages in the document: namespace.
(The name "DocProv" is an abberviation for "Document Provenance", coined in the early days of the site before use of SMW).

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

Usage:

{{Document
ESSENTIAL DETAILS
|Date= PublicationDate (Property:Has publicationDate)
|DocType={article, essay, paper, book review, letter, memo etc.} (Property:Has documentType)
|SourceURL=URL of the source, if it is available online
|SourceName=General name of the source, e.g. "Unwelcome Guests", "Cryptome", ... (Property:Sourced from)
|Local=Address of the wikispooks copy (Property:Has localCopy)
|Authors= Comma separated list of authors
|Subjects= Comma separated list of subject items. For pseudonyms, use single quotes. If anonymous, use Unknown. (Property:Is about)
|Author=The name of the author. For pseudonyms, use single quotes. If anonymous, use Unknown. (Property:Has author)
OPTIONAL DETAILS:
|Description= A human readable plaintext description of less than 500 characters.(Property:Description)
<! -- |Subtitle=The subtitle, e.g. of a book -->
|DocTypeCollection=Yes (Use if this is a collection of documents)
|DocTypeDraft=Yes (Use for draft documents)
|Badge= The name of an existing badge template, e.g. "[[template:CryptomeBadge|]]"
|ContentsTitle=Mainly for backward FileProv compatibility but usable for new Documents too
|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
|Recipients= For emails, letters, speeches etc. (Property:Has recipient)

|Recipient= For emails, letters, speeches etc. (Property:Has recipient)
|Recipient2=... |Recipient3=... For more recipients
|Constitutes= For topics which this document is not about, but directly constitutes (e.g. "censorship", "war propaganda") (Property:Constitutes)
|ConstitutesDetail= Short note of explanation about the Constitutes parameter
|Constitutes2=... |Constitutes3=... For more things which this document constitutes
|Image=
|ImageWidth= The default value is "250px"
|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
|SubjectDetail=
|Subject2Detail= short note about Subject2 ... Subject3Detail=... for more subject details
|Classification=Original security classification, e.g. "official", "secret", "top secret"... (Property:Has classification)
|ClassificationDetail= Optional note about the security classification
|Leaked=Yes (Use for leaked documents)
|Declassified=Yes (Use for declassified documents)
|DeclassifiedDate=When the document was declassified
|DeclassifiedDetail= Optional Note about the declassification
|AuthorType=Explanatory note about authorship, e.g. "alleged"
|Version=For versioned documents
FOR FOREIGN TRANSLATIONS:
|OriginalLanguage=Language name for non-English originals (Property:Has originalLanguage)
|OriginalTitle=The title of the original document (Property:Has originalTitle)
|Translator=Who translated it (Property:Has translator)
|TranslatorDetail=Short note on the translator
FOR BOOKS:
|Webpage=URL of the book
|Review=Human readable short review of the book
|ReviewAuthor= Author of the book review
|PublisherURL=Web address of the publishers
|PublisherName=Name of the publishers
|PublisherDetail=Optional extra note about the publishers
OPTIONAL NOTES:
|Note=
|Credit= Note of thanks
OPTIONAL SUBSECTIONS:
|Wikipedia=Wikipedia URL Unimplemented as yet
|AuthorsNote= Author's Note subsection
|Comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|SubjectsDetail= note about subjects when preferred comma-delimited subject format is used
|SeeAlso= See Also subsection (Use for related pages which cannot be linked in from the text) Deprecated, but still available in emergencies
}}