Template:Infobox game/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{clr}}
{{Doc/subpage}}
{{Doc/subpage}}
{{Infobox game
|title = '''Half-Life'''
|image = Software Cover - Half-Life.jpg
|developer = [[Valve Corporation]]
|publisher = Valve Corporation
|series = [[Half-Life series]]
|releasedates = {{ExpandBox|title=November 19, 1998|'''Windows:'''<br>November 19, 1998<br>'''PlayStation 2:'''<br>November 14, 2001<br>'''macOS, Linux:'''<br>Beta: January 28, 2013<br>Stable: February 14, 2013<!-- expand template -->}}
|genre = {{w|icon=0|First-person shooter|First-person shooter}}
|mode =  {{w|icon=0|Single-player video game|Single-player}},  {{w|icon=0|Multiplayer video game|Multiplayer}}
|platform =  {{w|icon=0|Windows|Windows}},  {{w|icon=0|Playstation 2|Playstation 2}},  {{w|icon=0|macOS|macOS}},  {{w|icon=0|Linux|Linux}}
|engine = {{gldsrc|4}}
|appid = 70
|codelang =  {{w|icon=0|C++|C++}}
|modsupport = Yes, <span style="font-weight:bold" title="Mod folder needs to be placed alongside Half-Life\valve folder to be detected by Steam">drop-in folders</span>
|sdk = [[Half-Life SDK]]
|sysreq = <span></span>
*  {{w|icon=0|Windows 7|Win 7}} or later
* 800  {{w|icon=0|Hertz|MHz}}  {{w|icon=0|Central processing unit|CPU}}
* 512 {{w|icon=0|Megabyte|MB}} RAM
* 4  {{w|icon=0|Gigabyte|GB}} disk space
* 32 MB  {{w|icon=0|Video random-access memory|VRAM}} video card
|steamdeck = '''Verified'''
|distribution = Retail, [[Steam]]
|website = https://www.half-life.com/halflife
|links = {{Steam store|app/70|'''Steam''' page}}<br>{{steamicon}} [https://store.steampowered.com/mods/70/ Mods for '''Half-Life'''] on Steam<br>{{moddb|page=other|games/half-life|'''ModDB''' page}}
|previousgame = N/A
|nextgame = {{op4|2}}
}}
Infobox template for games. Includes relevant information on more general side (publisher, distribution, links) and more dev-oriented (engine, language, modding and sdk).
Infobox template for games. Includes relevant information on more general side (publisher, distribution, links) and more dev-oriented (engine, language, modding and sdk).


Line 34: Line 63:
</source>
</source>
===Example===
===Example===
{{Infobox game
 
|title = '''Half-Life'''
It should look like the example on the right.  
|image = Software Cover - Half-Life.jpg
 
|developer = [[Valve Corporation]]
|publisher = Valve Corporation
|series = [[Half-Life series]]
|releasedates = {{ExpandBox|title=November 19, 1998|'''Windows:'''<br>November 19, 1998<br>'''PlayStation 2:'''<br>November 14, 2001<br>'''macOS, Linux:'''<br>Beta: January 28, 2013<br>Stable: February 14, 2013<!-- expand template -->}}
|genre = {{w|icon=0|First-person shooter|First-person shooter}}
|mode =  {{w|icon=0|Single-player video game|Single-player}},  {{w|icon=0|Multiplayer video game|Multiplayer}}
|platform =  {{w|icon=0|Windows|Windows}},  {{w|icon=0|Playstation 2|Playstation 2}},  {{w|icon=0|macOS|macOS}},  {{w|icon=0|Linux|Linux}}
|engine = {{gldsrc|4}}
|appid = 70
|codelang =  {{w|icon=0|C++|C++}}
|modsupport = Yes, <span style="font-weight:bold" title="Mod folder needs to be placed alongside Half-Life\valve folder to be detected by Steam">drop-in folders</span>
|sdk = [[Half-Life SDK]]
|sysreq = <span></span>
*  {{w|icon=0|Windows 7|Win 7}} or later
* 800  {{w|icon=0|Hertz|MHz}}  {{w|icon=0|Central processing unit|CPU}}
* 512 {{w|icon=0|Megabyte|MB}} RAM
* 4  {{w|icon=0|Gigabyte|GB}} disk space
* 32 MB  {{w|icon=0|Video random-access memory|VRAM}} video card
|steamdeck = '''Verified'''
|distribution = Retail, [[Steam]]
|website = https://www.half-life.com/halflife
|links = {{Steam store|app/70|'''Steam''' page}}<br>{{steamicon}} [https://store.steampowered.com/mods/70/ Mods for '''Half-Life'''] on Steam<br>{{moddb|page=other|games/half-life|'''ModDB''' page}}
|previousgame = N/A
|nextgame = {{op4|2}}
}}
===Credits===
===Credits===
Based on {{tl2|SoftwareBox}}.
Based on {{tl2|SoftwareBox}}.

Revision as of 13:41, 26 June 2024

Edit-copy.png
This is a documentation subpage for Template:Infobox game.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Half-Life
Software Cover - Half-Life.jpg
Developer(s)
Publisher(s)
Valve Corporation
Release date(s)
November 19, 1998 
Windows:
November 19, 1998
PlayStation 2:
November 14, 2001
macOS, Linux:
Beta: January 28, 2013
Stable: February 14, 2013
Platform(s)
Engine
Steam AppID
Written in
Mod support
Yes, drop-in folders
System requirements
Steam Deck compatbility
Verified
Distribution
Retail, Steam
Previous game
N/A

Infobox template for games. Includes relevant information on more general side (publisher, distribution, links) and more dev-oriented (engine, language, modding and sdk).

Links section can include Steam Steam, ModDB ModDB and other.

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Infobox game
|title = 
|image = 
|developer = 
|publisher = 
|series = 
|releasedates = 
|genre =
|mode = 
|platform = 
|engine = 
|appid =
|codelang = 
|modsupport = 
|sdk = 
|sysreq = 
|steamdeck =
|distribution = 
|website = 
|links = 
|previousgame = 
|nextgame = 
}}

Example

It should look like the example on the right.

Credits

Based on {{SoftwareBox}}.