Help:Explanatory notes: Difference between revisions

Content deleted Content added
Gadget850 (talk | contribs)
Cleaned up
Gadget850 (talk | contribs)
m markup
Line 8:
===Footnotes mixed with explanatory notes===
This example uses list-defined references mixed with explanatory notes.
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.<ref name=Foot01/> But the Moon<ref name=Foot02/> is not so big.<ref name=Foot03/> The Sun is also quite hot.<ref name=Foot04/>
 
==Notes==
Line 17:
<ref name=Foot03>Brown, ''The Moon'', 2006, Penguin, p. 46. Historically the Moon was not always considered to be large, see, for example Peterson, ''Astronomy'', MacMillan, 2005, p 623.</ref>
<ref name=Foot04>Smith, ''The Universe'', Random House, 2005, p. 334.</ref>
}}</nowiki>}}
|The Sun is pretty big.<ref name=Foot01/> But the Moon<ref name=Foot02/> is not so big.<ref name=Foot03/> The Sun is also quite hot.<ref name=Foot04/>
 
Line 31:
===Footnotes with separate explanatory notes===
This example creates a separate notes section by using group names.
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.<ref name=Foot01/><ref group=Note name=Note01/> But the Moon<ref group=Note name=Note02/> is not so big.<ref name=Foot02/><ref group=Note name=Note03/> The Sun is also quite hot.<ref name=Foot03/>
 
==Notes==
Line 46:
<ref name=Foot02>Brown, ''The Moon'', 2006, Penguin, p. 46.</ref>
<ref name=Foot03>Smith, ''The Universe'', Random House, 2005, p. 334.</ref>
}}</nowiki>}}
|The Sun is pretty big.<ref name=Foot01/><ref group=Note name=Note01/> But the Moon<ref group=Note name=Note02/> is not so big.<ref name=Foot02/><ref group=Note name=Note03/> The Sun is also quite hot.<ref name=Foot03/>
 
Line 65:
 
===Shortened footnotes mixed with explanatory notes===
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.<ref name=Foot01/> But the Moon<ref name=Foot02/> is not so big.<ref name=Foot03/> The Sun is also quite hot.<ref name=Foot04/>
 
==Notes==
Line 81:
* Miller, ''The Sun'', Oxford, 2005.
* Smith, ''The Universe'', Random House, 2005.
{{refend}}</nowiki>}}
|The Sun is pretty big.<ref name=Foot01/> But the Moon<ref name=Foot02/> is not so big.<ref name=Foot03/> The Sun is also quite hot.<ref name=Foot04/>
 
Line 103:
This example creates a separate notes section by using group names.
 
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.<ref name=Foot01/><ref group=Note name=Note01/> But the Moon<ref group=Note name=Note02/> is not so big.<ref name=Foot02/><ref group=Note name=Note03/> The Sun is also quite hot.<ref name=Foot03/>
 
==Notes==
Line 125:
* Miller, ''The Sun'', Oxford, 2005.
* Smith, ''The Universe'', Random House, 2005.
{{refend}}</nowiki>}}
|The Sun is pretty big.<ref name=Foot01/><ref group=Note name=Note01/> But the Moon<ref group=Note name=Note02/> is not so big.<ref name=Foot02/><ref group=Note name=Note03/> The Sun is also quite hot.<ref name=Foot03/>
 
Line 154:
This method uses {{tl|sfn}} to create the main footnotes, {{tl|refn}} to create the explanatory notes and {{tl|sfn}} to create footnotes in the explanatory notes.
 
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.{{sfn|Miller|2005|p=23}}{{refn|group=lower-alpha|But Miller points out that the Sun is not as large as some other stars.{{sfn|Miller|2005|p=23}}}} But the Moon{{refn|group=lower-alpha|The Moon goes by other names, such as Selena.{{sfn|Brown|2001|p=63}}}} is not so big.{{sfn|Brown|2001|p=46}}{{refn|group=lower-alpha|Historically the Moon was not always considered to be large.}} The Sun is also quite hot.{{sfn|Smith|2005|p=334}}
 
==Notes==
Line 168:
* {{citation |last=Miller |title=The Sun |publisher=Oxford |year=2005}}
* {{citation |last=Smith |title=The Universe |publisher=Random House |year=2005}}
{{refend}}</nowiki>}}
|The Sun is pretty big.{{sfn|Miller|2005|p=23}}{{refn|group=lower-alpha|But Miller points out that the Sun is not as large as some other stars.{{sfn|Miller|2005|p=23}}}} But the Moon{{refn|group=lower-alpha|The Moon goes by other names, such as Selena.{{sfn|Brown|2001|p=63}}}} is not so big.{{sfn|Brown|2001|p=46}}{{refn|group=lower-alpha|Historically the Moon was not always considered to be large.}} The Sun is also quite hot.{{sfn|Smith|2005|p=334}}
 
Line 186:
 
This method uses {{tl|sfn}} to create the main footnotes, {{tl|efn}} to create the explanatory notes, {{tl|sfn}} to create footnotes in the explanatory notes and {{tl|notelist}} to create the notes list.
{{markup
{{testcases side by side|t3=Markup|t4=Renders as|box=y|title=
|{{pre2|<nowiki>The Sun is pretty big.{{sfn|Miller|2005|p=23}}{{efn|But Miller points out that the Sun is not as large as some other stars.{{sfn|Miller|2005|p=23}}}} But the Moon{{efn|The Moon goes by other names, such as Selena.{{sfn|Brown|2001|p=63}}}} is not so big.{{sfn|Brown|2001|p=46}}{{efn|Historically the Moon was not always considered to be large.}} The Sun is also quite hot.{{sfn|Smith|2005|p=334}}
 
==Notes==
Line 200:
* {{citation |last=Miller |title=The Sun |publisher=Oxford |year=2005}}
* {{citation |last=Smith |title=The Universe |publisher=Random House |year=2005}}
{{refend}}</nowiki>}}
|The Sun is pretty big.{{sfn|Miller|2005|p=23}}{{efn|But Miller points out that the Sun is not as large as some other stars.{{sfn|Miller|2005|p=23}}}} But the Moon{{efn|The Moon goes by other names, such as Selena.{{sfn|Brown|2001|p=63}}}} is not so big.{{sfn|Brown|2001|p=46}}{{efn|Historically the Moon was not always considered to be large.}} The Sun is also quite hot.{{sfn|Smith|2005|p=334}}