Difference between revisions of "Template:Document"
(Make local link) |
(Add Recipient parameter) |
||
Line 12: | Line 12: | ||
|DateDay= | |DateDay= | ||
AND: | AND: | ||
− | |DocType=A {report, article, essay, paper, chapter, | + | |DocType=A {report, article, essay, paper, chapter, letter, memo etc.} |
|Source=Link to the original copy | |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) | |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) | |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 SECTIONS: |
− | |Note= | + | |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) | |Comment= ''Wikispooks Comment'' subsection about why this is relevant (Recommended) | ||
− | |Image= | + | |Image= |
− | |SeeAlso= ''See Also'' subsection ( | + | |SeeAlso= ''See Also'' subsection (Use for related pages which cannot be linked in from the text) |
− | |Leaked=1 ( | + | |Leaked=1 (Use for leaked documents) |
− | |Review=1 ( | + | |Review=1 (Use for book/film etc reviews) |
− | |Notoc=1 ( | + | |Notoc=1 (Use for suppress the table of contents) |
}} | }} | ||
</poem> | </poem> | ||
Line 32: | Line 34: | ||
{{#if: {{{image|}}} | [[File:{{{image|}}}|thumb|250px|]] |}} | {{#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: {{{Recipient|}}} | to {{{Recipient}}} |}}{{#if: {{{Date|}}} | dated [[Has publication date::{{{Date|}}}]] | dated [[Has publication date::{{ISO8601 |DateYear= {{{DateYear|}}}|DateMonth= {{{DateMonth|}}}|DateDay= {{{DateDay|}}} }} ]] }}<br/> |
'''Source:''' {{#if: {{{Source|}}}|{{{Source|}}}|<font color="red">Unknown</font>}}<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|}}}|<font color="red">Unknown</font>}}<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 02:33, 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)
}}