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 (Updating.)
m
 
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 the proper code for the reference section at the end of an article.
  
 
==Usage==
 
==Usage==
To use this template, type: <nowiki>{{subst:Ref}}</nowiki>
+
To use this template, type: <nowiki>{{Ref}}</nowiki> after adding a proper "References" section.
 
 
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 />
+
  <nowiki><div class="references-small" style="max-height:175px; overflow: auto"></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>
 
<noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:20, 13 July 2016

Purpose

This template is a shortcut to adding the proper code for the reference section at the end of an article.

Usage

To use this template, type: {{Ref}} after adding a proper "References" section.

What This Adds

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

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