Infobox

An **infobox** is a type of template that is usually at the top right of an article, and that contains the principal information of the page's subject. In the case of a character, this may be their name, age, relatives, and so on. Infoboxes of events, episodes or locations will have different fields. This template is not the same as a navbox, a navigation box at the bottom of an article, that links to several grouped articles of a related topic.

Common Uses

### Person infobox

A person infobox may be an actor infobox, (game or book) writer infobox, or other similar infoboxes about real world people. They often shortly sum up the biography and achievements of this person.

### Character infobox

A character infobox is an infobox used to quickly sum.

up the information of a character in media (books, series, games) or role-play.

### Episode or chapter infobox

An episode infobox is an infobox used to quickly sum up the information of an episode in a series or anime. Often, these infoboxes will link to the previous or next episode in line.

A chapter infobox is similarly an infobox, to sum up the information of a manga or comic chapter. Book chapters usually do not get separate pages on a wiki.

How to add infoboxes

You can add an infobox to an article in the same way you would any other template, using either the editor's built-in tools or the source mode. Portable Infoboxes can be quickly inserted in the VisualEditor by selecting the Infobox option from the 'Insert' dropdown.

Meanwhile, in source mode, you would typically begin by copying the syntax from the template's documentation (which is typically located near the bottom of the template's page) and pasting it into an article.

```
{{Infobox character
}}

```

This is the same for Portable Infoboxes as it is for any other template. As explained below, the template page markup differs slightly.

How to make infoboxes

First, start a new template with any name you like. To do this, create a new page with the title "Template:[name of your choice]" (e.g., Template:Example). While in the past you may have used tables and divs, we now use `<infobox>` tags. We'll begin with a basic 'stacked' infobox, with a title and an image:

```
<infobox layout="stacked">
 <title source="name">
 <default>{{PAGENAME}}</default>
 </title>
 <image source="image" />
</infobox>

```

This wikitext will tell your template to use *name* and *image* variables for **title** and **image** elements. Additionally, you can provide the `<default>` tag, whose value will be used when a user does not specify a name/image/etc. on the article.

Now we just need two more fields containing additional information, so let's add one:

```
<data source="parameter-1">
 <label>Label 1</label>
</data>

```

After adding one last field with source set to *parameter-2* and label to *Label 2*, we end up with the following:

```
<infobox layout="stacked">
 <title source="name">
 <default>{{PAGENAME}}</default>
 </title>
 <image source="image" />
 <data source="parameter-1">
 <label>Label 1</label>
 </data>
 <data source="parameter-2">
 <label>Label 2</label>
 </data>
</infobox>

```

We can now use the template in an article, inserting the following parameters to get a working infobox:

```
{{Example
}}

```

HelpFor a more detailed explanation, please visit **Infoboxes**