Template:Reflist: Difference between revisions
(corrected code for "group" parameter) |
m (clarified that we want people to use the Ref template now, not the ref tag) |
||
(One intermediate revision by the same user not shown) | |||
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 | 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 were placed in the article through the use of the <code><nowiki><ref></nowiki></code> tag or the [[Template:Ref|Ref template]] (the latter method is strongly recommended). | ||
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 the Ref template 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> |
Latest revision as of 18:10, 24 April 2025
A shortcut for typing <references />
. Place an empty call to this template at the bottom of the article to list out the references that were placed in the article through the use of the <ref>
tag or the Ref template (the latter method is strongly recommended).
If you want to only list ref tags in a certain group, use the "group" parameter: {{Reflist|group=group_name}}. See Oni for an example usage.
If you have been creating references with the Ref template and asking for alphabetic symbols, call this template with {{Reflist|alpha=yes}} to list those references. See Quotes/Manual for an example usage.