Category:Bibliography Templates: Difference between revisions
Simon Harley (talk | contribs) (Created Page.) |
No edit summary |
||
Line 1: | Line 1: | ||
This category encompasses all '''Bibliography Templates'''. | 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). | |||
<blockquote> | |||
<nowiki> | |||
The cheetah is the fastest animal on earth.{{BibTest|p. 5}} | |||
</nowiki> | |||
</blockquote> | |||
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. | |||
<blockquote> | |||
<nowiki>==Bibliography==</nowiki> | |||
<br> | |||
<nowiki>{{BibTest}}</nowiki> | |||
</blockquote> | |||
How does one write such a template? The basic form is | |||
<blockquote> | |||
<nowiki>{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}}</nowiki> | |||
<br> | |||
<nowiki><noinclude>[[Category:Bibliography Templates]]</noinclude></nowiki> | |||
</blockquote> | |||
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: <nowiki>{{{1|}}}</nowiki> |
Revision as of 22:14, 23 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|}}}
Pages in category "Bibliography Templates"
The following 2 pages are in this category, out of 2 total.