Difference between revisions of "Template:Document"
(|OriginalLanguage parameter) |
(|TranslationBy) |
||
Line 5: | Line 5: | ||
<poem> | <poem> | ||
{{DocProv | {{DocProv | ||
− | EITHER | + | ''EITHER'' |
|Date= | |Date= | ||
− | OR | + | ''OR '' |
|DateYear= | |DateYear= | ||
|DateMonth= | |DateMonth= | ||
|DateDay= | |DateDay= | ||
− | AND: | + | ''AND:'' |
|DocType={article, essay, paper, chapter, letter, memo etc.} | |DocType={article, essay, paper, chapter, letter, memo etc.} | ||
|Source=Link to the original copy (If omitted, the document is assigned to the [[:Category:Unsourced Documents]]) | |Source=Link to the original copy (If omitted, the document is assigned to the [[:Category:Unsourced Documents]]) | ||
Line 17: | Line 17: | ||
|Local=Address of the wikispooks copy - ''not a link'' (It will automatically show as a link if a page exists) | |Local=Address of the wikispooks copy - ''not a link'' (It will automatically show as a link if a page exists) | ||
|Author=The name of the author | |Author=The name of the author | ||
− | OPTIONAL DETAILS: | + | ''OPTIONAL DETAILS:'' |
|Author2=... |Author3=... |Author4=... For more authors | |Author2=... |Author3=... |Author4=... For more authors | ||
|Recipient=For emails, letters, speeches etc. | |Recipient=For emails, letters, speeches etc. | ||
Line 27: | 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" | ||
− | FOR FOREIGN TRANSLATIONS: | + | ''FOR FOREIGN TRANSLATIONS:'' |
|OriginalLanguage=Language name for non-English originals | |OriginalLanguage=Language name for non-English originals | ||
|TranslationBy=Who translated it | |TranslationBy=Who translated it | ||
− | OPTIONAL NOTE: | + | ''OPTIONAL NOTE:'' |
|Note= | |Note= | ||
− | OPTIONAL SUBSECTIONS: | + | ''OPTIONAL SUBSECTIONS:'' |
|AuthorsNote= ''Author's Note'' subsection | |AuthorsNote= ''Author's Note'' subsection | ||
|Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended) | |Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended) | ||
Line 47: | Line 47: | ||
---- --> {{#if: {{{Image|}}} | [[File:{{{Image|}}}|right|250px|]] |}}{{DocEditMsg}} {{AORAN|{{{DocType|}}}}} [[DocType::{{{DocType|}}}]] by {{Agent|Is author|{{{Author|}}}|{{{AuthorDetail|}}}}}{{Agent|Is author|{{{Author3|}}}|{{{Author3Detail|}}}|, }}{{Agent|Is author|{{{Author4|}}}|{{{Author4Detail|}}}|, }}{{Agent|Is author|{{{Author2|}}}|{{{Author2Detail|}}}| & }}{{#if: {{{AuthorType|}}} | ({{{AuthorType}}})|}} {{#if: {{{Recipient|}}} | to {{Agent|Is recipient|{{{Recipient|}}}|{{{RecipientDetail|}}}}} |}}{{Agent|Is recipient|{{{Recipient3|}}}|{{{Recipient3Detail|}}}|, }}{{Agent|Is recipient|{{{Recipient4|}}}|{{{RecipientDetail4|}}}|, }}{{Agent|Is recipient|{{{Recipient2|}}}|{{{RecipientDetail2|}}}| & }} {{#if: {{{Date|}}} |dated [[Has publication date::{{{Date|}}}]] |dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/> | ---- --> {{#if: {{{Image|}}} | [[File:{{{Image|}}}|right|250px|]] |}}{{DocEditMsg}} {{AORAN|{{{DocType|}}}}} [[DocType::{{{DocType|}}}]] by {{Agent|Is author|{{{Author|}}}|{{{AuthorDetail|}}}}}{{Agent|Is author|{{{Author3|}}}|{{{Author3Detail|}}}|, }}{{Agent|Is author|{{{Author4|}}}|{{{Author4Detail|}}}|, }}{{Agent|Is author|{{{Author2|}}}|{{{Author2Detail|}}}| & }}{{#if: {{{AuthorType|}}} | ({{{AuthorType}}})|}} {{#if: {{{Recipient|}}} | to {{Agent|Is recipient|{{{Recipient|}}}|{{{RecipientDetail|}}}}} |}}{{Agent|Is recipient|{{{Recipient3|}}}|{{{Recipient3Detail|}}}|, }}{{Agent|Is recipient|{{{Recipient4|}}}|{{{RecipientDetail4|}}}|, }}{{Agent|Is recipient|{{{Recipient2|}}}|{{{RecipientDetail2|}}}| & }} {{#if: {{{Date|}}} |dated [[Has publication date::{{{Date|}}}]] |dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/> | ||
{{#if: {{{Subject|}}}|Subject: {{Agent|Is about|{{{Subject|}}}|}}<br/>}} | {{#if: {{{Subject|}}}|Subject: {{Agent|Is about|{{{Subject|}}}|}}<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: {{{OriginalLanguage|}}} | <br/>Translated from {{{OriginalLanguage|}}} |}}{{#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: {{{OriginalLanguage|}}} | <br/>Translated from {{{OriginalLanguage|}}} {{#if: {{{TranslationBy|}}} | by {{{TranslationBy|}}} |}}|}}{{#if: {{{Note|}}} | <br/>{{{Note|}}} |}}{{#if: {{{AuthorsNote|}}} | <br/><br/><big><big>Author's Note</big></big> |
---- | ---- | ||
{{{AuthorsNote}}} |}}{{#if: {{{Comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big> | {{{AuthorsNote}}} |}}{{#if: {{{Comment|}}} | <br/><br/><big><big>Wikispooks Comment</big></big> |
Revision as of 04:32, 29 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={article, essay, paper, chapter, letter, memo etc.}
|Source=Link to the original copy (If omitted, the document is assigned to the Category:Unsourced Documents)
|Subject=What the document is about (Ideally a Wikispooks pagename)
|Local=Address of the wikispooks copy - not a link (It will automatically show as a link if a page exists)
|Author=The name of the author
OPTIONAL DETAILS:
|Author2=... |Author3=... |Author4=... For more authors
|Recipient=For emails, letters, speeches etc.
|Recipient2=... |Recipient3=... |Recipient4= ...
|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"
FOR FOREIGN TRANSLATIONS:
|OriginalLanguage=Language name for non-English originals
|TranslationBy=Who translated it
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)
}}