Help:References: Difference between revisions
| (12 intermediate revisions by 3 users not shown) | |||
| Line 5: | Line 5: | ||
==Basic concept== | ==Basic concept== | ||
The basic concept of the <nowiki><ref></nowiki> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the the template {{Tl|Reflist}} under the title "<nowiki>==References==</nowiki>. If "Reflist" is not present at the end of the article, none of the footnotes will appear. Please remember that unlike Wikipedia footnotes are used on this wiki for sources only, not for comments, which belong to the main text. | The basic concept of the <nowiki><ref></nowiki> tag is that it inserts the text enclosed by the ref tags as a footnote in a designated section, which you indicate with the the template {{Tl|Reflist}} under the title "<nowiki>==References==</nowiki>". If "Reflist" is not present at the end of the article, none of the footnotes will appear. Please remember that unlike Wikipedia footnotes are used on this wiki for sources only, not for comments, which belong to the main text. | ||
This page itself uses footnotes, such as the one at the end of this sentence.<ref>An example source</ref> If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes. | This page itself uses footnotes, such as the one at the end of this sentence.<ref>An example source</ref> If you view the Wikicode of this page by clicking "Edit this page", you can see a working example of footnotes. | ||
| Line 19: | Line 19: | ||
To give a footnote a unique identifier, use <nowiki><ref name="name"></nowiki>. 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: <nowiki><ref name="name" /></nowiki>. | To give a footnote a unique identifier, use <nowiki><ref name="name"></nowiki>. 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: <nowiki><ref name="name" /></nowiki>. | ||
In the following example, the same source is cited | In the following example, the same source is cited two times. | ||
This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref> | This is an example of multiple references to the same footnote.<ref name="multiple">Remember that when you refer to the same footnote multiple times, the text from the first reference is used.</ref> | ||
| Line 41: | Line 41: | ||
*<nowiki><ref name="HLpr">''[[Half-Life]]'' (pre-release)</ref></nowiki> | *<nowiki><ref name="HLpr">''[[Half-Life]]'' (pre-release)</ref></nowiki> | ||
**<nowiki><ref name="HLpr" /></nowiki> | **<nowiki><ref name="HLpr" /></nowiki> | ||
*<nowiki><ref name=" | *<nowiki><ref name="HLAlpha">[[Half-Life Alpha|''Half-Life'' Alpha]]</ref></nowiki> | ||
**<nowiki><ref name=" | **<nowiki><ref name="HLAlpha" /></nowiki> | ||
====Retail==== | ====Retail==== | ||
| Line 48: | Line 48: | ||
*<nowiki><ref name="HL">''[[Half-Life]]''</ref></nowiki> | *<nowiki><ref name="HL">''[[Half-Life]]''</ref></nowiki> | ||
**<nowiki><ref name="HL" /></nowiki> | **<nowiki><ref name="HL" /></nowiki> | ||
*<nowiki><ref name=" | *<nowiki><ref name="HLim">''[[Half-Life]]'' instruction manual</ref></nowiki> | ||
**<nowiki><ref name="HLim" /></nowiki> | |||
*<nowiki><ref name="HLPS2">[[Half-Life (PlayStation 2 port)|''Half-Life'' (PlayStation 2 port)]]</ref></nowiki> | |||
**<nowiki><ref name="HLPS2" /></nowiki> | **<nowiki><ref name="HLPS2" /></nowiki> | ||
*<nowiki><ref name="HLimPS2">[[Half-Life (PlayStation 2 port)|''Half-Life'' (PlayStation 2 port)]] instruction manual</ref></nowiki> | |||
**<nowiki><ref name="HLimPS2" /></nowiki> | |||
*<nowiki><ref name="HLPrima">''[[Half-Life]] Prima Guide''</ref></nowiki> | *<nowiki><ref name="HLPrima">''[[Half-Life]] Prima Guide''</ref></nowiki> | ||
**<nowiki><ref name="HLPrima" /></nowiki> | **<nowiki><ref name="HLPrima" /></nowiki> | ||
| Line 80: | Line 84: | ||
*<nowiki><ref name="HL2">''[[Half-Life 2]]''</ref></nowiki> | *<nowiki><ref name="HL2">''[[Half-Life 2]]''</ref></nowiki> | ||
**<nowiki><ref name="HL2" /></nowiki> | **<nowiki><ref name="HL2" /></nowiki> | ||
*<nowiki><ref name="HL2com">[[Developer commentary/Half-Life 2|''Half-Life 2'' commentary]]</ref></nowiki> | |||
**<nowiki><ref name="HL2com" /></nowiki> | |||
*<nowiki><ref name="HL2Prima">''[[Half-Life 2]] Prima Guide''</ref></nowiki> | *<nowiki><ref name="HL2Prima">''[[Half-Life 2]] Prima Guide''</ref></nowiki> | ||
**<nowiki><ref name="HL2Prima" /></nowiki> | **<nowiki><ref name="HL2Prima" /></nowiki> | ||
| Line 92: | Line 98: | ||
*<nowiki><ref name="HL2LC">''[[Half-Life 2: Lost Coast]]''</ref></nowiki> | *<nowiki><ref name="HL2LC">''[[Half-Life 2: Lost Coast]]''</ref></nowiki> | ||
**<nowiki><ref name="HL2LC" /></nowiki> | **<nowiki><ref name="HL2LC" /></nowiki> | ||
*<nowiki><ref name="HL2LCcom">'' | *<nowiki><ref name="HL2LCcom">[[Developer commentary/Half-Life 2: Lost Coast|''Half-Life 2: Lost Coast'' commentary]]</ref></nowiki> | ||
**<nowiki><ref name="HL2LCcom" /></nowiki> | **<nowiki><ref name="HL2LCcom" /></nowiki> | ||
*<nowiki><ref name="HL2.1">''[[Half-Life 2: Episode One]]''</ref></nowiki> | *<nowiki><ref name="HL2.1">''[[Half-Life 2: Episode One]]''</ref></nowiki> | ||
**<nowiki><ref name="HL2.1" /></nowiki> | **<nowiki><ref name="HL2.1" /></nowiki> | ||
*<nowiki><ref name="HL2.1com">'' | *<nowiki><ref name="HL2.1com">[[Developer commentary/Half-Life 2: Episode One|''Half-Life 2: Episode One'' commentary]]</ref></nowiki> | ||
**<nowiki><ref name="HL2.1com" /></nowiki> | **<nowiki><ref name="HL2.1com" /></nowiki> | ||
*<nowiki><ref name="HL2.1Prima">''[[Half-Life 2: Episode One]] Prima Guide''</ref></nowiki> | |||
**<nowiki><ref name="HL2.1Prima" /></nowiki> | |||
*<nowiki><ref name="HL2.2">''[[Half-Life 2: Episode Two]]''</ref></nowiki> | *<nowiki><ref name="HL2.2">''[[Half-Life 2: Episode Two]]''</ref></nowiki> | ||
**<nowiki><ref name="HL2.2" /></nowiki> | **<nowiki><ref name="HL2.2" /></nowiki> | ||
*<nowiki><ref name="HL2.2com">'' | *<nowiki><ref name="HL2.2com">[[Developer commentary/Half-Life 2: Episode Two|''Half-Life 2: Episode Two'' commentary]]</ref></nowiki> | ||
**<nowiki><ref name="HL2.2com" /></nowiki> | **<nowiki><ref name="HL2.2com" /></nowiki> | ||
| Line 109: | Line 117: | ||
*<nowiki><ref name="P">''[[Portal]]''</ref></nowiki> | *<nowiki><ref name="P">''[[Portal]]''</ref></nowiki> | ||
**<nowiki><ref name="P" /></nowiki> | **<nowiki><ref name="P" /></nowiki> | ||
*<nowiki><ref name="Pcom">'' | *<nowiki><ref name="Pcom">[[Developer commentary/Portal|''Portal'' commentary]]</ref></nowiki> | ||
**<nowiki><ref name="Pcom" /></nowiki> | **<nowiki><ref name="Pcom" /></nowiki> | ||
| Line 122: | Line 130: | ||
*<nowiki><ref name="P2">''[[Portal 2]]''</ref></nowiki> | *<nowiki><ref name="P2">''[[Portal 2]]''</ref></nowiki> | ||
**<nowiki><ref name="P2" /></nowiki> | **<nowiki><ref name="P2" /></nowiki> | ||
*<nowiki><ref name="P2com">'' | *<nowiki><ref name="P2com">[[Developer commentary/Portal 2|''Portal 2'' commentary]]</ref></nowiki> | ||
**<nowiki><ref name="P2com" /></nowiki> | **<nowiki><ref name="P2com" /></nowiki> | ||
*<nowiki><ref name="Peer">''[[Peer Review]]''</ref></nowiki> | *<nowiki><ref name="Peer">''[[Peer Review]]''</ref></nowiki> | ||
| Line 134: | Line 142: | ||
*<nowiki><ref name="P2CEG">''Portal 2 Collector's Edition Guide''</ref></nowiki> | *<nowiki><ref name="P2CEG">''Portal 2 Collector's Edition Guide''</ref></nowiki> | ||
**<nowiki><ref name="P2CEG" /></nowiki> | **<nowiki><ref name="P2CEG" /></nowiki> | ||
===VR titles=== | |||
*<nowiki><ref name="HLA">''[[Half-Life: Alyx]]''</ref></nowiki> | |||
**<nowiki><ref name="HLA" /></nowiki> | |||
*<nowiki><ref name="HLAcom">[[Developer commentary/Half-Life: Alyx|''Half-Life: Alyx'' commentary]]</ref></nowiki> | |||
**<nowiki><ref name="HLAcom" /></nowiki> | |||
*<nowiki><ref name="HLATFH">''[[The Final Hours of Half-Life: Alyx]]''</ref></nowiki> | |||
**<nowiki><ref name="HLATFH" /></nowiki> | |||
*<nowiki><ref name="TL">''[[The Lab]]''</ref></nowiki> | |||
**<nowiki><ref name="TL" /></nowiki> | |||
*<nowiki><ref name="MD">''[[Moondust]]''</ref></nowiki> | |||
**<nowiki><ref name="MD" /></nowiki> | |||
*<nowiki><ref name="AHL">''[[Aperture Hand Lab]]''</ref></nowiki> | |||
**<nowiki><ref name="AHL" /></nowiki> | |||
===Misc.=== | ===Misc.=== | ||
| Line 139: | Line 162: | ||
*<nowiki><ref name="PrimaOB">''[[The Orange Box]] Prima Guide''</ref></nowiki> | *<nowiki><ref name="PrimaOB">''[[The Orange Box]] Prima Guide''</ref></nowiki> | ||
**<nowiki><ref name="PrimaOB" /></nowiki> | **<nowiki><ref name="PrimaOB" /></nowiki> | ||
==References== | ==References== | ||