Template:Reflist/doc

From MC Public Wiki
< Template:Reflist
Revision as of 17:02, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

The template is used in place of the <references /> tag.

It will also except a number which is the amount of columns the reference list will take up.

Usage

Simply put the template where you would normally put the <references /> tag, and put how many columns you want. You can also leave it blank for just 1, making it act exactly the same as the <references /> tag.

Examples

<ref>Example ref 1</ref>
<ref>Example ref 2</ref>
<ref>Example ref 3</ref>
<ref>Example ref 4</ref>

== References ==
{{reflist}}
produces

[1] [2] [3] [4]

References

  1. Example ref 1
  2. Example ref 2
  3. Example ref 3
  4. Example ref 4


<ref>Example ref 1</ref>
<ref>Example ref 2</ref>
<ref>Example ref 3</ref>
<ref>Example ref 4</ref>

== References ==
{{reflist|2}}
produces

[1] [2] [3] [4]

References

  1. Example ref 1
  2. Example ref 2
  3. Example ref 3
  4. Example ref 4

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.