Welcome to the Command & Conquer Wiki! Log in and join the community.

Template:Ref

From Command & Conquer Wiki
Jump to: navigation, search
Template documentation (for the template shown above, sometimes hidden or invisible)

Overview[edit source]

This template is used to create <references/> sections with different properties. The template allows reference sections to be "upgraded" overtime to accommodate larger lists.

Usage[edit source]

Copy and paste the following into the article and fill in the fields.

{{ref
|col=
|scroll=
|height=
|width=
}}

Optional Fields[edit source]

The following are some notes on optional fields.

  • col
    • Sets the number of columns used.
    • Defaults to 1.
  • scroll
    • Set to anything to use a scrollbox.
  • height
    • Sets the height of the scrollbox.
    • Include units.
  • width
    • Sets the width of the scrollbox.
    • Include units.

Examples[edit source]

No Scrollbox and No Columns[edit source]

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

{{ref}}
  1. Dummy reference 1
  2. Dummy reference 2
  3. Dummy reference 3
  4. Dummy reference 4
  5. Dummy reference 5

No Scrollbox with Columns[edit source]

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

{{ref|col=2}}
  1. Dummy reference 6
  2. Dummy reference 7
  3. Dummy reference 8
  4. Dummy reference 9
  5. Dummy reference 10

Scrollbox and No Columns[edit source]

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

{{ref|scroll=x}}
  1. Dummy reference 11
  2. Dummy reference 12
  3. Dummy reference 13
  4. Dummy reference 14
  5. Dummy reference 15

Scrollbox with Columns[edit source]

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

{{ref|scroll=x|col=2}}
  1. Dummy reference 16
  2. Dummy reference 17
  3. Dummy reference 18
  4. Dummy reference 19
  5. Dummy reference 20

Documentation transcluded from Template:Ref/doc.