Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var: | <includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var:sr}}|<h2 style="clear:{{{clear|both}}};">References</h2>}}{{#if:{{#var:explain}}|<h3>Explanation Needed</h3><references group="explain" />}}{{#if:{{#var:git}}|<h3>GitHub Issues</h3><references group="git" />}}{{#if:{{#var:sr}}|<h3>Sourcebook</h3><references group="sr" />}}</onlyinclude></includeonly> |
Latest revision as of 19:49, 22 January 2024
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 ]