Template:References: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (temporary for transition)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>==References==
<onlyinclude>{{#if:{{{noheader|}}}||<h2>References</h2>}}
{{Scroll|height={{{1|20em}}}|
{{Scroll|height={{{1|20em}}}|
<ol>{{#loop: refbuilder | 1 | {{#var:~ref~count}}
<ol>{{#loop: refbuilder | 1 | {{#var:~ref~count}}
Line 9: Line 9:
   }} {{#var:~ref~{{#var:refbuilder}}~data}}</li>
   }} {{#var:~ref~{{#var:refbuilder}}~data}}</li>
}}</ol>
}}</ol>
}}
}}</onlyinclude>
<references/></onlyinclude>


==Purpose==
==Purpose==

Latest revision as of 01:45, June 27, 2023

References

    Purpose

    This template adds a "References" section to an article, populating it with the references defined on that page using {{Ref}}.

    Usage

    {{References| height }}

    • height — adjust the maximum height of the references section. (Optional. Default: 20em)