Difference between revisions of "Template:Release infobox"

From Worms Knowledge Base

Jump to: navigation, search
m (description text (remove gap template))
m (screensize now defaults to 200px)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
--><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{PAGENAME}}}}}</th></tr><!--
 
--><tr><th colspan="2" style="font-size: larger; text-align: center">{{{name|{{PAGENAME}}}}}</th></tr><!--
 
  (SCREENSHOT)
 
  (SCREENSHOT)
-->{{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|250px}}}|{{{caption|{{{name|{{PAGENAME}}}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!--
+
-->{{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|200px}}}|{{{caption|{{{name|{{PAGENAME}}}}}}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!--
 
  (LABELS)
 
  (LABELS)
 
-->{{#if:{{{releasetype|}}}|<tr><th style="width: 40%; font-weight: normal;">Release type:</th>
 
-->{{#if:{{{releasetype|}}}|<tr><th style="width: 40%; font-weight: normal;">Release type:</th>
Line 19: Line 19:
 
-->{{#if:{{{date|{{{dates|}}}}}}|<tr><th style="width: 40%; font-weight: normal;">Release date(s):</th>
 
-->{{#if:{{{date|{{{dates|}}}}}}|<tr><th style="width: 40%; font-weight: normal;">Release date(s):</th>
 
<td>{{{date|{{{dates}}}}}}</td></tr>}}<!--
 
<td>{{{date|{{{dates}}}}}}</td></tr>}}<!--
 +
-->{{#if:{{{website|}}}|<tr><th style="width: 40%; font-weight: normal;">Website:</th>
 +
<td>{{{website}}}</td></tr>}}<!--
 
  (END)
 
  (END)
 
--></table></includeonly><noinclude>{{Release_infobox
 
--></table></includeonly><noinclude>{{Release_infobox
Line 31: Line 33:
 
|countries=''{{{countries}}}''
 
|countries=''{{{countries}}}''
 
|date=''{{{date}}}''
 
|date=''{{{date}}}''
 +
|website=''{{{website}}}''
 
}}
 
}}
 
An infobox for game releases and compilations.
 
An infobox for game releases and compilations.
Line 39: Line 42:
  
 
| screenshot = ''file.png''<br/>
 
| screenshot = ''file.png''<br/>
| screensize = ''size of the screenshot (default: 250px width)''<br/>
+
| screensize = ''size of the screenshot (default: 200px width)''<br/>
 
| caption = ''caption text of the screenshot (defaults to "{{{name}}}")''
 
| caption = ''caption text of the screenshot (defaults to "{{{name}}}")''
  

Latest revision as of 16:18, 14 May 2010

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

An infobox for game releases and compilations.

Usage

{{Release_infobox
| name = name of release (defaults to "{{PAGENAME}}")

| screenshot = file.png
| screensize = size of the screenshot (default: 200px width)
| caption = caption text of the screenshot (defaults to "{{{name}}}")

| 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)
}}

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