Template:Reflist: Difference between revisions

added support for alphabetic refs
(corrected code for "group" parameter)
(added support for alphabetic refs)
Line 1: Line 1:
<includeonly>{{#tag:references||group={{{group|}}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{{alpha}}}|yes|<div class="reflist reflist-lower-alpha">}}{{#tag:references||group={{#ifeq:{{{alpha}}}|yes|lower-alpha|{{{group|}}}}}}}{{#ifeq:{{{alpha}}}|yes|</div>}}</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 usage.
 
If you have been creating references with [[Template:Ref]] and asking for alphabetic symbols, call this template with <tt><nowiki>{{Reflist|alpha=yes}}</nowiki></tt> to list those references. See [[Quotes/Manual]] for an example usage.


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