Template:Infobox: Difference between revisions

From Baten Kaitos Wiki
No edit summary
No edit summary
Line 3: Line 3:
!colspan="2" style="font-size:115%"|{{{title}}}
!colspan="2" style="font-size:115%"|{{{title}}}
|-
|-
{{#if:{{{subtitle|}}}|{{!}}{{{subtitle}}}
{{!}}-
}}
{{#if:{{{image|}}}|{{!}}colspan="2" style="text-align:center"{{!}}{{{image}}}{{#if:{{{caption|}}}|<br/>{{{caption}}}}}
{{#if:{{{image|}}}|{{!}}colspan="2" style="text-align:center"{{!}}{{{image}}}{{#if:{{{caption|}}}|<br/>{{{caption}}}}}
{{!}}-
{{!}}-

Revision as of 21:47, 5 March 2024

{{{title}}}

The main infobox template.

Usage:

{{infobox
|title = (text to display in the header)
|subtitle = (text to display below the header)
|name = (name of the template)
|image = (image to display)
|caption = (caption to display below the image)
|header1 = (header of the first entry)
|data1 = (what do display in that entry)
|header2 = ...
|data2 = ...
...
|header10 = ...
|data10 = ...
}}