Difference between revisions of "Category:Bibliography Templates"

From The Dreadnought Project
Jump to navigationJump to search
m
Line 22: Line 22:
  
 
<blockquote>
 
<blockquote>
<nowiki>{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}}<noinclude>[[Category:Bibliography Templates]]</noinclude></nowiki>
+
<nowiki>{{Fn|Complete bibliography reference|Abbreviated reference|{{{1|}}}}}<noinclude>{{BibCat}}</noinclude></nowiki>
 
</blockquote>
 
</blockquote>
  
Line 28: Line 28:
 
* the bibliographic (long format) description of the source (final period omitted). This should refer to the entire book, generally.
 
* 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)
 
* 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>
+
* the following mess: <nowiki>{{{1|}}}<noinclude>{{BibCat}}</noinclude></nowiki></nowiki>
 
* there should be NO line breaks anywhere, or ugly whitespace and bullets may result in use
 
* there should be NO line breaks anywhere, or ugly whitespace and bullets may result in use

Revision as of 16:10, 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>{{BibCat}}</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)
  • the following mess: {{{1|}}}<noinclude>{{BibCat}}</noinclude></nowiki>
  • 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.