Difference between revisions of "Template:Scanbox"

From TetrisWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   align="center"
 
   align="center"
 
   style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-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><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></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">[[image:{{{back}}}|x80px]][[image:{{{front}}}|x80px]]</span><div style="text-align:center">Cover</div>
 
<div style="margin:auto; max-width:181px"><span style="white-space:nowrap">[[image:{{{back}}}|x80px]][[image:{{{front}}}|x80px]]</span><div style="text-align:center">Cover</div>
</div></td></tr>{{#if: {{{disc|}}} |<tr style="background-color: #f4f4f6;"><td  align="center" style="text-align:center; padding: 0.5625em 0.625em;">{{#if: {{{disc|}}} |<div style="max-width:320px" class="scanbox"><div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{disc}}}|x50px]]<div>Disc</div></div>
+
</div></td>}}</tr>{{#if: {{{disc|}}} |<tr style="background-color: #f4f4f6;"><td  align="center" style="text-align:center; padding: 0.5625em 0.625em;">{{#if: {{{disc|}}} |<div style="max-width:320px" class="scanbox"><div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[image:{{{disc}}}|x50px]]<div>Disc</div></div>
</div>|}}</td></tr>|}}</table></div></includeonly><noinclude>
+
</div>|}}</td></tr>|}}</table></div>[[Category:Games with scans]]</includeonly><noinclude>
  
 
== WIP ==
 
== WIP ==
Line 19: Line 21:
 
|front =  
 
|front =  
 
|back =  
 
|back =  
 +
|pcb =
 
|square =  
 
|square =  
 
|spinecard =  
 
|spinecard =  
Line 56: Line 59:
 
|inlay =  
 
|inlay =  
 
}}
 
}}
 +
{{Scanbox
 +
|console = Psikyo SH-2
 +
|region = JP
 +
|pcb = Tetris The Grand Master 2 The Absolute Plus arcade PCB.jpg
 +
|dimensions = 310&times;230&times;33 mm
 +
}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 03:40, 12 October 2019


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
Tetris CD-i boxart back.jpgTetris CD-i boxart.jpg
Cover
CD-i, NA
Tetris CD-i boxart back.jpgTetris CD-i boxart.jpg
Cover
Tetris CD-i disc.jpg
Disc
Xbox 360, JP
TGM ACE back scan.jpgTGM ACE boxart scan.jpg
Cover
TGM ACE disc scan.jpg
Disc
Psikyo SH-2, JP
Tetris The Grand Master 2 The Absolute Plus arcade PCB.jpg
PCB, 310×230×33 mm