Template:Reflist: Difference between revisions

corrected code for "group" parameter
(a reflist template like the one on Wikipedia)
 
(corrected code for "group" parameter)
Line 1: Line 1:
<includeonly><references {{#if:{{{group|}}}|group={{{group}}}}}/></includeonly><noinclude>
<includeonly>{{#tag:references||group={{{group|}}}}}</includeonly><noinclude>
A shortcut for typing <code><nowiki><references /></nowiki></code>. Place an empty call to this template at the bottom of the article to list out the references that you typed in <code><nowiki><ref></nowiki></code> tags throughout an article. If you want to only list ref tags in a certain group, use the "group" parameter: <tt><nowiki>{{Reflist|group=group_name}}</nowiki></tt>. See [[Oni]] for an example of this.
A shortcut for typing <code><nowiki><references /></nowiki></code>. Place an empty call to this template at the bottom of the article to list out the references that you typed in <code><nowiki><ref></nowiki></code> tags throughout an article. If you want to only list ref tags in a certain group, use the "group" parameter: <tt><nowiki>{{Reflist|group=group_name}}</nowiki></tt>. See [[Oni]] for an example of this.


[[Category:Basic formatting templates]]</noinclude>
[[Category:Basic formatting templates]]</noinclude>