Actions

Template

Difference between revisions of "InfoTable"

From NEC Retro

(Created page with "<includeonly>{| class="responsive prettytable" |{{#vardefine:tableimagewidth|{{{imagewidths|}}}}}{{#vardefine:aligncenter|{{{align|}}}}} {{{1|}}} |}</includeonly><noinclude>...")
 
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
Line 28: Line 28:
 
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.
 
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.
  
[[Category:NEC Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 14:13, 1 January 2022


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.