Difference between revisions of "InfoRow"
From Sonic Retro
BSonirachi (talk | contribs) (Created page with "<includeonly>{{#vardefine:secondrow|{{#if:{{{password|}}}{{{map|}}}|true|}}}}{{#if:{{{imagewidth|}}}|{{#vardefine:imagewidth|{{{imagewidth|}}}}}|{{#vardefine:imagewidth|{{#var...") |
BSonirachi (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:secondrow|{{#if:{{{password|}}}{{{map|}}}|true|}}}}{{#if:{{{imagewidth|}}}|{{#vardefine:imagewidth|{{{imagewidth|}}}}}|{{#vardefine:imagewidth|{{#var:tableimagewidth}}}}}} | + | <includeonly>{{#vardefine:secondrow|{{#if:{{{password|}}}{{{map|}}}{{{info1name|}}}|true|}}}}{{#if:{{{imagewidth|}}}|{{#vardefine:imagewidth|{{{imagewidth|}}}}}|{{#vardefine:imagewidth|{{#var:tableimagewidth}}}}}}{{ |
− | |rowspan="{{#if:{{#var:secondrow}}|3|2}}" style="vertical-align:top; width:{{#var:imagewidth}}px; white-space: nowrap; {{#if:{{#var:aligncenter}}|text-align:center;|}} | + | #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;">|}}{{ | ||
+ | #if:{{{image|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image|}}}|{{{imagescale|}}}}}|[[File:{{{image|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak1|}}}|<br/>|}}{{ | ||
+ | #if:{{{image2|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image2|}}}|{{{imagescale|}}}}}|[[File:{{{image2|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak2|}}}|<br/>|}}{{ | ||
+ | #if:{{{image3|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image3|}}}|{{{imagescale|}}}}}|[[File:{{{image3|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak3|}}}|<br/>|}}{{ | ||
+ | #if:{{{image4|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image4|}}}|{{{imagescale|}}}}}|[[File:{{{image4|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak4|}}}|<br/>|}}{{ | ||
+ | #if:{{{image5|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image5|}}}|{{{imagescale|}}}}}|[[File:{{{image5|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak5|}}}|<br/>|}}{{ | ||
+ | #if:{{{image6|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image6|}}}|{{{imagescale|}}}}}|[[File:{{{image6|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak6|}}}|<br/>|}}{{ | ||
+ | #if:{{{image7|}}}|{{#if:{{{imagescale|}}}|{{scaleimage|{{{image7|}}}|{{{imagescale|}}}}}|[[File:{{{image7|}}}|{{#var:imagewidth}}px]]}}|}}{{#if:{{{imagebreak7|}}}|<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:{{{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 | ||
+ | | hidetitle=yes | ||
+ | | icon1={{#if:{{{screenshot|}}}|{{Bobscreen|{{{screenshot|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon2={{#if:{{{screenshot2|}}}|{{Bobscreen|{{{screenshot2|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon3={{#if:{{{screenshot3|}}}|{{Bobscreen|{{{screenshot3|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon4={{#if:{{{screenshot4|}}}|{{Bobscreen|{{{screenshot4|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon5={{#if:{{{screenshot5|}}}|{{Bobscreen|{{{screenshot5|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon6={{#if:{{{screenshot6|}}}|{{Bobscreen|{{{screenshot6|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon7={{#if:{{{screenshot7|}}}|{{Bobscreen|{{{screenshot7|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon8={{#if:{{{screenshot8|}}}|{{Bobscreen|{{{screenshot8|}}}|width={{#var:thumbwidth}}|link=}}|}} | ||
+ | | icon9={{#if:{{{screenshot9|}}}|{{Bobscreen|{{{screenshot9|}}}|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|}}}}}|}} | ||
+ | | content2={{#if:{{{screenshot2|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot2|}}}}}|}} | ||
+ | | content3={{#if:{{{screenshot3|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot3|}}}}}|}} | ||
+ | | content4={{#if:{{{screenshot4|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot4|}}}}}|}} | ||
+ | | content5={{#if:{{{screenshot5|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot5|}}}}}|}} | ||
+ | | content6={{#if:{{{screenshot6|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot6|}}}}}|}} | ||
+ | | content7={{#if:{{{screenshot7|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot7|}}}}}|}} | ||
+ | | content8={{#if:{{{screenshot8|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot8|}}}}}|}} | ||
+ | | content9={{#if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}} | ||
+ | | 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 | ||
+ | | width={{#var:imagewidth}}px | ||
+ | | selected={{{selected|}}} | ||
+ | | selectedstyle=margin:2px; padding-top:5px; | ||
+ | | notselectedstyle=margin:2px; padding-top:5px; | ||
+ | | tabliststyle=margin-top:-4px; | ||
+ | | flipped=yes | ||
+ | }} | ||
+ | |<div style="max-width: 50vw; overflow-x: auto;">{{ | ||
#if:{{{screenshot|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot|}}}}}|}}{{ | #if:{{{screenshot|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot|}}}}}|}}{{ | ||
#if:{{{screenshot2|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot2|}}}}}|}}{{ | #if:{{{screenshot2|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot2|}}}}}|}}{{ | ||
#if:{{{screenshot3|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot3|}}}}}|}}{{ | #if:{{{screenshot3|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot3|}}}}}|}}{{ | ||
#if:{{{screenshot4|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot4|}}}}}|}}{{ | #if:{{{screenshot4|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot4|}}}}}|}}{{ | ||
− | #if:{{{sprite|}}}|<div style=" | + | #if:{{{screenshot5|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot5|}}}}}|}}{{ |
− | !style="height:30px"|{{{title|}}} | + | #if:{{{screenshot6|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot6|}}}}}|}}{{ |
+ | #if:{{{screenshot7|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot7|}}}}}|}}{{ | ||
+ | #if:{{{screenshot8|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot8|}}}}}|}}{{ | ||
+ | #if:{{{screenshot9|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot9|}}}}}|}}{{ | ||
+ | #if:{{{screenshot10|}}}|{{Bobscreen|width={{#var:imagewidth}}|{{{screenshot10|}}}}}|}}{{ | ||
+ | #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|}}} | ||
|- | |- | ||
{{#if:{{#var:secondrow}}| | {{#if:{{#var:secondrow}}| | ||
− | {{!}}style="vertical-align:top; height:30px"{{!}}{{#if:{{{password|}}}|'''Password:''' {{{password|}}} }} {{#if:{{{map|}}}|'''Map{{#if:{{{map2|}}}|s|}}:''' [[:File:{{{map|}}}|{{{ | + | {{!}}style="vertical-align: top; height: 30px; font-size:small"{{!}}{{ |
+ | #if:{{{password|}}}|'''Password:''' <tt>{{{password|}}}</tt> }} {{ | ||
+ | #if:{{{map|}}}|'''Map{{#if:{{{map2|}}}|s|}}:''' [[:File:{{{map|}}}|{{{map1name|1️⃣}}}]]{{ | ||
+ | #if:{{{map2|}}}| {{!}} [[:File:{{{map2|}}}|{{{map2name|2️⃣}}}]]|}}{{ | ||
+ | #if:{{{map3|}}}| {{!}} [[:File:{{{map3|}}}|{{{map3name|3️⃣}}}]]|}}{{ | ||
+ | #if:{{{map4|}}}| {{!}} [[:File:{{{map4|}}}|{{{map4name|4️⃣}}}]]|}}{{ | ||
+ | #if:{{{map5|}}}| {{!}} [[:File:{{{map5|}}}|{{{map5name|5️⃣}}}]]|}}{{ | ||
+ | #if:{{{map6|}}}| {{!}} [[:File:{{{map6|}}}|{{{map6name|6️⃣}}}]]|}} }} | ||
+ | {{#vardefine:infocount|0}}{{#vardefine:info|{{#if:{{{map|}}}{{{password|}}}|{{#if:{{{info1name|}}}||}}|}}{{#if:{{{info1name|}}}|{{InfoRowInfo|{{{info1name|}}}|{{{info1|}}}}}}} | ||
+ | {{#if:{{{info2name|}}}|{{InfoRowInfo|{{{info2name|}}}|{{{info2|}}}}}}} | ||
+ | {{#if:{{{info3name|}}}|{{InfoRowInfo|{{{info3name|}}}|{{{info3|}}}}}}} | ||
+ | {{#if:{{{info4name|}}}|{{InfoRowInfo|{{{info4name|}}}|{{{info4|}}}}}}} | ||
+ | {{#if:{{{info5name|}}}|{{InfoRowInfo|{{{info5name|}}}|{{{info5|}}}}}}} | ||
+ | {{#if:{{{info6name|}}}|{{InfoRowInfo|{{{info6name|}}}|{{{info6|}}}}}}} | ||
+ | {{#if:{{{info7name|}}}|{{InfoRowInfo|{{{info7name|}}}|{{{info7|}}}}}}} | ||
+ | {{#if:{{{info8name|}}}|{{InfoRowInfo|{{{info8name|}}}|{{{info8|}}}}}}} | ||
+ | {{#if:{{{info9name|}}}|{{InfoRowInfo|{{{info9name|}}}|{{{info9|}}}}}}} | ||
+ | {{#if:{{{info10name|}}}|{{InfoRowInfo|{{{info10name|}}}|{{{info10|}}}}}}}}}{{ | ||
+ | #ifexpr:{{#var:infocount}}>3|<div style="max-width:45em;>{{multicol| | ||
+ | {{#var:info}} | ||
+ | }}</div> | ||
+ | |{{#var:info}} | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | |style="vertical-align:top;"|{{{desc|}}} | + | | style="vertical-align: top;"|{{{desc|}}} |
|- | |- | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{SegaRetroTemplate}} | {{SegaRetroTemplate}} | ||
− | {{InfoTable | + | {{InfoTable| |
− | + | {{InfoRow | |
| imagewidth=120 | | imagewidth=120 | ||
| image=Sonic1 box us nfr1.jpg | | image=Sonic1 box us nfr1.jpg | ||
Line 39: | Line 118: | ||
| map3=Sonic1 MD Map Ghz3.png | | map3=Sonic1 MD Map Ghz3.png | ||
| map4=SonicAdvance3 Map SunsetHill Hub.png | | map4=SonicAdvance3 Map SunsetHill Hub.png | ||
− | | | + | | map1name=Act 1 |
− | | | + | | map2name=Act 2 |
− | | | + | | map3name=Act 3 |
− | | | + | | map4name=Hub |
| title=Sonic the Hedgehog 2 | | title=Sonic the Hedgehog 2 | ||
| password=sajfdmow03 | | password=sajfdmow03 | ||
Line 87: | Line 166: | ||
}} | }} | ||
− | [[Category: | + | {{InfoTable|imagewidths=320| |
+ | {{InfoRow | ||
+ | | title=Hope You Like Green Hill Zone | ||
+ | | screenshot=Ghz.png | ||
+ | | screenshot2=Green Hill SMS.png | ||
+ | | screenshot3=Drift Green Hill.png | ||
+ | | screenshot4=Green Hill Blast.png | ||
+ | | screenshot5=Sa2ghz.png | ||
+ | | screenshot6=Sonic generations 5.jpg | ||
+ | | screenshot7=ManiaGHZ1clean.png | ||
+ | | screenshot8=GH SonicForces Switch.png | ||
+ | | tabs=yes | ||
+ | | info1name=How many Green Hills? | ||
+ | | info1=Lots | ||
+ | | desc=Because Sega wants you to remember it. | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | [[Category:Templates]]</noinclude> |
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. |