Actions

Template

Difference between revisions of "HComparison"

From NEC Retro

(Created page with "<includeonly>{{#if:{{{image|}}}{{{sprite|}}}{{{content|}}}{{{audio|}}}|<div style="display:inline-block; margin:2px;"> {{{!}}class="prettytable hcomparison" {{!}}style="{{#if...")
 
 
Line 1: Line 1:
<includeonly>{{#if:{{{image|}}}{{{sprite|}}}{{{content|}}}{{{audio|}}}|<div style="display:inline-block; margin:2px;">
+
<includeonly>{{#if:{{{image|}}}{{{sprite|}}}{{{content|}}}{{{audio|}}}|{{ContentTable
{{{!}}class="prettytable hcomparison"
+
| minwidth={{#if:{{{image|}}}|320|}}
{{!}}style="{{#if:{{{image|}}}|min-width:320px; height:250px;|}}"{{!}}{{#if:{{{content|}}}|{{{content|}}}|{{#if:{{{image|}}}|{{#switch:{{{game}}}|Game Boy|Game Boy (full)|Game Boy Color|Game Boy Color (full)=[[File:{{{image|}}}]]|{{bobscreen|{{{image|}}}|forcewidescreen={{{widescreen|}}}|height={{#ifeq:{{{widescreen|}}}|yes|240|}}}}}}}}{{#if:{{{sprite|}}}|{{sprite|{{{sprite|}}}|{{{spritescale|}}}|crop_width={{{spritew|}}}|crop_height={{{spriteh|}}}|crop_x={{{spritex|}}}|crop_y={{{spritey|}}}}}|}}{{#if:{{{palette|}}}|{{{palette}}}}}{{#if:{{{audio|}}}|[[File:{{{audio}}}]]}}}}
+
| height={{#if:{{{image|}}}|250|}}
{{!}}-
+
| content={{#if:{{{content|}}}|{{{content|}}}|{{#if:{{{image|}}}|{{#switch:{{{game}}}|Game Boy|Game Boy (full)|Game Boy Color|Game Boy Color (full)=[[File:{{{image|}}}]]|{{bobscreen|{{{image|}}}|forcewidescreen={{{widescreen|}}}|height={{#ifeq:{{{widescreen|}}}|yes|240|}}}}}}}}{{#if:{{{sprite|}}}|{{sprite|{{{sprite|}}}|{{{spritescale|}}}|crop_width={{{spritew|}}}|crop_height={{{spriteh|}}}|crop_x={{{spritex|}}}|crop_y={{{spritey|}}}}}|}}{{#if:{{{palette|}}}|{{{palette}}}}}{{#if:{{{audio|}}}|[[File:{{{audio}}}]]}}}}
!style="text-align:center;"{{!}}{{{game}}}
+
|title={{{game}}}
{{!}}}</div>|}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
+
}}|}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 09:19, 30 January 2022