Template:Infobox/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Usage == This template is used to create an infobox for articles. Example usage: <pre> {{Infobox | title = Example Title | image = Example.jpg | alt = An example image | caption = This is an example caption | data1 = Example data 1 | data2 = Example data 2 | data3 = Example data 3 }} </pre>") |
(→Usage) |
||
| Line 13: | Line 13: | ||
}} | }} | ||
</pre> | </pre> | ||
== Parameters == | |||
;title: The title of the infobox. | |||
;image: The filename of the image to display. | |||
;alt: Alternative text for the image. | |||
;caption: Caption for the image. | |||
;data1: First data field. | |||
;data2: Second data field. | |||
;data3: Third data field. | |||
Revision as of 13:58, 25 June 2024
Usage
This template is used to create an infobox for articles. Example usage:
{{Infobox
| title = Example Title
| image = Example.jpg
| alt = An example image
| caption = This is an example caption
| data1 = Example data 1
| data2 = Example data 2
| data3 = Example data 3
}}
Parameters
- title
- The title of the infobox.
- image
- The filename of the image to display.
- alt
- Alternative text for the image.
- caption
- Caption for the image.
- data1
- First data field.
- data2
- Second data field.
- data3
- Third data field.