Difference between revisions of "Template:Release infobox"

From Worms Knowledge Base

Jump to: navigation, search
(New template: An infobox for game releases and compilations. (adapted from Template:Software_infobox))
 
m (add the ability to change the screenshot size)
Line 4: Line 4:
 
{{#if:{{{screenshot|}}}|
 
{{#if:{{{screenshot|}}}|
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="text-align: center;"{{!}}[[Image:{{{screenshot}}}|250px|{{{name}}}]]}}
+
{{!}}colspan="2" style="text-align: center;"{{!}}[[Image:{{{screenshot}}}|{{{screensize|250px}}}|{{{name}}}]]}}
 
{{#if:{{{releasetype|}}}|
 
{{#if:{{{releasetype|}}}|
 
{{!}}-
 
{{!}}-
Line 44: Line 44:
 
| name = ''name of release''<br/>
 
| name = ''name of release''<br/>
 
| screenshot = ''file.png''<br/>
 
| screenshot = ''file.png''<br/>
 +
| screensize = ''size of the screenshot (default: 250px width)''<br/>
 
| releasetype = ''release type (Retail or Compilation)''<br/>
 
| releasetype = ''release type (Retail or Compilation)''<br/>
 
| games = ''games included in the compilation''<br/>
 
| games = ''games included in the compilation''<br/>
Line 54: Line 55:
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
  
If a parameter is not used, the table row for it will not be included.
+
* If a parameter is not used, the table row for it will not be included.
 
</noinclude>
 
</noinclude>

Revision as of 11:14, 16 August 2009

{{{name}}}
{{{name}}}
Release type: {{{releasetype}}}
Included games: {{{games}}}
Publisher(s): {{{publisher}}}
Barcode numbers: {{{barcode}}}
Format: {{{format}}}
Countries: {{{countries}}}
Release date(s): {{{date}}}

An infobox for game releases and compilations.

Usage

{{Release_infobox
| name = name of release
| screenshot = file.png
| screensize = size of the screenshot (default: 250px width)
| releasetype = release type (Retail or Compilation)
| games = games included in the compilation
| publisher = publisher
| barcode = barcode numbers
| format = number of CDs (or DVD?)
| countries = countries in which the product sold
| date = release date(s)
| scans = [[Image:file.png]] (if other scans are available)
}}

  • If a parameter is not used, the table row for it will not be included.
Personal tools