Help:Templates

From iBase Pedia
Jump to navigation Jump to search

Templates are reusable pieces of wiki code that help standardize and format pages across iBasepedia.

They are written once and can be used on many pages.

What is a template?

A template is a special page that starts with "Template:". For example:

  • Template:Infobox film
  • Template:Reflist
  • Template:Cite web

When you use a template on a page, you include it using double curly braces:

{{Infobox film}}

Using templates

You can pass information into a template using parameters.

Example:

{{Infobox film
 | title = My Movie
 | director = John Doe
 | released = 2026
}}

References templates

To add references in iBasepedia:

1. Use <ref>...</ref> or citation templates like [1]


and 

[2]


in the article text.

2. At the bottom of the page add:

{{References}}

This will display all references.

Creating a template

To create a new template:

1. Go to:

Template:TemplateName

2. Click "Create" or "Edit" 3. Write your template code 4. Save

Common template types

  • Infobox templates – show key facts
  • Citation templates – format references
  • Navigation templates – link related pages
  • Maintenance templates – mark pages for cleanup

Useful pages

This help page explains how templates work on iBasepedia.

  1. {{#if:|[{{{url}}} ]|}.
  2. {{#if:|[{{{url}}} ]|}.