Difference between revisions of "InfoTable"
From Sega Retro
Scarred Sun (talk | contribs) m |
m |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
There are three types of "image" that can be displayed: | There are three types of "image" that can be displayed: | ||
− | *"image", which is a regular mediawiki image | + | *'''"image"''', which is a regular mediawiki image. |
− | *"screenshot", which uses [[:Template:Bobscreen]] to correct TV aspect ratios | + | *'''"screenshot"''', which uses [[:Template:Bobscreen]] to correct TV aspect ratios. |
− | *"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=== | ||
+ | Put these under InfoRow if necessary: | ||
+ | <pre> | ||
+ | | tabs=yes | ||
+ | | password= | ||
+ | | map= | ||
+ | | map2= | ||
+ | | map3= | ||
+ | | map4= | ||
+ | | info1name= | ||
+ | | info1= | ||
+ | | info2name= | ||
+ | | info2= | ||
+ | | info3name= | ||
+ | | info3= | ||
+ | | info4name= | ||
+ | | info4= | ||
+ | </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. | ||
+ | *'''"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== | ||
Line 116: | Line 139: | ||
}} | }} | ||
}} | }} | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 12: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. |