Actions

Template

InfoTable

From Sega Retro


A simple table for displaying information about characters, levels, items etc. Use in conjunction with Template:InfoRow.

Usage

{{InfoTable|
| imagewidths=
{{InfoRow
| imagewidth=
| image=
| image2=
| image3=
| image4=
| title=
| password=
| desc=
}}
}}

There are three types of "image" that can be displayed:

  • "image", which is a regular mediawiki image
  • "screenshot", which uses Template:Bobscreen to correct TV aspect ratios
  • "sprite", which can be used to display 2D sprites with Template:Sprite

Use "imagewidths" to force a width for images/screenshots. Each one can be overriden by the "imagewidth" argument in InfoRow. The template supports up to 4 of each.

Examples

{{InfoTable
|{{InfoRow
| imagewidth=120
| image=SF2SCE MD US Box.jpg
| image2=SF2SCE MD EU Box.jpg
| image3=SF2SCE MD JP Box.jpg
| image4=
| title=Street Fighter II
| desc=Shadaloo
}}
}}
SF2SCE MD US Box.jpgSF2SCE MD EU Box.jpgSF2SCE MD JP Box.jpg Street Fighter II
Shadaloo

{{InfoTable|imagewidths=320|
{{InfoRow
| imagewidth=80
| screenshot=SF2SCE Title.png
| screenshot2=SuperSteetFighter2 Title.png
| screenshot3=SF2SCE Title.png
| screenshot4=SuperSteetFighter2 Title.png
| title=Psycho crusher
| password=sajfdmow03
| desc=Psycho crusssaaahhrrrhh
}}
{{InfoRow
| screenshot=SF2SCE Title.png
| title=Psycho crusher
| password=sajfdmow03
| desc=Psycho crusssaaahhrrrhh
}}
}}
SF2SCE Title.png
SuperSteetFighter2 Title.png
SF2SCE Title.png
SuperSteetFighter2 Title.png
Psycho crusher
Password: sajfdmow03 
Psycho crusssaaahhrrrhh
SF2SCE Title.png
Psycho crusher
Password: sajfdmow03 
Psycho crusssaaahhrrrhh

{{InfoTable|
{{InfoRow
| sprite={{sprite|SSFII MD Portraits.png|crop_width=56}}
| sprite2={{sprite|SSFII MD Portraits.png|crop_width=56|crop_x=56}}
| sprite3={{sprite|SSFII MD Portraits.png|crop_width=56}}
| sprite4={{sprite|SSFII MD Portraits.png|crop_width=56|crop_x=56}}
| title=Ryu/E.Honda fun time
| desc=Hurray it's Ryu. And E.Honda.
}}
}}
SSFII MD Portraits.png
SSFII MD Portraits.png
SSFII MD Portraits.png
SSFII MD Portraits.png
Ryu/E.Honda fun time
Hurray it's Ryu. And E.Honda.