User:Masem/infobox/base/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for User:Masem/infobox/base (see that page for the user itself).
It contains usage information, categories and other content that is not part of the original user page.

[edit] Usage

This template uses a combination of named and unnamed parameters. The named parameters are:

  • title - The title to use for the infobox
  • header - A row spanning both columns that will be between the title and the rest of the information; typically this is an image and a caption. This row is ignored for table coloring
  • boxstyle - Additional CSS to define the appearance of the infobox
  • titlestyle - Additional CSS to define the appearance of the title
  • headerstyle - Additional CSS to define the appearance of the header section
  • os - The CSS to define the style for odd-numbered rows
  • es - The CSS to define the style for even-numbered rows

The remaining up to 50 unnamed parameters should be considered as up to 25 pairs of information (the row title, and then the information for that). A row is considered "filled" (and thus counted towards even/odd) if there is a row title defined for that pair, otherwise, no row is created.

[edit] See also