Difference between revisions of "InfoTable"
From Sega Retro
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
*'''"sprite"''', which can be used to display 2D sprites with [[:Template:Sprite]]. | *'''"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 | + | 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 10 of each. |
===Optional fields=== | ===Optional fields=== | ||
Put these under InfoRow if necessary: | Put these under InfoRow if necessary: | ||
<pre> | <pre> | ||
+ | | tabs=yes | ||
| password= | | password= | ||
| map= | | map= | ||
Line 36: | Line 37: | ||
| map3= | | map3= | ||
| map4= | | map4= | ||
+ | | info1name= | ||
| info1= | | info1= | ||
− | | | + | | info2name= |
| info2= | | info2= | ||
− | | | + | | info3name= |
| info3= | | info3= | ||
− | | | + | | info4name= |
| info4= | | info4= | ||
− | |||
</pre> | </pre> | ||
+ | *'''"tabs"''' will apply selectable tabs for images when added. Useful if there are lots of screenshots. | ||
*'''"password"''' is for listing passwords to access specific levels. | *'''"password"''' is for listing passwords to access specific levels. | ||
*'''"map"''' is for links to map rips of specific levels (up to four). | *'''"map"''' is for links to map rips of specific levels (up to four). | ||
− | *'''" | + | *'''"info"''' and '''"infoname"''' are for any additional fields of information. |
==Examples== | ==Examples== |
Latest revision as of 13:48, 15 June 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 10 of each.
Optional fields
Put these under InfoRow if necessary:
| tabs=yes | password= | map= | map2= | map3= | map4= | info1name= | info1= | info2name= | info2= | info3name= | info3= | info4name= | info4=
- "tabs" will apply selectable tabs for images when added. Useful if there are lots of screenshots.
- "password" is for listing passwords to access specific levels.
- "map" is for links to map rips of specific levels (up to four).
- "info" and "infoname" are for any additional fields of information.
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 }} }}
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 }} }}
Psycho crusher | |
---|---|
Password: sajfdmow03 | |
Psycho crusssaaahhrrrhh | |
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. }} }}
Ryu/E.Honda fun time | |
---|---|
Hurray it's Ryu. And E.Honda. |