Half-Life Wiki
Half-Life Wiki
This article pertains to Half-Life Wiki

You can add reference tags when citing sources. This uses the HTML <ref></ref> code.

Basic concept[]

The basic concept of the <ref> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the this tag <references />.

If {{Reflist}} is not present at the end of the article, none of the footnotes will appear.

This page itself uses footnotes, such as the one at the end of this sentence.[1] If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes.

  • At the end of the Canals, Gordon Freeman destroys a Hunter-Chopper.[2]
  • He also destroys a Hunter-Chopper in the Outlands.[3]

Multiple uses of the same footnote[]

To give a footnote a unique identifier, use <ref name="name">. You can then refer to the same footnote again by using a ref tag with the same name. The text inside the second tag doesn't matter, because the text already exists in the first reference. You can either copy the whole footnote, or you can use a terminated empty ref tag that looks like this: <ref name="name" />.

In the following example, the same source is cited three times.

This is an example of multiple references to the same footnote.[4]

Such references are particularly useful when citing sources, if different statements come from the same source.[4]

A concise way to make multiple references is to use empty ref tags, which have a slash at the end. Although this may reduce redundant work, please be aware that if a future editor removes the first reference, this will result in the loss of all references using the empty ref tags.[4]

Too many references can fixed by having columns[]

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.

Using {{reflist|colwidth=30em}} will allow the browser to automatically choose the number of columns based on the width of the web browser. Choose a column width that's appropriate for the average width of the references on the page.

List of common references used in this wiki[]

This list includes the commonly used sources, each time followed by their unique identifier. Use them properly.

  • <ref name="HLB">''[[Half-Life]]'' Beta</ref>
    • <ref name="HLB" />
  • <ref name="HL">''[[Half-Life]]''</ref>
    • <ref name="HL" />
  • <ref name="HLO4">''[[Half-Life: Opposing Force]]''</ref>
    • <ref name="HLO4" />
  • <ref name="HLBS">''[[Half-Life: Blue Shift]]''</ref>
    • <ref name="HLBS" />
  • <ref name="HLD">''[[Half-Life: Decay]]''</ref>
    • <ref name="HLD" />
  • <ref name="WC mappack">[[WC mappack]]</ref>
    • <ref name="WC mappack" />
  • <ref name="HL2Bp">Playable [[Half-Life 2 Beta|''Half-Life 2'' Beta]]</ref>
    • <ref name="HL2Bp" />
  • <ref name="HL2Bpf">Playable [[Half-Life 2 Beta|''Half-Life 2'' Beta]] files</ref>
    • <ref name="HL2Bpf" />
  • <ref name="HL2Bsc">[[Half-Life 2 Beta|''Half-Life 2'' Beta]] source code</ref>
    • <ref name="HL2Bsc" />
  • <ref name="HL2">''[[Half-Life 2]]''</ref>
    • <ref name="HL2" />
  • <ref name="HL2Prima">''[[Half-Life 2]] Prima Guide''</ref>
    • <ref name="HL2Prima" />
  • <ref name="Raising the Bar">''[[Half-Life 2: Raising the Bar]]''</ref>
    • <ref name="Raising the Bar" />
  • <ref name="HL2LC">''[[Half-Life 2: Lost Coast]]''</ref>
    • <ref name="HL2LC" />
  • <ref name="HL2LCcom">''[[Half-Life 2: Lost Coast]]'' commentary</ref>
    • <ref name="HL2LCcom" />
  • <ref name="HL2.1">''[[Half-Life 2: Episode One]]''</ref>
    • <ref name="HL2.1" />
  • <ref name="HL2.1com">''[[Half-Life 2: Episode One]]'' commentary</ref>
    • <ref name="HL2.1com" />
  • <ref name="AS">[[ApertureScience.com]]</ref>
    • <ref name="AS" />
  • <ref name="P">''[[Portal]]''</ref>
    • <ref name="P" />
  • <ref name="Pcom">''[[Portal]]'' commentary</ref>
    • <ref name="Pcom" />
  • <ref name="HL2.2">''[[Half-Life 2: Episode Two]]''</ref>
    • <ref name="HL2.2" />
  • <ref name="HL2.2com">''[[Half-Life 2: Episode Two]]'' commentary</ref>
    • <ref name="HL2.2com" />
  • <ref name="PrimaOB">''[[The Orange Box]] Prima Guide''</ref>
    • <ref name="PrimaOB" />
  • <ref name="ARG">[[Portal ARG|''Portal'' ARG]]</ref>
    • <ref name="ARG" />
  • <ref name="P2LR">''[[Portal 2: Lab Rat]]''</ref>
    • <ref name="P2LR" />
  • <ref name="P2">''[[Portal 2]]''</ref>
    • <ref name="P2" />
  • <ref name="P2com">''[[Portal 2]]'' commentary</ref>
    • <ref name="P2com" />
  • <ref name="P2TFH">''[[The Final Hours of Portal 2]]''</ref>
    • <ref name="P2TFH" />
  • <ref name="ML Vault">[http://www.halflife2.net/forums/showthread.php?t=114535 ''Marc Laidlaw Vault''] on the HalfLife2.net Forums</ref>
    • <ref name="ML Vault" />


  1. An example source
  2. Half-Life 2
  3. Half-Life 2: Episode Two
  4. 4.0 4.1 4.2 Remember that when you refer to the same footnote multiple times, the text from the first reference is used. Cite error: Invalid <ref> tag; name "multiple" defined multiple times with different content

External links[]