Template:Infobox: Difference between revisions
From Baten Kaitos Wiki
(borrowed from Xeno Series Wiki (which in turn was borrowed mostly from SmashWiki)) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|class="wikitable infobox | {|class="wikitable infobox bk-infobox bk-infobox-right" | ||
|+<!--{{#if:{{{name|}}}|<div style="float:right;width:6em;text-align:right;">{{VTE|{{{name}}}|ns={{{namespace|Template}}}}}</div>}}--> | |+<!--{{#if:{{{name|}}}|<div style="float:right;width:6em;text-align:right;">{{VTE|{{{name}}}|ns={{{namespace|Template}}}}}</div>}}--> | ||
!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 = ... }}