Template:Vginfobox: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| align = right class="infobox bordered" style="width: 20em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3"  
{| align = right class="infobox bordered" style="width: 23em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3"  
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | ''{{{title}}}''
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | ''{{{title}}}''
{{qif|test={{{image|}}}|then= {{{image}}}}}
{{qif|test={{{image|}}}|then= {{{image}}}}}
Line 5: Line 5:
! style="background-color: #FFFFFF;" | Publisher
! style="background-color: #FFFFFF;" | Publisher
| {{{publisher}}}
| {{{publisher}}}
{{qif|test={{{developer|}}}|then=  
{{qif|test={{{developer|}}}|then=<tr><th style="background-color: #FFFFFF;">Developer</th><td>{{{developer}}}</td></tr>}}<!--
|-  
-->{{qif|test={{{distributor|}}}|then=<tr><th style="background-color: #FFFFFF;">Distributor(s)</th><td>{{{distributor}}}</td></tr>}}<!--
! | Developer  
-->{{qif|test={{{designer|}}}|then=<tr><th style="background-color: #FFFFFF;">Designer</th><td>{{{designer}}}</td></tr>}}<!--
| {{{developer}}}}}
-->{{qif|test={{{engine|}}}|then=<tr><th style="background-color: #FFFFFF;">Engine</th><td>{{{engine}}}</td></tr>}}<!--
{{qif|test={{{distributor|}}}|then=  
-->{{qif|test={{{version|}}}|then=<tr><th style="background-color: #FFFFFF;">Latest version</th><td>{{{version}}}</td></tr>}}
|-
! | Distributor(s)  
| {{{distributor}}}}}
{{qif|test={{{designer|}}}|then=  
|-
! | Designer  
| {{{designer}}}}}
{{qif|test={{{engine|}}}|then=  
|-
! | Engine  
| {{{engine}}}}}
{{qif|test={{{version|}}}|then=  
|-
! | Latest version  
| {{{version}}}}}
|-
|-
! style="background-color: #FFFFFF; white-space: nowrap;" | Released
! style="background-color: #FFFFFF; white-space: nowrap;" | Released
Line 34: Line 19:
! style="background-color: #FFFFFF;" | Mode(s)
! style="background-color: #FFFFFF;" | Mode(s)
| {{{modes}}}
| {{{modes}}}
{{qif|test={{{ratings|}}}|then=  
{{qif|test={{{ratings|}}}|then=<tr><th style="background-color: #ccccff;">Rating</th><td>{{{ratings}}}</td></tr>}}
|-
! | Rating  
| {{{ratings}}}}}
|-
|-
! style="background-color: #FFFFFF;" | Platform(s)
! style="background-color: #FFFFFF;" | Platform(s)
| {{{platforms}}}
| {{{platforms}}}
{{qif|test={{{media|}}}|then=  
{{qif|test={{{media|}}}|then=<tr><th style="background-color: #ccccff;">Media</th><td>{{{media}}}</td></tr>}}<!--
|-
-->{{qif|test={{{requirements|}}}|then=<tr><th style="background-color: #ccccff;">System requirements</th><td>{{{requirements}}}</td></tr>}}<!--
! | Media  
-->{{qif|test={{{input|}}}|then=<tr><th style="background-color: #ccccff;">Input</th><td>{{{input}}}</td></tr>}}
| {{{media}}}}}
{{qif|test={{{requirements|}}}|then=  
|-
! | System requirements  
| {{{requirements}}}}}
{{qif|test={{{input|}}}|then=  
|-  
! | Input  
| {{{input}}}}}
|}<noinclude>
|}<noinclude>



Revision as of 13:16, 16 April 2009

{{{title}}}

Template:Qif

Publisher {{{publisher}}}

Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif

Released {{{released}}}
Genre {{{genre}}}
Mode(s) {{{modes}}}

Template:Qif

Platform(s) {{{platforms}}}

Template:QifTemplate:QifTemplate:Qif

Disclaimer

This template has not been perfected. The hidden (or optional) rows do not correctly appear when the template is applied to a page. See Dragon Quest X for an example, which is currently being used as a test page to perfect this template. If you can improve this template, please do, but be advised that the version of this Wiki is a pre parser function version. Zenithian 16:54, 6 February 2009 (EST)

Usage

{{vginfobox
|title = 
|image =  
|publisher = 
|developer = 
|distributor = 
|designer = 
|engine = 
|version = 
|released = Release Date 1 (Country)<br />Release Date 2 (Country)<br /> ...
|genre = 
|modes = 
|ratings = 
|platforms = 
|media = 
|requirements = 
|input = 
}}