Template:Ref: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
No edit summary
(made ref detect the page's language instead of having ref/fr)
Line 1: Line 1:
<includeonly>==References==
<includeonly>{{#invoke:Ref|_Main}}</includeonly><noinclude>
<div class="references-small" style="max-height:175px; overflow: auto; margin-bottom:1em; padding:.5em">
{{Documentation}}
<references responsive="0"/>
[[Category:Templates]]
</div></includeonly><noinclude>
</noinclude>
==Purpose==
This template adds a references section at the end of an article. A scroll bar appears on pages that have many references or that have several very long references.
 
==Usage==
To use this template, type:{{NoWikiTemp}}
 
Then save the page.
 
[[Category:Formatting Templates|R]]</noinclude>

Revision as of 15:30, 21 November 2019


Purpose

This template adds a references section at the end of an article and automatically places all references into one section. For pages that have many references or that have several very long references, a scroll bar will appear to condense the page length.

Usage

    {{Ref}}

Guidelines

This template should be used at the bottom of pages containing references. It should be the very first template used at the bottom of the page, except if the page contains notes, in which case it should go second right after {{Notes}}. There should be a space between this template and the {{Categories}} template. Finally, no text should be added to this section, as references will automatically be taken from everywhere in the page and sorted in this section. For an example, this should be the code normally seen:

==PREVIOUS SECTION==
TEXT

{{Notes}}
{{Ref}}

{{Categories
 |CATEGORY
}}
The above documentation is transcluded from Template:Ref/Documentation. (edit | history)