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.

States infobox title. Images used in  tags do not appear on mobile.

Standard key value tag.

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

Default tag text is used when "source" data is not specified, can be used only inside other tags, check child tags column for more info. Accepts wikitext.

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

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

Here, the default tag is used to specify an image to be used when no image has been chosen on an article. For example,.

Can be used only inside image tag.

Can be used only inside image tag.

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

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

Used for providing any wikitext.