Difference between revisions of "Template:DADS/doc"
imported>Hike395 (fix doc) |
imported>Hike395 (→Usage: add additional arguments) |
||
| Line 18: | Line 18: | ||
{{DADS|Adaptive Huffman coding|adaptiveHuffman}} | {{DADS|Adaptive Huffman coding|adaptiveHuffman}} | ||
| + | |||
| + | There are two optional arguments, ''author'' and ''accessdate'' that improve the reference. For example: | ||
| + | |||
| + | <tt><nowiki>{{DADS|Adaptive Huffman coding|adaptiveHuffman|author=Paul E. Black|accessdate=2008-08-08}}</nowiki></tt> | ||
| + | |||
| + | will produce | ||
| + | |||
| + | {{DADS|Adaptive Huffman coding|adaptiveHuffman|author=Paul E. Black|accessdate=2008-08-08}} | ||
=== See also === | === See also === | ||
Revision as of 18:11, 11 April 2009
| This is a documentation subpage for Template:DADS. It contains usage information, categories and other content that is not part of the original template page. |
This template will categorize articles that include it into Category:Wikipedia articles incorporating text from the NIST Dictionary of Algorithms and Data Structures.
Usage
This template is for articles incorporating text from the National Institute of Standards and Technology's Dictionary of Algorithms and Data Structures, which is public domain and available free online from the NIST website. It should be placed at the bottom of the articles on which it is used.
{{DADS|{{{2}}}|{{{1}}}}}
where {{{1}}} equals the html name of the page within the DADS website, and {{{2}}} equals the name of the subject.
Hence,
{{DADS|Adaptive Huffman coding|adaptiveHuffman}}
will produce the following message at the bottom of the article:
This article incorporates public domain material from the NIST document: Black, Paul E. "Adaptive Huffman coding". Dictionary of Algorithms and Data Structures.
There are two optional arguments, author and accessdate that improve the reference. For example:
{{DADS|Adaptive Huffman coding|adaptiveHuffman|author=Paul E. Black|accessdate=2008-08-08}}
will produce
This article incorporates public domain material from the NIST document: Black, Paul E. "Adaptive Huffman coding". Dictionary of Algorithms and Data Structures.
See also
- {{NIST-PD}} for articles which use other public domain text or data from the National Institute of Standards and Technology.