Template:Ref: Difference between revisions
From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc Fix misplaced linebreak |
PWpedia>Sangodoc Added instructions |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<sup class="reference plainlinks nourlexpansion">[{{ | <sup class="reference plainlinks nourlexpansion">[[#endnote_{{{1}}}|{{{2}}}]]</sup><noinclude> | ||
A modified version of Template:Ref from [http://en.wikipedia.org/wiki/Template:Ref here]. | A modified version of Template:Ref from [http://en.wikipedia.org/wiki/Template:Ref here]. | ||
Once they add the ParserFunctions plugin to this wiki this template should be modified to use the full Template:Ref code. | To use this template, put the following next to the item you want to footnote: | ||
<NoWiki>{{Ref|1|1}}</NoWiki> | |||
Then, where you want the footnote to appear, put the following: | |||
<NoWiki>:1.{{Note|1}}Note text.</NoWiki> | |||
Replace the "1" with the appropriate footnote number. | |||
So the following example: | |||
<NoWiki>This{{Ref|1|1}} may sometimes be a problem.{{Ref|2|2}} | |||
:1.{{Note|1}}The flying wombats. | |||
:2.{{Note|2}}Estimated to be around 5% of the time.</NoWiki> | |||
Appears like this: | |||
{| style="background:#291a0e" border="1" | |||
|This{{Ref|1|1}} may sometimes be a problem.{{Ref|2|2}} | |||
:1.{{Note|1}}The flying wombats. | |||
:2.{{Note|2}}Estimated to be around 5% of the time. | |||
|- | |||
|} | |||
The footnote links are clickable, and will take you directly to the footnote or its source. | |||
'''Note:''' Once they add the ParserFunctions plugin to this wiki this template should be modified to use [http://en.wikipedia.org/wiki/Template:Ref the full Template:Ref code]. | |||
</noinclude> | </noinclude> | ||
Latest revision as of 00:48, 1 February 2010
[[#endnote_{{{1}}}|{{{2}}}]]
A modified version of Template:Ref from here.
To use this template, put the following next to the item you want to footnote:
{{Ref|1|1}}
Then, where you want the footnote to appear, put the following:
:1.{{Note|1}}Note text.
Replace the "1" with the appropriate footnote number.
So the following example:
This{{Ref|1|1}} may sometimes be a problem.{{Ref|2|2}}
:1.{{Note|1}}The flying wombats.
:2.{{Note|2}}Estimated to be around 5% of the time.
Appears like this:
| This1 may sometimes be a problem.2 |
The footnote links are clickable, and will take you directly to the footnote or its source.
Note: Once they add the ParserFunctions plugin to this wiki this template should be modified to use the full Template:Ref code.