BattleTechWiki:Inline citation/Draft/examples

This page contains examples of various types of inline citations. Variations on all of the examples included here exist throughout BattleTechWiki.

Full citations in footnotes[edit]

Many articles use "<Ref> tags" to remove inline citations to an endmatter section. Citations which are referenced multiple times may be collapsed. The text is expanded in the document where a "<References />" tag or a {{reflist}} template appears. This citation style is sometimes termed "Shortened notes".

wikitext
* This is some wikitext supported by a cite of a book written in 2000 by an author named Jones, with no page number specified.<ref>Jones, John (2000), My Life and Times, John Q. Bookbinder & Sons.</ref>
* This is some wikitext supported by a cite of pages 3-5 of a book written in 2000 by an author named Jones.<ref name=Jones2000pp3-5>Jones, John (2000), ''My Life and Times'', John Q. Bookbinder & Sons, pp. 3-5.</ref>
* This is text supported by a second reference to a citation declared elsewhere.<ref name=Jones2000pp3-5 />

== References ==
<References />
rendering
  • This is some wikitext supported by a cite of a book written in 2000 by an author named Jones, with no page number specified.[1]
  • This is some wikitext supported by a cite of pages 3-5 of a book written in 2000 by an author named Jones.[2]
  • This is text supported by a second reference to a citation declared elsewhere.[2]
References
  1. Jones, John (2000), My Life and Times, John Q. Bookbinder & Sons.
  2. 2.0 2.1 Jones, John (2000), My Life and Times, John Q. Bookbinder & Sons, pp. 3-5.

Parenthetical style references in footnotes[edit]

Parenthetical-style references are often placed in footnotes. This example uses the {{Reflist}} template instead of the <References /> tag, and uses the {{refbegin}} along with {{refend}} templates to similarly format full citations placed after the numbered footnotes.

wikitext
* This is some wikitext supported by a cite of a book written in 2000 by an author named Adams, with no page number specified.<ref>Adams (2000)</ref>
* This is some wikitext supported by a cite of pages 3-5 of a book written in 2000 by an author named Adams.<ref name="Adams2000pp3-5">Adams (2000:3-5)</ref>
* This is text supported by a second reference to a citation declared elsewhere.<ref name="Adams000pp3-5" />

== References ==
=== Citations ===
{{Reflist}}

=== Bibliography===
{{refbegin}}
* Adams, John (2000), ''My Life and Times'', John Q. Bookbinder & Sons.
{{refend}}
rendering
  • This is some wikitext supported by a cite of a book written in 2000 by an author named Adams, with no page number specified.[1]
  • This is some wikitext supported by a cite of pages 3-5 of a book written in 2000 by an author named Adams.[2]
  • This is text supported by a second reference to a citation declared elsewhere.[2]
References
Citations
  1. Adams (2000)
  2. 2.0 2.1 Adams (2000:3-5)
Bibliography
  • Adams, John (2000), My Life and Times, John Q. Bookbinder & Sons.

See also[edit]