Template:Scanbox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div
<includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center;"
  align="center"
  style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center;"
><table style="text-align:center; font-size: 90%; border-spacing: 0; border-collapse: collapse; background-color: #f8f9fa"><tr><th style="text-align: center; border: 0px; background-color: #eceff3;"><b>{{{console|}}},</b> <b>{{{region|}}}</b></th></tr><tr>{{#if: {{{pcb|}}} |<td align="center" style="text-align:center; padding: 0.5625em 0.625em;">
><table style="text-align:center; font-size: 90%; border-spacing: 0; border-collapse: collapse; background-color: #f8f9fa"><tr><th style="text-align: center; border: 0px; background-color: #eceff3;"><b>{{{console|}}},</b> <b>{{{region|}}}</b></th></tr><tr>{{#if: {{{pcb|}}} |<td align="center" style="text-align:center; padding: 0.5625em 0.625em;">
<div style="margin:auto; max-width:181px"><span style="white-space:nowrap">[[image:{{{pcb}}}|181px]]</span><div style="text-align:center">PCB{{#if: {{{dimensions|}}}|, {{{dimensions}}}|}}</div>
<div style="margin:auto; max-width:181px"><span style="white-space:nowrap">[[image:{{{pcb}}}|181px]]</span><div style="text-align:center">PCB{{#if: {{{dimensions|}}}|, {{{dimensions}}}|}}</div>
</div></td>|<td align="center" style="text-align:center; padding: 0.5625em 0.625em;">
</div></td>|<td align="center" style="text-align:center; padding: 0.5625em 0.625em;">
<div style="margin:auto; max-width:181px"><span style="white-space:nowrap">{{#if: {{{back|}}} |[[image:{{{back}}}|x80px]]}}{{#if: {{{spine|}}} |[[image:{{{spine}}}|x80px]]}}[[image:{{{front}}}|x80px]]</span><div style="text-align:center">Cover</div>
<div style="margin:auto; max-width:181px"><span style="white-space:nowrap">{{#if: {{{back|}}} |[[image:{{{back}}}|x80px]]}}{{#if: {{{spine|}}} |[[image:{{{spine}}}|x80px]]}}[[image:{{{front}}}|x80px]]</span><div style="text-align:center">Cover</div>
</div></td>}}</tr>{{#if: {{{disc|}}} or {{{spinecard|}}} or {{{inlay|}}} |<tr style="background-color: #f4f4f6;"><td  align="center" style="text-align:center; padding: 0.5625em 0.625em;"><div style="max-width:320px" class="scanbox">{{#if: {{{spinecard|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{spinecard}}}|x50px]]<div>Spinecard</div></div>
</div></td>}}</tr>{{#if:{{#expr{{{disc|}}}or{{{spinecard|}}}or{{{inlay|}}}or false}}|<tr style="background-color: #f4f4f6;"><td  align="center" style="text-align:center; padding: 0.5625em 0.625em;"><div style="max-width:320px" class="scanbox">{{#if: {{{spinecard|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{spinecard}}}|x50px]]<div>Spinecard</div></div>
|}}{{#if: {{{disc|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{disc}}}|x50px]]<div>Disc</div></div>
|}}{{#if: {{{disc|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{disc}}}|x50px]]<div>Disc</div></div>
|}}{{#if: {{{inlay|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{inlay}}}|x50px]]<div>Inlay</div></div>
|}}{{#if: {{{inlay|}}} |<div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{inlay}}}|x50px]]<div>Inlay</div></div>
Line 40: Line 38:
|disc =  
|disc =  
|inlay =  
|inlay =  
}}{{Scanbox
}}
{{Scanbox
|console = CD-i
|console = CD-i
|region = NA
|region = NA
Line 49: Line 48:
|disc =  
|disc =  
|inlay =  
|inlay =  
}}{{Scanbox
}}
{{Scanbox
|console = CD-i
|console = CD-i
|region = NA
|region = NA
Line 76: Line 76:
|square =  
|square =  
|spinecard = Sega_Tetris_spine_card.jpg
|spinecard = Sega_Tetris_spine_card.jpg
|disc = Sega_Tetris_disc.jpg
|inlay = Sega_Tetris_inlay.jpg
}}
{{Scanbox
|console = Sega Dreamcast
|region = JP
|front = Sega_Tetris_boxart.jpg
|back = Sega_Tetris_back_cover.jpg
|disc = Sega_Tetris_disc.jpg
|disc = Sega_Tetris_disc.jpg
|inlay = Sega_Tetris_inlay.jpg
|inlay = Sega_Tetris_inlay.jpg

Latest revision as of 21:58, 15 September 2020


WIP

This template is WIP

TODO

  • Make non square scans bigger
{{Scanbox
|console = 
|region = 
|front = 
|back = 
|pcb = 
|square = 
|spinecard = 
|disc = 
|inlay = 
}}

Examples

CD-i, NA
Cover
CD-i, NA
Cover
CD-i, NA
Cover
Disc
Xbox 360, JP
Cover
Disc
Sega Dreamcast, JP
Cover
Spinecard
Disc
Inlay
Sega Dreamcast, JP
Cover
Disc
Inlay
Psikyo SH-2, JP
PCB, 310×230×33 mm