Category:Bibliography Templates: Difference between revisions
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
<blockquote> | <blockquote> | ||
<nowiki>{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}} | <nowiki>{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}}<noinclude>[[Category:Bibliography Templates]]</noinclude></nowiki> | ||
</blockquote> | </blockquote> | ||
Line 31: | Line 29: | ||
* the abbreviated footnote mention of the same work (again, no final period) | * the abbreviated footnote mention of the same work (again, no final period) | ||
* three open braces, digit 1, a pipe character, and five close braces: <nowiki>{{{1|}}}</nowiki> | * three open braces, digit 1, a pipe character, and five close braces: <nowiki>{{{1|}}}</nowiki> | ||
* there should be NO line breaks anywhere, or ugly whitespace and bullets may result in use |
Revision as of 16:08, 25 July 2012
This category encompasses all Bibliography Templates.
A Bibliography template, in the new form, is one that can either be used for a compact citation in the article body or to provide a complete source ID for use in an article's bibliography.
Here is an example of how these are used. As a citation, a single parameter is used to specify the page number (or similar details particular to this citation, but not to the source itself).
The cheetah is the fastest animal on earth.{{BibTest|p. 5}}
When citing this source in a Bibliography section, however, no parameter is used. The template spits out a long format reference with a leading bullet.
==Bibliography==
{{BibTest}}
How does one write such a template? The basic form is
{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}}<noinclude>[[Category:Bibliography Templates]]</noinclude>
Note that it calls another template called Fn, and hands it three parameters:
- the bibliographic (long format) description of the source (final period omitted). This should refer to the entire book, generally.
- the abbreviated footnote mention of the same work (again, no final period)
- three open braces, digit 1, a pipe character, and five close braces: {{{1|}}}
- there should be NO line breaks anywhere, or ugly whitespace and bullets may result in use
Pages in category "Bibliography Templates"
The following 2 pages are in this category, out of 2 total.