Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
(Clarify about the author field)
(Image parameter)
Line 19: Line 19:
 
|Note= (Optional)
 
|Note= (Optional)
 
|Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended)
 
|Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended)
 +
|Image= (Optional)
 
|SeeAlso= ''See Also'' subsection (Optional)
 
|SeeAlso= ''See Also'' subsection (Optional)
 
|Leaked=1 (Optional, use for leaked documents)
 
|Leaked=1 (Optional, use for leaked documents)
Line 29: Line 30:
 
<big><big><big>Document Provenance</big></big></big>
 
<big><big><big>Document Provenance</big></big></big>
 
----
 
----
 +
{{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|250px|]] |}}
 
{{DocEditMsg}}  
 
{{DocEditMsg}}  
 
{{{DocType|}}} by '''{{#ifexist: {{{Author|}}} | [[{{{Author}}}]] | {{{Author|}}} }}''' {{#if: {{{Date|}}} | dated [[Has publication date::{{{Date|}}}]] | dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/>
 
{{{DocType|}}} by '''{{#ifexist: {{{Author|}}} | [[{{{Author}}}]] | {{{Author|}}} }}''' {{#if: {{{Date|}}} | dated [[Has publication date::{{{Date|}}}]] | dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/>

Revision as of 04:50, 18 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, polemic etc.}
|Source=Link to the original copy
|Local=Address of the wikispooks copy of the original (Recommended)
|Author=Just the name of the author - not a link (It will automatically show as a link if a page exists)
|AuthorsNote= Author's Note subsection (Optional)
|Note= (Optional)
|Comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|Image= (Optional)
|SeeAlso= See Also subsection (Optional)
|Leaked=1 (Optional, use for leaked documents)
|Review=1 (Optional, use for book/film etc reviews)
|Notoc=1 (Optional, use for suppress the table of contents)
}}