Difference between revisions of "Template:Document"

From Wikispooks
Jump to navigation Jump to search
(|AuthorType)
(|AuthorType and |RecipientDetail)
Line 20: Line 20:
 
|Author3=Second author
 
|Author3=Second author
 
|Author4=Second author
 
|Author4=Second author
|Recipient=For emails, letters etc. - ''not a link'' (It will automatically show as a link if a page exists)
+
|Recipient=For emails, letters, speeches etc.
 +
|RecipientDetail=Short note about the recipient
 
|AuthorDetail=Short note about the author, (e.g. "Home Office accredited forensic pathologist")
 
|AuthorDetail=Short note about the author, (e.g. "Home Office accredited forensic pathologist")
 
|Author2Detail=Short note about the author2
 
|Author2Detail=Short note about the author2
Line 26: Line 27:
 
|Author4Detail=Short note about the author4
 
|Author4Detail=Short note about the author4
 
|AuthorType=Explanatory note about authorship, e.g. "alleged"
 
|AuthorType=Explanatory note about authorship, e.g. "alleged"
 +
OPTIONAL NOTE:
 +
|Note=
 
OPTIONAL SUBSECTIONS:
 
OPTIONAL SUBSECTIONS:
 
|AuthorsNote= ''Author's Note'' subsection
 
|AuthorsNote= ''Author's Note'' subsection
|Note=
 
 
|Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended)
 
|Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended)
 
|Image=
 
|Image=
Line 42: Line 44:
 
{{#if: {{{Image|}}} | [[File:{{{Image|}}}|right|250px|]] |}}
 
{{#if: {{{Image|}}} | [[File:{{{Image|}}}|right|250px|]] |}}
 
{{DocEditMsg}}  
 
{{DocEditMsg}}  
{{{DocType|}}} by {{ShowAuthor|{{{Author|}}}|{{{AuthorDetail|}}}}}{{ShowAuthor|{{{Author3|}}}|{{{Author3Detail|}}}|, }}{{ShowAuthor|{{{Author4|}}}|{{{Author4Detail|}}}|, }}{{ShowAuthor|{{{Author2|}}}|{{{Author2Detail|}}}| &amp;&nbsp;}}{{#if: {{{AuthorType|}}} | ({{{AuthorType}}}|}} {{#if: {{{Recipient|}}} | to {{{Recipient}}}&nbsp;|}} {{#if: {{{Date|}}} |dated [[Has publication date::{{{Date|}}}]] |dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/>
+
{{{DocType|}}} by {{Agent|{{{Author|}}}|{{{AuthorDetail|}}}}}{{Agent|{{{Author3|}}}|{{{Author3Detail|}}}|, }}{{Agent|{{{Author4|}}}|{{{Author4Detail|}}}|, }}{{Agent|{{{Author2|}}}|{{{Author2Detail|}}}| &amp;&nbsp;}}{{#if: {{{AuthorType|}}} | ({{{AuthorType}}})|}} {{#if: {{{Recipient|}}} | to {{Agent|{{{Recipient|}}}|{{{RecipientDetail|}}}}}&nbsp;|}} {{#if: {{{Date|}}} |dated [[Has publication date::{{{Date|}}}]] |dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/>
 
'''Source:''' {{#if: {{{Source|}}}|{{{Source|}}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}<br/>{{#if: {{{Local|}}} | '''Local copy:''' {{#ifexist: {{{Local|}}} | [[{{{Local}}}]] | {{RED|Broken Link: {{{Local}}} }} }}<br/>|}}{{DocDisclaimer}}{{#if: {{{Note|}}} | <br/>{{{Note|}}} |}}{{#if: {{{AuthorsNote|}}} | <br/><br/><big><big>Author's Note</big></big>
 
'''Source:''' {{#if: {{{Source|}}}|{{{Source|}}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}<br/>{{#if: {{{Local|}}} | '''Local copy:''' {{#ifexist: {{{Local|}}} | [[{{{Local}}}]] | {{RED|Broken Link: {{{Local}}} }} }}<br/>|}}{{DocDisclaimer}}{{#if: {{{Note|}}} | <br/>{{{Note|}}} |}}{{#if: {{{AuthorsNote|}}} | <br/><br/><big><big>Author's Note</big></big>
 
----
 
----

Revision as of 18:59, 27 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 (If omitted, the document is assigned to the Category:Unsourced Documents)
|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 DETAILS:
|Author2=Second author
|Author3=Second author
|Author4=Second author
|Recipient=For emails, letters, speeches etc.
|RecipientDetail=Short note about the recipient
|AuthorDetail=Short note about the author, (e.g. "Home Office accredited forensic pathologist")
|Author2Detail=Short note about the author2
|Author3Detail=Short note about the author3
|Author4Detail=Short note about the author4
|AuthorType=Explanatory note about authorship, e.g. "alleged"
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)
|Review=1 (Use for book/film etc reviews)
|Notoc=1 (Use for suppress the table of contents)
}}