Template:Software page/doc

From Valve Developer Community
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Software page.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

This template enables software pages to use a standardized, universal interface.


Translations

The used strings are on strings subpage. Please follow the format to add translations for them.

Sandbox

This template searches for files based only on the information provided to it in the parameters, that is, you can create a fully functional copy of the conditional Half-Life 2 page anywhere else.

Use the template sandbox for your experiments.

Images

Supported formats: JPG, PNG.

Maximum number of screenshots: 12.

Recommended aspect ratio of screenshots: 16:9.

Recommended cover resolution: 460x215 pixels.

Examples:

  • Counter-Strike Source - Background.jpg
  • Counter-Strike Source - Screenshot 1.jpg
  • Counter-Strike Source - Screenshot 2.jpg
  • SoftwareCover-Counter-Strike Source.jpg

Media:

Developers and Publishers

Use this in {{{developer}}} or {{{publisher}}}. You can also write something of your own and apply some special formatting to it.

Modes

Genres

Parameters

  • {{{name}}} - The full name of the game. Necessary for image detection.
  • {{{desc}}} - Description of the software.


Optional:

  • {{{DLC}}} {{{mod}}} - If the value "true" is specified, the tags corresponding to the name of the parameters will appear in the upper left corner of the cover.
  • {{{shortname}}} - A short name in case files cannot use the full name due to system restrictions.
  • {{{appid}}} - Steam AppID. Used in some links.
  • {{{docs}}} - Disables the button if the value "false" is specified. You can also specify an article located inside this wiki.
  • {{{workshop}}} - Disables the button if the value "false" is specified. If this is a mod located in the workshop of some game, then you can specify its ID here.
  • {{{wiki}}} - Link to the wiki of the current software.
  • {{{background}}} - Disables the background if the value "false" is specified. By default, the template searches for "<Project> - Background.<format>", but you can specify any file in this parameter.
  • {{{release}}} - Release date. The value "Soon" indicates "Coming soon"
  • {{{mode}}}
  • {{{mode2}}}
  • {{{genre}}}
  • {{{genre2}}}
  • {{{engine}}} - Game engine. Available values: 0 (GoldSrc GoldSrc), 1 (Source Source), 2 (Source 2 Source 2). You can also write something of your own in this parameter.
  • {{{branch}}} - Engine branch.
  • {{{developer}}}
  • {{{dev2}}}, {{{dev3}}}, {{{dev4}}}
  • {{{publisher}}}
  • {{{pub2}}}, {{{pub3}}}, {{{pub4}}}
  • {{{shortdesc}}} - A short description of the software.