Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
(Add Recipient parameter)
(Trim whitespace)
Line 28: Line 28:
 
}}
 
}}
 
</poem>
 
</poem>
</noinclude><includeonly>
+
</noinclude><includeonly><div style="border-style:solid; border-width:1px; border-color:#a7d7f9; margin:0px; background-color:#f5f5f5; padding: 0.5em; margin-right:0px;">
<div style="border-style:solid; border-width:1px; border-color:#a7d7f9; margin:0px; background-color:#f5f5f5; padding: 0.5em; margin-right:0px;">
 
 
<big><big><big>Document Provenance</big></big></big>
 
<big><big><big>Document Provenance</big></big></big>
 
----
 
----
Line 45: Line 44:
 
<!-- 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]]| }}
+
{{#ifeq: {{{DocType|}}} | A speech | [[Category:Speeches]]| }}</includeonly>

Revision as of 15:17, 19 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
|Local=Address of the wikispooks copy - not a link (It will automatically show as a link if a page exists)
|Author=Just the name of the author - not a link (It will automatically show as a link if a page exists)
OPTIONAL SECTIONS:
|Recipient=For emails, letters etc. - not a link (It will automatically show as a link if a page exists)
|AuthorsNote= Author's Note subsection
|Note=
|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)
}}


</includeonly>