Template:Bibliography: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
trying to make this crap work
Tag: Reverted
trying to revert to "safesubst"
Tag: Manual revert
Line 1: Line 1:
<noinclude>{{/doc}}</noinclude><includeonly>{{{{{subst:}}}#switch: {{{1|}}}
<noinclude>{{/doc}}</noinclude><includeonly>{{{{{|safesubst:}}}#switch: {{{1|}}}
  | ...And the Gods Will Have Their Way = [[Bob Blake|Blake, Bob]]. RPGA8 ''...And the Gods Will Have Their Way''. Lake Geneva, WI: TSR, 1984. Item code TSRn/a.
  | ...And the Gods Will Have Their Way = [[Bob Blake|Blake, Bob]]. RPGA8 ''...And the Gods Will Have Their Way''. Lake Geneva, WI: TSR, 1984. Item code TSRn/a.
  | 3-D Dragon Tiles featuring The Kidnapping of Princess Arelina = [[Gary Spiegle|Spiegle, Gary]]. AC3 ''3-D Dragon Tiles featuring The Kidnapping of Princess Arelina''. Lake Geneva, WI: TSR, 1984. Item code TSR9121.
  | 3-D Dragon Tiles featuring The Kidnapping of Princess Arelina = [[Gary Spiegle|Spiegle, Gary]]. AC3 ''3-D Dragon Tiles featuring The Kidnapping of Princess Arelina''. Lake Geneva, WI: TSR, 1984. Item code TSR9121.

Revision as of 22:00, 30 November 2024

Template:Bibliography is a template to make it easier to include bibliography data in articles. Given a book title, it generates a Chicago Style citations for use in the ===Bibliography=== section.

This documentation transcluded from Template:Bibliography/doc.

Usage

Syntax

Books

*{{subst:bib|BOOKNAME}}

Replace BOOKNAME with the name of the book.

Magazine articles

*{{subst:bib|MAGAZINE #NUMBER|firstname=|lastname=|article=}}
  • First parameter: Magazine name and issue number, e.g. Dragon #100, Dungeon #7, Polyhedron #40.
  • firstname: Article author's first name.
  • lastname: Article author's last name.
  • article: Article title.
  • coauthors: Any co-authors other than the primary author, separated by commas, and wikilinked as needed; e.g. "[[Erik Mona]], [[Sean K. Reynolds]], and [[Gary Holian]]".

Examples

Code

*{{subst:bib|Living Greyhawk Gazetteer}}
*{{subst:bib|Folio}}
*{{subst:bib|Box}}
*{{subst:bib|Dragon #100|firstname=Robert|lastname=Schroeck|article=The City Beyond the Gate}}
*{{subst:bib|Unearthed Arcana (1e)}}

Results

Notes

The template has been pre-programmed with entries for nearly all first-party D&D/AD&D sourcebooks and magazine issues. To see the full list or correct errors, edit Template:Bibliography.

A few abbreviations and aliases are supported. In particular, the terms "Folio" and "Box" are recognized as aliases for the World of Greyhawk 1980 folio and 1983 box set respectively.

In cases where multiple books have the same name, it is necessary to disambiguate (see List of D&D products with similar names). This is usually done by suffixing the edition in parentheses; e.g. "Unearthed Arcana (1e)". Take care to cite the correct book.

Use of the code "subst:bib" is recommended for efficiency reasons, as the template is currently 393,863 bytes in size and contains over 1,000 entries. Using "subst" will paste the bibliography entry into the article rather than loading the template each time.

Pages transcluding the template

The following list of pages are currently transcluding this template instead of substituting it. Any articles doing so (other than the template itself and its documentation) should probably be fixed by adding "subst:" before the template name (i.e. {{subst:bib). If this box is empty, then no pages are transcluding it.