InfoTable
From NEC Retro
Revision as of 06:59, 1 January 2022 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{| class="responsive prettytable" |{{#vardefine:tableimagewidth|{{{imagewidths|}}}}}{{#vardefine:aligncenter|{{{align|}}}}} {{{1|}}} |}</includeonly><noinclude>...")
Revision as of 06:59, 1 January 2022 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{| class="responsive prettytable" |{{#vardefine:tableimagewidth|{{{imagewidths|}}}}}{{#vardefine:aligncenter|{{{align|}}}}} {{{1|}}} |}</includeonly><noinclude>...")
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.