Site Notice

We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
Please no leaked content less than one year old, or videos of leaks.
Content copied verbatim from other websites or wikis will be removed.

Difference between revisions of "Template:Ref/doc"

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search
m (Text replace - '<br>' to '<br />')
m (Updating.)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
This template is a shortcut to adding a references section at the end of an article.
+
This template is a shortcut to adding a references section at the end of an article.
  
 
==Usage==
 
==Usage==
 
To use this template, type: <nowiki>{{subst:Ref}}</nowiki>
 
To use this template, type: <nowiki>{{subst:Ref}}</nowiki>
  
Then save the page.
+
Then save the page.
  
==What This Adds==
+
==What This Adds==
After the page is saved, the template will add the following lines:<br />
+
After the page is saved, the template will add the following lines:<br />
 
  <b><nowiki>==References==</nowiki><br />
 
  <b><nowiki>==References==</nowiki><br />
  <nowiki><div class="references-small"></nowiki><br />
+
  <nowiki><div class="references-small" style="max-height:175px; overflow: auto; padding: 5px"></nowiki><br />
 
  <nowiki><references/></nowiki><br />
 
  <nowiki><references/></nowiki><br />
 
  <nowiki></div></nowiki></b>
 
  <nowiki></div></nowiki></b>
 
+
<noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude>
To add a references  section with a scroll bar, use the [[Template:Refbar|Refbar]] template.<noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude>
 

Revision as of 17:27, 4 April 2015

Purpose

This template is a shortcut to adding a references section at the end of an article.

Usage

To use this template, type: {{subst:Ref}}

Then save the page.

What This Adds

After the page is saved, the template will add the following lines:

==References==
<div class="references-small" style="max-height:175px; overflow: auto; padding: 5px">
<references/>
</div>