Template:Infobox

From VNDev Wiki
Revision as of 00:15, 17 June 2022 by Arsym (talk | contribs) (Created page with "{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="3" style="{{#ifeq:{{{subbox|}}}|yes |padding:0; border:none; border-spacing:3px; margin:-3px; width:auto; min-width:100%; font-size:100%; clear:none; float:none; background-color:transparent; |border-spacing: 3px; width:22em; }} {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header -->{{#if:{{{ab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation [view] [edit] [purge]

Usage

{{Infobox}} is a meta-template used to organise an actual {{Infobox sometopic}} template like {{Infobox software}}.

For [[Template:Infobox sometopic]], template code looks like this, simplified:

{{Infobox
| name     = {{{name|{{PAGENAME}}}}}
| image    = {{{image|}}}
| caption1 = {{{caption|}}}

| label1   = Former names
|  data1   = {{{former_names|}}}

| header2  = General information

| label3   = Status
|  data3   = {{{status|}}}
...

| label99   = Status
|  data99   = {{{status|}}}
}}

More Information