Difference between revisions of "InfoRow"
From NEC Retro
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}}}}}}{{ |
− | |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"{{!}}{{ | + | {{!}}style="vertical-align: top; height: 30px; font-size:small"{{!}}{{ |
#if:{{{password|}}}|'''Password:''' <tt>{{{password|}}}</tt> }} {{ | #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|}}}|{{{ | + | #if:{{{map2|}}}| {{!}} [[:File:{{{map2|}}}|{{{map2name|2️⃣}}}]]|}}{{ |
− | #if:{{{map3|}}}| {{!}} [[:File:{{{map3|}}}|{{{ | + | #if:{{{map3|}}}| {{!}} [[:File:{{{map3|}}}|{{{map3name|3️⃣}}}]]|}}{{ |
− | #if:{{{map4|}}}| {{!}} [[:File:{{{map4|}}}|{{{ | + | #if:{{{map4|}}}| {{!}} [[:File:{{{map4|}}}|{{{map4name|4️⃣}}}]]|}}{{ |
− | #if:{{{ | + | #if:{{{map5|}}}| {{!}} [[:File:{{{map5|}}}|{{{map5name|5️⃣}}}]]|}}{{ |
− | #if:{{{info2|}}}| | + | #if:{{{map6|}}}| {{!}} [[:File:{{{map6|}}}|{{{map6name|6️⃣}}}]]|}} }} |
− | #if:{{{ | + | {{#vardefine:infocount|0}}{{#vardefine:info|{{#if:{{{map|}}}{{{password|}}}|{{#if:{{{info1name|}}}||}}|}}{{#if:{{{info1name|}}}|{{InfoRowInfo|{{{info1name|}}}|{{{info1|}}}}}}} |
− | #if:{{{ | + | {{#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> | ||
+ | {{InfoTable| | ||
+ | {{InfoRow | ||
+ | | title=FX-1 Falcon | ||
+ | | sprite= | ||
+ | | info1name=Shifting | ||
+ | | info1=12 | ||
+ | | info2name=Defense | ||
+ | | info2=30 | ||
+ | | info3name=Attack | ||
+ | | info3=0 (Land) / 90 (Air) | ||
+ | | info4name=Range | ||
+ | | info4=0 (Land) / 1 (Air) | ||
+ | | desc=Powerful in anti-air attack power and movement, but has no surface attack power and low defense. | ||
+ | }} | ||
+ | {{InfoRow | ||
+ | | title=Akabei (Blinky) | ||
+ | | sprite={{sprite|PacMan PC9801VX Sprite Ghosts.png|3|crop_x=0|crop_width=14}} | ||
+ | | bgcolor=#000000 | ||
+ | | info1name=Character | ||
+ | | info1=Oikake (Shadow) | ||
+ | | desc=Blinky is always the first ghost out and will chase Pac-Man directly. After a certain number of dots are eaten, he will receive a boost in speed. | ||
+ | }} | ||
+ | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 11:07, 27 March 2024
FX-1 Falcon | |
---|---|
Shifting: 12 Defense: 30 Attack: 0 (Land) / 90 (Air) Range: 0 (Land) / 1 (Air) | |
Powerful in anti-air attack power and movement, but has no surface attack power and low defense. | |
Akabei (Blinky) | |
Character: Oikake (Shadow) | |
Blinky is always the first ghost out and will chase Pac-Man directly. After a certain number of dots are eaten, he will receive a boost in speed. |