Mr. Johnson (talk | contribs) No edit summary |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
It relies on the presence of specific {{Code|<nowiki>{{#var}}</nowiki>}} declarations in related {{Category|Reference Template}}s. | It relies on the presence of specific {{Code|<nowiki>{{#var}}</nowiki>}} declarations in related {{Category|Reference Template}}s. | ||
It accepts one {{Parameter| | It accepts one {{Parameter|optional|named}}, {{Code|clear}} (default: {{Code|both}}, which controls how/if it uses the [https://www.w3schools.com/cssref/pr_class_clear.php CSS clear property]]. If supplied, it should be one of {{code|left}}, {{code|right}}, or {{code|none}}. | ||
==Returns== | ==Returns== | ||
As it relies on the contents of other pages, no example is provided. | As it relies on the contents of other pages, no example is provided. |
Revision as of 02:08, 6 December 2023
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.