Template talk:Video game list

From Wikipedia, the free encyclopedia

This template is an altered version of the Episode list template. As of now (07:15amGMT+1 25/9/06) it is not complete, I intend to add more error handling for missing inputs so there's default values to fall back on. For an example of what this looks like when used, see my sandbox.--BillPP 06:38, 25 September 2006 (UTC)

Completed error handling --BillPP 18:22, 25 September 2006 (UTC)

[edit] Usage

First start a wikitable

{| id="games" class="wikitable" width="100%"
|-
! width="10%"| Screenshot !! width="30%" | Title !! width="5%"| Genre !! width="10%"| Publisher !! width="10%" | Developer !! width="12%" align="center" | Release Date !! width="18%" | System(s)
|-

Then this code can be used multiple times to form the list.

{{Video game list
|Image=
|ImageSize=
|Title=
|Genre=
|Publisher=
|Developer=
|Date=
|System=
|Summary=
|Colour=
}}

Finally at the end of the list, close the table with this code

 |}

[edit] Cells

Variable Description
Image A screenshot of the game. If nothing's entered an image will be put in it's place
ImageSize The size the image is scaled to (E.g. the best I think is 100px)
Title The name of the game
Genre Genre of the game
Publisher Publisher of the game
Developer Developer of the game
Date First release date of the game
System System(s) the game has been released for
Summary A short description of the game
Colour The colour in hex form (E.g. FDAA12) for the seperator bar