Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var:source}}|<h2>References</h2> | <includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var:source}}|<h2>References</h2> | ||
{{#if:{{#var:explain}}|<h3>Explanation Needed</h3><references group="explain"/>}} | {{#if:{{#var:explain}}|<h3>Explanation Needed</h3><references group="explain" />}} | ||
{{#if:{{#var:git}}|<h3>GitHub Issues</h3><references group="git" />}} | {{#if:{{#var:git}}|<h3>GitHub Issues</h3><references group="git" />}} | ||
{{#if:{{#var:source}}|<h3>Sourcebook</h3><references group="source" />}}</onlyinclude></includeonly> | {{#if:{{#var:source}}|<h3>Sourcebook</h3><references group="source" />}}</onlyinclude></includeonly> |
Revision as of 02:58, 22 November 2023
Template:References
Template:References
creates an auto-populating reference section at the bottom of each article page. It should be the very last item on pretty much every article in the Main namespace.
Usage
It relies on the presence of specific {{#var}}
declarations in related Reference Templates.
It accepts one optional named parameter, clear
(default: both
), which controls how/if it uses the CSS clear property. If supplied, it should be one of left
, right
, or none
.
Returns
As it relies on the contents of other pages, no example is provided.The documentation above was transcluded from Template:References/Documentation. [ edit ]