Template:Infobox: Difference between revisions

From Baten Kaitos Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
!colspan="2" style="font-size:115%"|{{{title}}}
!colspan="2" style="font-size:115%"|{{{title}}}
|-
|-
{{#if:{{{subtitle|}}}|{{!}}colspan="2" style="text-align:center"{{!}}{{{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}}}}}
{{!}}-
{{!}}-

Latest revision as of 21:59, 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 = ...
}}