Jump to content

Template:Infobox

From Digital Millennium Wiki

One infobox for everything: projects, people, hardware, models, concepts. Every field is optional and empty rows are hidden.

Usage

{{Infobox
| title      =            <!-- defaults to the page name -->
| image      =            <!-- file name, without "File:" -->
| image_size =            <!-- defaults to 220px -->
| caption    =
| alt        =
| header1    =            <!-- optional section heading above row 1 -->
| label1     =
| data1      =
| label2     =
| data2      =
<!-- ... up to label30 / data30, header1 - header30 -->
| series       =          <!-- optional: name of the sequence, e.g. Boris models -->
| preceded_by  =          <!-- previous item, e.g. [[Boris-1]] -->
| succeeded_by =          <!-- next item -->
| below      =            <!-- optional footer line -->
}}
  • A row shows only when its dataN is filled in.
  • dataN without labelN spans the full width.
  • headerN puts a section heading before row N. Numbers don't need to be consecutive, so you can leave gaps for rows you'll add later.
  • preceded_by / succeeded_by add a chronology panel at the bottom; either one alone is fine. series labels it.
  • Images from the Gorilla icon theme are CC BY-SA 2.0 and need a credit, e.g. in caption.