Template:Infobox: Difference between revisions
-u ndefined- (talk | contribs) (Increase flexibility, and document template) |
-u ndefined- (talk | contribs) mNo edit summary |
||
Line 54: | Line 54: | ||
== Parameters == | == Parameters == | ||
Keywords, where | Keywords, where <code>#</code> is an integer from 1 to 9: | ||
* '''title''': Title for the infobox. | * '''title''': Title for the infobox. | ||
Line 61: | Line 61: | ||
:* '''image_alt''': Alternative text to provide the image. | :* '''image_alt''': Alternative text to provide the image. | ||
* '''caption''': Caption for the image. | * '''caption''': Caption for the image. | ||
* '''header | * '''header#'''. | ||
* '''label | * '''label#''': May be omitted. | ||
* '''data | * '''data#'''. | ||
[[Category:Infoboxes| ]] | [[Category:Infoboxes| ]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:15, 30 July 2025
Generic template for creating infoboxes.
Please use other infoboxes when possible.
Example
{{Infobox |title=Odd Bot |image=Odd Bot.png |caption=caption |header1=header1 |label1=label1 |data1=data1 |data2=data2 }}
Parameters
Keywords, where #
is an integer from 1 to 9:
- title: Title for the infobox.
- image_url: Image to be displayed as full syntax.
- image: Name of the image. A simpler version of image_url parameter.
- image_alt: Alternative text to provide the image.
- caption: Caption for the image.
- header#.
- label#: May be omitted.
- data#.