Help:Infobox
[[file:_before_the_image_name_(or_you_didn't,_and_it's_one_of_the_templates_that_requires_it).|right|thumb|_before_the_image_name_(or_you_didn't,_and_it's_one_of_the_templates_that_requires_it).]]
Help:Infobox is a guide on how to use the Template:Infobox on MediaWiki pages. An infobox is a fixed-format table used to consistently present a summary of information about a subject. Infoboxes are commonly used in articles to provide a quick overview of the subject's key details.
Usage[edit | edit source]
To use an infobox, you need to include the appropriate infobox template at the beginning of the article. The syntax for adding an infobox is as follows:
{{Infobox
| title =
| image =
| caption =
| header1 =
| label1 =
| data1 =
| header2 =
| label2 =
| data2 =
<!-- Add more fields as necessary -->
}}
Parameters[edit | edit source]
Infobox templates have various parameters that can be customized to fit the needs of the article. Common parameters include:
- title: The title of the infobox.
- image: The filename of an image to be displayed in the infobox.
- caption: A caption for the image.
- header: A header for a section within the infobox.
- label: A label for a piece of data.
- data: The data corresponding to the label.
Examples[edit | edit source]
Here is an example of an infobox for a person:
{{Infobox person
| name = John Doe
| image = JohnDoe.jpg
| caption = John Doe in 2020
| birth_date = {{Birth date|1990|1|1}}
| birth_place = [[New York City]], [[New York]]
| occupation = [[Software engineer]]
}}
Customization[edit | edit source]
Infoboxes can be customized by creating new templates or modifying existing ones. To create a new infobox template, you can start with the basic structure and add specific fields relevant to the subject. For example, an infobox for a book might include fields for the author, genre, and publication date.
Related Pages[edit | edit source]
See Also[edit | edit source]
Contributors: Prab R. Tumpati, MD