Template:Infobox: Difference between revisions

From Fancade Wiki
(Increase flexibility, and document template)
mNo edit summary
 
Line 54: Line 54:
== Parameters ==
== Parameters ==


Keywords, where (n) is an integer from 1 to 9:
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(n)'''.
* '''header#'''.
* '''label(n)''': May be omitted.
* '''label#''': May be omitted.
* '''data(n)'''.
* '''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

Odd Bot
Odd Bot.png
caption
header1
label1data1
data2
{{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#.