Difference between revisions of "Category:Bibliography Templates"

From The Dreadnought Project
Jump to: navigation, search
m
Line 26: Line 26:
  
 
Note that it calls another template called Fn, and hands it three parameters:  
 
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 bibliographic (long format) description of the source (final period omitted).
* the abbreviated footnote mention of the same work (again, no final period)
+
* a pipe character: |
* the following mess: <nowiki>{{{1|}}}<noinclude>{{BibCat}}</noinclude></nowiki></nowiki>
+
* the abbreviated footnote mention of the same work (final period omitted)
 +
* 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 12:11, 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).
  • a pipe character: |
  • the abbreviated footnote mention of the same work (final period omitted)
  • 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.