Wikisage, the free encyclopedia of the second generation, is digital heritage

Template:Refs: Difference between revisions

From Wikisage
Jump to navigation Jump to search
(start)
 
m (recat singular)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


;Use
;Use
* In the text, put each reference between <nowiki><ref> and </ref></nowiki>. It will look like this: <pre>some text<ref>1st reference</ref> more text<ref>2nd reference</ref><ref>3rd reference</ref> ...</pre>
* In the text, put each reference between <nowiki><ref> and </ref></nowiki>. It will look like this: ''some text<ref>1st reference</ref> more text<ref>2nd reference</ref><ref>3rd reference</ref> ...''
* Put at the bottom of the page:<br/><pre><nowiki>{{refs}}</nowiki></pre>as has been done here. That yields:
* Put at the bottom of the page:<br/><pre><nowiki>{{refs}}</nowiki></pre>as has been done here. That yields:


Line 20: Line 20:
}}
}}


[[Category:Wikisage:Template:Sources]]
[[Category:Wikisage:Template:Source]]


[[nl:Sjabloon:Refs]]</noinclude>
[[nl:Sjabloon:Refs]]</noinclude>

Latest revision as of 22:56, 1 February 2017

Template description
Purpose

To easily collect references.

Use
  • In the text, put each reference between <ref> and </ref>. It will look like this: some text[1] more text[2][3] ...
  • Put at the bottom of the page:
    {{refs}}
    as has been done here. That yields:

References

References:
  1. 1st reference
  2. 2nd reference
  3. 3rd reference