Difference between revisions of "InfoRow"
From Sonic Retro
BSonirachi (talk | contribs) |
BSonirachi (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:secondrow|{{#if:{{{password|}}}{{{map|}}}{{{info1name | + | <includeonly>{{#vardefine:secondrow|{{#if:{{{password|}}}{{{map|}}}{{{info1name|}}}|true|}}}}{{#if:{{{imagewidth|}}}|{{#vardefine:imagewidth|{{{imagewidth|}}}}}|{{#vardefine:imagewidth|{{#var:tableimagewidth}}}}}}{{ |
− | #if:{{{imagescale|}}}|{{#vardefine:imagewidth|{{#expr:{{#var:imagewidth}} * {{{imagescale|}}} }} }}|}} | + | #if:{{{imagescale|}}}|{{#vardefine:imagewidth|{{#expr:{{#var:imagewidth}} * {{{imagescale|}}} }} }}|}}{{#vardefine:flexdirection|{{#ifeq:{{{direction|}}}|column|column|row}}}} |
| rowspan="{{#if:{{#var:secondrow}}|3|2}}" style="vertical-align: top; {{#if:{{{minwidth|}}}|min-width: {{{minwidth|}}}px;|width: {{#var:imagewidth}}px;}} {{#if:{{{tabs|}}}||white-space: nowrap;}} {{#if:{{{bgcolour|}}}{{{bgcolor|}}}|background-color: {{{bgcolour|}}}{{{bgcolor|}}};|}}"|{{#if:{{#var:aligncenter}}|<div style="text-align: center;">|}}{{ | | rowspan="{{#if:{{#var:secondrow}}|3|2}}" style="vertical-align: top; {{#if:{{{minwidth|}}}|min-width: {{{minwidth|}}}px;|width: {{#var:imagewidth}}px;}} {{#if:{{{tabs|}}}||white-space: nowrap;}} {{#if:{{{bgcolour|}}}{{{bgcolor|}}}|background-color: {{{bgcolour|}}}{{{bgcolor|}}};|}}"|{{#if:{{#var:aligncenter}}|<div style="text-align: center;">|}}{{ | ||
#if:{{{image|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image|}}}|{{{imagescale|}}}}}|[[File:{{{image|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak1|}}}|<br/>|}}{{ | #if:{{{image|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image|}}}|{{{imagescale|}}}}}|[[File:{{{image|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak1|}}}|<br/>|}}{{ | ||
Line 11: | Line 11: | ||
#if:{{{image8|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image8|}}}|{{{imagescale|}}}}}|[[File:{{{image8|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak8|}}}|<br/>|}}{{ | #if:{{{image8|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image8|}}}|{{{imagescale|}}}}}|[[File:{{{image8|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak8|}}}|<br/>|}}{{ | ||
#if:{{{image9|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image9|}}}|{{{imagescale|}}}}}|[[File:{{{image9|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak9|}}}|<br/>|}}{{ | #if:{{{image9|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image9|}}}|{{{imagescale|}}}}}|[[File:{{{image9|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak9|}}}|<br/>|}}{{ | ||
− | #if:{{{image10|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image10|}}}|{{{imagescale|}}}}}|[[File:{{{image10|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak10|}}}|<br/>|}}{{#if:{{{screenshot|}}}|{{#if:{{{tabs|}}}| | + | #if:{{{image10|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image10|}}}|{{{imagescale|}}}}}|[[File:{{{image10|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak10|}}}|<br/>|}}{{ |
+ | #if:{{{image11|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image11|}}}|{{{imagescale|}}}}}|[[File:{{{image11|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak11|}}}|<br/>|}}{{ | ||
+ | #if:{{{image12|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image12|}}}|{{{imagescale|}}}}}|[[File:{{{image12|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak12|}}}|<br/>|}}{{#if:{{{screenshot|}}}|{{#if:{{{tabs|}}}| | ||
{{#vardefine:thumbwidth|{{#if:{{#var:imagewidth2}}|{{#var:imagewidth2}}|{{#expr:{{#var:imagewidth}}/5}}}}}}{{tabs | {{#vardefine:thumbwidth|{{#if:{{#var:imagewidth2}}|{{#var:imagewidth2}}|{{#expr:{{#var:imagewidth}}/5}}}}}}{{tabs | ||
| hidetitle=yes | | hidetitle=yes | ||
Line 24: | Line 26: | ||
| icon9={{#if:{{{screenshot9|}}}|{{Bobscreen|{{{screenshot9|}}}|width={{#var:thumbwidth}}|link=}}|}} | | icon9={{#if:{{{screenshot9|}}}|{{Bobscreen|{{{screenshot9|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
| icon10={{#if:{{{screenshot10|}}}|{{Bobscreen|{{{screenshot10|}}}|width={{#var:thumbwidth}}|link=}}|}} | | icon10={{#if:{{{screenshot10|}}}|{{Bobscreen|{{{screenshot10|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon11={{#if:{{{screenshot11|}}}|{{Bobscreen|{{{screenshot11|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon12={{#if:{{{screenshot12|}}}|{{Bobscreen|{{{screenshot12|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
| content1={{#if:{{{screenshot|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot|}}}}}|}} | | content1={{#if:{{{screenshot|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot|}}}}}|}} | ||
| content2={{#if:{{{screenshot2|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot2|}}}}}|}} | | content2={{#if:{{{screenshot2|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot2|}}}}}|}} | ||
Line 34: | Line 38: | ||
| content9={{#if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}} | | content9={{#if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}} | ||
| content10={{#if:{{{screenshot10|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot10|}}}}}|}} | | content10={{#if:{{{screenshot10|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot10|}}}}}|}} | ||
+ | | content11={{#if:{{{screenshot11|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot11|}}}}}|}} | ||
+ | | content12={{#if:{{{screenshot12|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot12|}}}}}|}} | ||
| orientation=horizontal | | orientation=horizontal | ||
| width={{#var:imagewidth}}px | | width={{#var:imagewidth}}px | ||
+ | | selected={{{selected|}}} | ||
| selectedstyle=margin:2px; padding-top:5px; | | selectedstyle=margin:2px; padding-top:5px; | ||
| notselectedstyle=margin:2px; padding-top:5px; | | notselectedstyle=margin:2px; padding-top:5px; | ||
Line 51: | Line 58: | ||
#if:{{{screenshot8|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot8|}}}}}|}}{{ | #if:{{{screenshot8|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot8|}}}}}|}}{{ | ||
#if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}}{{ | #if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}}{{ | ||
− | #if:{{{screenshot10|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot10|}}}}}|}}</div>}}|}}{{#if:{{#var:aligncenter}}|</div>|}}{{ | + | #if:{{{screenshot10|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot10|}}}}}|}}{{ |
− | #if:{{{sprite|}}}|<div style=" | + | #if:{{{screenshot11|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot11|}}}}}|}}{{ |
+ | #if:{{{screenshot12|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot12|}}}}}|}}</div>}}|}}{{#if:{{#var:aligncenter}}|</div>|}}{{ | ||
+ | #if:{{{sprite|}}}|<div style="display: flex; flex-direction: {{#var:flexdirection}}; align-items: center; justify-content: space-evenly;">{{{sprite|}}}{{{sprite2|}}}{{{sprite3|}}}{{{sprite4|}}}{{{sprite5|}}}</div>|}}{{ | ||
+ | #if:{{{content|}}}|{{{content|}}}|}} | ||
! style="height: 30px"|{{{title|}}} | ! style="height: 30px"|{{{title|}}} | ||
|- | |- | ||
{{#if:{{#var:secondrow}}| | {{#if:{{#var:secondrow}}| | ||
− | {{!}}style="vertical-align: top; height: 30px"{{!}}{{ | + | {{!}}style="vertical-align: top; height: 30px; font-size:small"{{!}}{{ |
− | #if:{{{password|}}}|'''Password:''' {{{password|}}} }} {{ | + | #if:{{{password|}}}|'''Password:''' <tt>{{{password|}}}</tt> }} {{ |
− | #if:{{{map|}}}|'''Map{{#if:{{{map2|}}}|s|}}:''' [[:File:{{{map|}}}|{{{map1name| | + | #if:{{{map|}}}|'''Map{{#if:{{{map2|}}}|s|}}:''' [[:File:{{{map|}}}|{{{map1name|1️⃣}}}]]{{ |
− | #if:{{{map2|}}}| {{!}} [[:File:{{{map2|}}}|{{{map2name| | + | #if:{{{map2|}}}| {{!}} [[:File:{{{map2|}}}|{{{map2name|2️⃣}}}]]|}}{{ |
− | #if:{{{map3|}}}| {{!}} [[:File:{{{map3|}}}|{{{map3name| | + | #if:{{{map3|}}}| {{!}} [[:File:{{{map3|}}}|{{{map3name|3️⃣}}}]]|}}{{ |
− | #if:{{{map4|}}}| {{!}} [[:File:{{{map4|}}}|{{{map4name| | + | #if:{{{map4|}}}| {{!}} [[:File:{{{map4|}}}|{{{map4name|4️⃣}}}]]|}}{{ |
− | {{#vardefine:infocount|0}}{{#vardefine:info|{{#if:{{{map|}}}{{{password|}}}|{{#if:{{{info1name|}}}| | + | #if:{{{map5|}}}| {{!}} [[:File:{{{map5|}}}|{{{map5name|5️⃣}}}]]|}}{{ |
− | {{#if:{{{info2name|}}}|{{InfoRowInfo|{{{info2name|}}}|{{{info2|}}}}} | + | #if:{{{map6|}}}| {{!}} [[:File:{{{map6|}}}|{{{map6name|6️⃣}}}]]|}} }} |
− | {{#if:{{{info3name|}}}|{{InfoRowInfo|{{{info3name|}}}|{{{info3|}}}}} | + | {{#vardefine:infocount|0}}{{#vardefine:info|{{#if:{{{map|}}}{{{password|}}}|{{#if:{{{info1name|}}}||}}|}}{{#if:{{{info1name|}}}|{{InfoRowInfo|{{{info1name|}}}|{{{info1|}}}}}}} |
− | {{#if:{{{info4name|}}}|{{InfoRowInfo|{{{info4name|}}}|{{{info4|}}}}} | + | {{#if:{{{info2name|}}}|{{InfoRowInfo|{{{info2name|}}}|{{{info2|}}}}}}} |
− | {{#if:{{{info5name|}}}|{{InfoRowInfo|{{{info5name|}}}|{{{info5|}}}}} | + | {{#if:{{{info3name|}}}|{{InfoRowInfo|{{{info3name|}}}|{{{info3|}}}}}}} |
− | {{#if:{{{info6name|}}}|{{InfoRowInfo|{{{info6name|}}}|{{{info6|}}}}} | + | {{#if:{{{info4name|}}}|{{InfoRowInfo|{{{info4name|}}}|{{{info4|}}}}}}} |
− | {{#if:{{{info7name|}}}|{{InfoRowInfo|{{{info7name|}}}|{{{info7|}}}}} | + | {{#if:{{{info5name|}}}|{{InfoRowInfo|{{{info5name|}}}|{{{info5|}}}}}}} |
− | {{#if:{{{info8name|}}}|{{InfoRowInfo|{{{info8name|}}}|{{{info8|}}}}} | + | {{#if:{{{info6name|}}}|{{InfoRowInfo|{{{info6name|}}}|{{{info6|}}}}}}} |
− | {{#if:{{{info9name|}}}|{{InfoRowInfo|{{{info9name|}}}|{{{info9|}}}}} | + | {{#if:{{{info7name|}}}|{{InfoRowInfo|{{{info7name|}}}|{{{info7|}}}}}}} |
+ | {{#if:{{{info8name|}}}|{{InfoRowInfo|{{{info8name|}}}|{{{info8|}}}}}}} | ||
+ | {{#if:{{{info9name|}}}|{{InfoRowInfo|{{{info9name|}}}|{{{info9|}}}}}}} | ||
{{#if:{{{info10name|}}}|{{InfoRowInfo|{{{info10name|}}}|{{{info10|}}}}}}}}}{{ | {{#if:{{{info10name|}}}|{{InfoRowInfo|{{{info10name|}}}|{{{info10|}}}}}}}}}{{ | ||
#ifexpr:{{#var:infocount}}>3|<div style="max-width:45em;>{{multicol| | #ifexpr:{{#var:infocount}}>3|<div style="max-width:45em;>{{multicol| |
Latest revision as of 12:38, 27 March 2024
This template has been manually copied from Sega Retro, specifically Template:InfoRow Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date. |
Sonic the Hedgehog | |
---|---|
The most famous hedgehog in the world. |
Sonic the Hedgehog 2 | |
---|---|
Password: sajfdmow03 Maps: Act 1 | Act 2 | Act 3 | Hub | |
Are you up 2 it? | |
Sonic the Hedgehog 2 | |
Password: sajfdmow03 | |
Are you up 2 it? |
Sonic & Knuckles | |
---|---|
Knock knock it's Knuckles. | |
Sonic & Knuckles | |
Knock knock it's Knuckles. |
1-UP | |
---|---|
Extra player life. | |
Eggman Mark | |
Hurts the player. |
show;hide
|
Hope You Like Green Hill Zone |
---|---|
How many Green Hills?: Lots | |
Because Sega wants you to remember it. |