Help:References: Difference between revisions
Sandvich18 (talk | contribs) No edit summary |
|||
| (19 intermediate revisions by 4 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> | ||
Such references are particularly useful when citing sources | Such references are particularly useful when citing sources if different statements come from the same source. 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.<ref name="multiple" /> | ||
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.<ref name="multiple" /> | |||
==Too many references can fixed by having columns== | ==Too many references can fixed by having columns== | ||
| Line 43: | 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 50: | 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 69: | Line 71: | ||
*<nowiki><ref name="HL2pr">''[[Half-Life 2]]'' (pre-release)</ref></nowiki> | *<nowiki><ref name="HL2pr">''[[Half-Life 2]]'' (pre-release)</ref></nowiki> | ||
**<nowiki><ref name="HL2pr" /></nowiki> | **<nowiki><ref name="HL2pr" /></nowiki> | ||
*<nowiki><ref name=" | *<nowiki><ref name="HL2L">[[Half-Life 2 leak|''Half-Life 2'' leak]]</ref></nowiki> | ||
**<nowiki><ref name="HL2L" /></nowiki> | |||
*<nowiki><ref name="HL2Lsc">[[Half-Life 2 leak|''Half-Life 2'' leak]] source code</ref></nowiki> | |||
**<nowiki><ref name=" | |||
*<nowiki><ref name="HL2Lsc">[[ | |||
**<nowiki><ref name="HL2Lsc" /></nowiki> | **<nowiki><ref name="HL2Lsc" /></nowiki> | ||
*<nowiki><ref name="WC mappack">[[WC | *<nowiki><ref name="WC mappack">[[WC map pack]]</ref></nowiki> | ||
**<nowiki><ref name="WC mappack" /></nowiki> | **<nowiki><ref name="WC mappack" /></nowiki> | ||
*<nowiki><ref name="HL2RL">[[Half-Life 2 leak#2016-2017 leak|''Half-Life 2'' repository leak]]</ref></nowiki> | |||
**<nowiki><ref name="HL2RL" /></nowiki> | |||
====Retail==== | ====Retail==== | ||
| Line 82: | 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> | ||
*<nowiki><ref name="Raising the Bar">''[[Half-Life 2: Raising the Bar]]''</ref></nowiki> | *<nowiki><ref name="Raising the Bar">''[[Half-Life 2: Raising the Bar]]''</ref></nowiki> (For a general reference; deprecated) | ||
**<nowiki><ref name="Raising the Bar" /></nowiki> | **<nowiki><ref name="Raising the Bar" /></nowiki> | ||
*<nowiki><ref name="rtbPAGENUMBER">''[[Half-Life 2: Raising the Bar]]'', page PAGENUMBER</ref></nowiki> | |||
**<nowiki><ref name="rtbPAGENUMBER" /></nowiki> | |||
*<nowiki><ref name="rtbup">''[[Half-Life 2: Raising the Bar]]'' ([[Half-Life 2: Raising the Bar#Uncorrected proof|uncorrected proof]])</ref></nowiki> (For a general reference; deprecated) | |||
**<nowiki><ref name="rtbup" /></nowiki> | |||
*<nowiki><ref name="rtbupPAGENUMBER">''[[Half-Life 2: Raising the Bar]]'' ([[Half-Life 2: Raising the Bar#Uncorrected proof|uncorrected proof]]), page PAGENUMBER</ref></nowiki> | |||
**<nowiki><ref name="rtbupPAGENUMBER" /></nowiki> | |||
*<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 105: | 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 112: | Line 124: | ||
*<nowiki><ref name="ARG">[[Portal ARG|''Portal'' ARG]]</ref></nowiki> | *<nowiki><ref name="ARG">[[Portal ARG|''Portal'' ARG]]</ref></nowiki> | ||
**<nowiki><ref name="ARG" /></nowiki> | **<nowiki><ref name="ARG" /></nowiki> | ||
*<nowiki><ref name=" | *<nowiki><ref name="ARG2">[[PotatoFoolsDay ARG|''PotatoFoolsDay'' ARG]]</ref></nowiki> | ||
**<nowiki><ref name="ARG2" /></nowiki> | **<nowiki><ref name="ARG2" /></nowiki> | ||
*<nowiki><ref name="P2LR">''[[Portal 2: Lab Rat]]''</ref></nowiki> | *<nowiki><ref name="P2LR">''[[Portal 2: Lab Rat]]''</ref></nowiki> | ||
| Line 118: | 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 130: | 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 135: | 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== | ||