Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
m (t)
m (t)
Line 59: Line 59:
 
----
 
----
 
{{{SeeAlso}}} |}}</div>
 
{{{SeeAlso}}} |}}</div>
[[Category:Doc]]{{#if: {{{Leaked|true}}} | [[Category:Leaked Documents]] |}}{{DateCategory|Date={{{DateYear|}}}}}
+
[[Category:Doc]]{{#ifeq: {{{Leaked|True}}} | [[Category:Leaked Documents]] |}}{{DateCategory|Date={{{DateYear|}}}}}
 
<!-- Extra categories depending upon media type. DEPRECATED. USE SEMANTIC PROPERTIES INSTEAD -->
 
<!-- Extra categories depending upon media type. DEPRECATED. USE SEMANTIC PROPERTIES INSTEAD -->
 
<!-- {{#ifeq: {{{DocType|}}} | An email | [[Category:Emails]]| }}
 
<!-- {{#ifeq: {{{DocType|}}} | An email | [[Category:Emails]]| }}
 
{{#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>
 
{{#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 14:23, 5 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=


EITHER
|Source=Link to the original copy (Deprecated, i.e. old style)
OR
|SourceURL=URL of the source, if it is available online
|SourceName=General name of the source, e.g. "Unwelcome Guests"
|SourceDetail=Specific details, e.g. "#675", "vol. 3, chapter 20", "pp.212-213"...


|DocType={article, essay, paper, chapter, letter, memo etc.}
|Local=Address of the wikispooks copy
|Subject=What the document is about
|Author=The name of the author
OPTIONAL DETAILS:
|Source2URL=... |SourceName2=... |SourceDetail2=... For more sources
|Subject2= |Subject3=... For more subjects
|Author2=... |Author3=... For more authors
|Recipient= For emails, letters, speeches etc.
|Recipient2=... |Recipient3=... For more recipients
|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
...
|AuthorType=Explanatory note about authorship, e.g. "alleged"
FOR FOREIGN TRANSLATIONS:
|OriginalLanguage=Language name for non-English originals
|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)
|Image=
|SeeAlso= See Also subsection (Use for related pages which cannot be linked in from the text)
|Leaked=1 (Use for leaked documents)
}}