Help:Infoboxes/Tags

Portable infoboxes include a wide variety of tags and options that you can use to make the infobox display how you want. Below we have listed all the standard tags, with sample wikitext and output HTML, to help you identify what you need to use, and how to give it a CSS makeover (see also Help:Infoboxes/CSS). Note that parser functions can also be used.

All infobox fields should be declared using XML convention, with attributes used for field configuration.

The tag which holds all others and delimits the scope of the infobox.


 * -|Input=
 * -|Output=

States infobox title.

Notes: Images used in title tags are stripped on mobile.
 * -|Input=
 * -|Output=

Standard key value tag.


 * -|Input=
 * -|Output=

Label tag, can be used only inside other tags, check child tags column for more info. Accepts wikitext.


 * -|Input=
 * -|Output=

Default tag shows text when data, can be used only inside other tags, check child tags column for more info. Accepts wikitext.


 * -|Input=
 * -|Output=

Format tag, can be used only inside other tags, check child tags column for more info. Accepts wikitext.


 * -|Input=
 * -|Output=

Image tag, used to insert images or video inside an infobox. It can only be styled using the community's CSS. Multiple images can be passed by using a gallery tag.


 * -|Input=
 * -|Output=

Can be used only inside image tag.


 * -|Input=
 * -|Output=

Can be used only inside image tag.


 * -|Input=
 * -|Output=

Used for grouping fields, can provide header for each group. Group won't be rendered (including header) when all fields are empty. However, if the attribute  is used, it will render all of the group's fields if at least one field is not empty.

Default group

 * -|Input=
 * -|Output=

Horizontal group

 * -|Input=
 * -|Output=

Header tag denotes the beginning of a section or group of tags.


 * -|Input=
 * -|Output=
 * Default group


 * Horizontal group

Used for providing any wikitext.


 * -|Input=
 * -|Output=