Template:Infobox Game: Difference between revisions

From Everybody Edits Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|title={{{title}}}
|title={{{title}}}
|content=<table class="infobox_table">
|content={{#if:{{{image|}}}|[[File:{{{image}}}|class=infobox_image|200px|center]]}}
{{InfoboxLine|key=Release Date|value={{{releasedate}}}}}{{#if:{{{shutdowndate|}}}
<table class="infobox_table">
|{{InfoboxLine|key=Shutdown Date|value={{{shutdowndate}}}}}}}{{#if:{{{languages|}}}
{{Infobox Line|key=Release Date|value={{{releasedate}}}}}{{#if:{{{shutdowndate|}}}
|{{InfoboxLine|key=Written in|value={{{languages}}}}}}}
|{{Infobox Line|key=Shutdown Date|value={{{shutdowndate}}}}}}}{{#if:{{{languages|}}}
{{InfoboxLine|key=Links|value={{{links}}}}}
|{{Infobox Line|key=Written in|value={{{languages}}}}}}}
{{Infobox Line|key=Links|value={{{links}}}}}
</table>}}<noinclude>{{Clear}}
</table>}}<noinclude>{{Clear}}
== Description ==
== Description ==
Creates an infobox for a game
Creates an infobox for a game.


== Usage ==
== Usage ==
<code><nowiki>{{InfoboxGame|title=|releasedate=|shutdowndate=|languages=|website=}}</nowiki></code>
<code><nowiki>{{Infobox Game|title=|image=|releasedate=|shutdowndate=|languages=|website=}}</nowiki></code>


=== Parameters ===
=== Parameters ===
; <code>title</code>
; <code>title</code>
: '''Required'''. Displays the title of the game.
: '''Required'''. Displays the title of the game.
; <code>image</code>
: '''Optional'''. Shorthand file name (e.g. <code>Multiplayer Platformworld.png</code>). Displays the image specified.
; <code>releasedate</code>
; <code>releasedate</code>
: '''Required'''. Displays the release date of the game.
: '''Required'''. Displays the release date of the game.

Latest revision as of 21:46, 25 April 2026

{{{title}}}
Release Date{{{releasedate}}}
Links{{{links}}}

Description

Creates an infobox for a game.

Usage

{{Infobox Game|title=|image=|releasedate=|shutdowndate=|languages=|website=}}

Parameters

title
Required. Displays the title of the game.
image
Optional. Shorthand file name (e.g. Multiplayer Platformworld.png). Displays the image specified.
releasedate
Required. Displays the release date of the game.
shutdowndate
Optional. If specified, displays the shutdown date of the game.
languages
Optional. If specified, displays the programming languages the game was written in.
links
Required. Displays relevant links for the game.