Template:Package/doc

From Valve Developer Community
< Template:Package
Revision as of 01:52, 30 May 2024 by Kr0tchet (talk | contribs) (→‎Copy and paste: - Updated Copy & paste.)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Package.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template is used to list the games that are available for purchase or download as part of its packages/bundles.

Copy and paste

{{Package | name = <!-- Package name --> | id = <!-- Package ID --> | url = <!-- <package (default)/sub (default)/bundle/bundles> - This is used to switch the URLs, if the packages was located somewhere else. --> | list = <!-- Put the game/software template here. Example below: --> * {{hl2|4}} * {{hl2ep1|4}} * {{hl2ep2|4}} * {{portal|4}} * {{tf2|4}} }}

Parameters and Examples

Parameter Description Value Previews
{{{name}}} Package name.
| name = Valve Complete Pack
{{{id}}} Package ID.
| id = 232
{{{id}}} Switch the URLs. Use this if the package was located somewhere else.
For example, Valve Complete Pack was located in http://store.steampowered.com/bundles/232 instead of http://store.steampowered.com/sub/232.
| url = bundle
{{{image}}} (Optional) Package cover.
| image = [[File:Package Cover - Valve Complete Pack.jpg|320px|link=]]
{{{list}}} List of games on this package. Don't forget to add bullets "*".
| list = *{{hl2|4}}
{{{unavailable}}} Makes the template text switch to unavailable text.
| unavailable = true