Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
m (Fix)
(Expand to take 3 parameters for date)
Line 10: Line 10:
 
|Author=
 
|Author=
 
|AuthorsNote= (Optional)
 
|AuthorsNote= (Optional)
|Date=
+
|DateYear=
 +
|DateMonth=
 +
|DateDay=
 
|Note= (Optional)
 
|Note= (Optional)
 
|Comment= ''Wikispooks Comment'' about why this is relevant (Recommended)
 
|Comment= ''Wikispooks Comment'' about why this is relevant (Recommended)
Line 23: Line 25:
 
==Document Provenance==
 
==Document Provenance==
 
{{DocEditMsg}}  
 
{{DocEditMsg}}  
{{{DocType}}} by '''{{{Author}}}''' dated [[isdate::{{{Date}}}]]<br/>
+
{{{DocType|}}} by '''{{{Author}}}''' dated [[isdate::{{#time:d F Y|{{DateYear|}}-{{DateMonth|}}-{{DateDay|}}}}]]<br/>
 
'''Source:''' {{{Source}}}<br/>
 
'''Source:''' {{{Source}}}<br/>
 
{{#if: {{{Local|}}} | '''Local copy:''' {{{Local|}}}<br/>|}}
 
{{#if: {{{Local|}}} | '''Local copy:''' {{{Local|}}}<br/>|}}
Line 39: Line 41:
 
{{#if: {{{Review|}}} | [[Category:Reviews]] |}}
 
{{#if: {{{Review|}}} | [[Category:Reviews]] |}}
 
<br/>
 
<br/>
{{DateCategory|Date={{{Date|}}}}}
+
{{DateCategory|Date={{{DateYear|}}}}}
 
</includeonly>
 
</includeonly>
 
__TOC__
 
__TOC__

Revision as of 03:04, 11 November 2013

'Document Provenance' information. The template should be the first item on Document pages. See also template:FileProv

Usage:

{{DocProv
|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=
|AuthorsNote= (Optional)
|DateYear=
|DateMonth=
|DateDay=
|Note= (Optional)
|Comment= Wikispooks Comment about why this is relevant (Recommended)
|SeeAlso= (Optional)
|Leaked=1 (Optional, use for leaked documents)
|Review=1 (Optional, use for book reviews)
|Review=1 (Optional, use for book reviews)
}}