Help:Infobox

From Festipedia, hosted by the FR Heritage Group

An infobox is a table, usually appearing on the top right of the article. It is used to provide consistently formatted summary information for articles covering similar topics. For example, articles on locomotives may all include an infobox giving the basic information about the loco.

Infoboxes are often set up as templates to ensure that they are consistent between all articles using them. Parameters pass in the information to be displayed for the individual page. Such templates will often use functions, particularly #if, to determine whether or not particular items of information are present and adjust the format accordingly.

If you set up an infobox aligned on the right, you should generally ensure that it does not use more than one third of the available width of the page.

Sample

[[Image:{{{image}}}|300px| ]]
{{{caption}}}
Data 1: {{{data1}}}
Data 2: this text displayed if data2 not defined
Data 3 (data hidden if data3 empty or not defined):

To the right is a sample infobox. It uses default values for data2 and data3 if they are not present. It is also possible to completely remove a row from the table if the data it needs is empty or not defined.

It is strongly recommended that the template page for any infobox should include full usage instructions.