Actions

Template

Template:PI video game/doc

From Anthrodia Atlas

Description

This infobox template is built with the PortableInfobox (PI) extension. It should be used in articles about video games.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title (main header) of infobox; optional, by default uses page name.

Contentoptional
Imageimage

Image file of media's title screenshot, or official art which can represent it otherwise such as logo, to be used in infobox; should be just name of the file with file extension. Can support several images with the use of <gallery> tag.

Fileoptional
Image captioncaption

Caption text for image; optional. If <gallery> is used in image parameter, caption will be ignored.

Contentoptional
Seriesseries

Name of or link to article about the series (franchise) the game is part of.

Contentoptional
Genregenre

Genre of the game; can be formatted inline with commas, separate lines with <br> or as bullet list with *.

Contentoptional
Modemode

Mode (type) of the game.

Contentoptional
Engineengine

Game engine which powers the game.

Contentoptional
Game platformplatform

List of platforms where the game is available to play.

Contentoptional
Developerdeveloper

Name of the studio which developed the game.

Contentoptional
Publisherpublisher

Name of the game publishing company which released the game.

Contentoptional
Announcement dateannounce

Date of game's first official announcement.

Dateoptional
Release daterelease

Date of game's release.

Dateoptional
Content ratingrating

Content rating of the game.

Contentoptional
Directordirector

Name of or link to article about director of the game.

Contentoptional
Designerdesign

Name of or link to article about game designer of the anime.

Contentoptional
Programmerprogrammer

Name of or link to article about (main) programmer of the game.

Contentoptional
Artistart

Name of or link to article about (main) artist (or art director) of the game.

Contentoptional
Screenwriterwriter

Name of or link to article about screenwriter of the anime.

Contentoptional
Music composermusic

Name of or link to article about musical composer of the game, or music artists who appeared in it.

Contentoptional
Related articlesrelated

A collapsible section which will contain links to closely related articles; optional, if added collapsed by default; can be formatted inline with commas, separate lines with <br> or as bullet list with *.

Contentoptional
Disambiguation page linkdisambig

Optional parameter to provide a link to corresponding disambiguation page; requires only name without link brackets ([[]]).

Contentoptional

Syntax

Bellow is a boilerplate of infobox which can be copied and filled up in source editor:

{{PI video game
|title = 
|image = 
|caption = 
|series = 
|genre = 
|mode = 
|engine = 
|platform = 
|developer = 
|publisher = 
|announce = 
|release = 
|rating = 
|director = 
|design = 
|programmer = 
|art = 
|writer = 
|chardesign = 
|music = 
|related = 
|disambig = 
}}

Usage example

Bellow is an example of template's code with filled up parameters:

{{PI video game
|title = BioShock
|image = De Alice's Abenteuer im Wunderland Carroll pic 15.jpg
|series = ''[[BioShock (series)|BioShock]]''
|genre = First-person shooter
|mode = Single-player
|engine = Unreal Engine 2.5
|platform = Microsoft Windows<br>Xbox 360<br>PlayStation 3
|developer = [[Irrational Games]]<br>[[2K Australia]]
|publisher = 2K
|release = August 21, 2007
|rating = 18+
|director = [[Ken Levine]]
|design = [[Paul Hellquist]]
|programmer = Rowan Wyborn<br>Christopher Kline
|art = [[Scott Sinclair]]
|writer = Ken Levine
|music = [[Garry Schyman]]
}}

See the result on the right (links are omitted).

Notes

These are notes provided by Miraheze Developers Wiki (they can be removed after import):

  • When importing this template to another wiki, you should enable extension PortableInfobox at Special:ManageWiki/extensions#mw-section-parserhooks, and might need to make an empty or small edit in newly created template for it to start working.
  • To change visual appearance of portable infobox, modify its CSS at wiki's MediaWiki:Common.css page or by using TemplateStyles extension.
  • Upon import to another wiki the title can be changed to just "game" or whatever user prefers, so use that title instead of "PI video game" in the beginning of the boilerplate code.
  • This documentation contains TemplateData to provide parameters in visual editor.