Difference between revisions of "Template:Document"
Jump to navigation
Jump to search
(Better handling of no date) |
(Add |notoc) |
||
Line 18: | Line 18: | ||
|Leaked=1 (Optional, use for leaked documents) | |Leaked=1 (Optional, use for leaked documents) | ||
|Review=1 (Optional, use for book reviews) | |Review=1 (Optional, use for book reviews) | ||
− | | | + | |Notoc=1 (Optional, use for suppress the table of contents) |
}} | }} | ||
</poem> | </poem> | ||
Line 47: | Line 47: | ||
{{DateCategory|Date={{{DateYear|}}}}} | {{DateCategory|Date={{{DateYear|}}}}} | ||
</includeonly> | </includeonly> | ||
− | __TOC__ | + | {{#ifeq: {{{notoc|}}} | 1 | __NOTOC__ | __TOC__ }} |
Revision as of 05:22, 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=
|DateYear=
|DateMonth=
|DateDay=
|AuthorsNote= Author's Note subsection (Optional)
|Note= (Optional)
|Comment= Wikispooks Comment subsection about why this is relevant (Recommended)
|SeeAlso= See Also subsection (Optional)
|Leaked=1 (Optional, use for leaked documents)
|Review=1 (Optional, use for book reviews)
|Notoc=1 (Optional, use for suppress the table of contents)
}}