Help:References: Difference between revisions
No edit summary |
|||
| (3 intermediate revisions by the same user not shown) | |||
| 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 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 156: | 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== | ||