Template:Software page/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
== Sandbox ==
== 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 [[/sandbox|template sandbox]] for your experiments.
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 [[/sandbox|template sandbox]] for your experiments.
== Parameters ==
* {{Param|name}} - Full name.
* {{Param|shortname}} - A short name in case files cannot use the full name due to system restrictions.
* {{Param|appid}} - Steam AppID
* {{Param|tools}} - A link to the tools inside this wiki. The parameter is created for Half-Life:Alyx Workshop Tools and others.
* {{Param|workshop}} - Disables the block with the link of the same name. The value can be any, but it is preferable to specify "false".
* {{Param|wiki}} - Link to the wiki of the current software.
* {{Param|background}} - Adds a background. By default, the template searches for <nowiki>[[File:{{{shortname|{{{name|}}} - Background.png]]</nowiki> (jpg is also supported, but not prioritized).
* {{Param|release}} - Release date. The value "Soon" indicates "Coming soon"
* {{Param|mode}}
* {{Param|mode2}}
* {{Param|genre}}
* {{Param|genre2}}
* {{Param|engine}}
* {{Param|developer}}
* {{Param|dev2}}, {{Param|dev3}}, {{Param|dev4}}
* {{Param|publisher}}
* {{Param|pub2}}, {{Param|pub3}}, {{Param|pub4}}
* {{Param|shortdesc}}
* {{Param|desc}}


== Background, Screenshots, Cover ==
== Background, Screenshots, Cover ==
Line 67: Line 46:
* {{Code|select=1|LunchHouse}} - {{Software page/strings|CompanySwitcher|LunchHouse}}
* {{Code|select=1|LunchHouse}} - {{Software page/strings|CompanySwitcher|LunchHouse}}
</div>
</div>
== Parameters ==
* {{Param|name}} - Full name.
* {{Param|shortname}} - A short name in case files cannot use the full name due to system restrictions.
* {{Param|appid}} - Steam AppID
* {{Param|tools}} - A link to the tools inside this wiki. The parameter is created for Half-Life:Alyx Workshop Tools and others.
* {{Param|workshop}} - Disables the block with the link of the same name. The value can be any, but it is preferable to specify "false".
* {{Param|wiki}} - Link to the wiki of the current software.
* {{Param|background}} - Adds a background. By default, the template searches for <nowiki>[[File:{{{shortname|{{{name|}}} - Background.png]]</nowiki> (jpg is also supported, but not prioritized).
* {{Param|release}} - Release date. The value "Soon" indicates "Coming soon"
* {{Param|mode}}
* {{Param|mode2}}
* {{Param|genre}}
* {{Param|genre2}}
* {{Param|engine}}
* {{Param|developer}}
* {{Param|dev2}}, {{Param|dev3}}, {{Param|dev4}}
* {{Param|publisher}}
* {{Param|pub2}}, {{Param|pub3}}, {{Param|pub4}}
* {{Param|shortdesc}}
* {{Param|desc}}


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 04:52, 26 February 2023

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.

Template:ModernTodo 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.

Background, Screenshots, Cover

Supported formats: JPG, PNG.

Maximum number of screenshots: 12.

Examples:

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

Developers & Publishers

Use this in {{{developer}}} or {{{publisher}}}.

Parameters

  • {{{name}}} - Full name.
  • {{{shortname}}} - A short name in case files cannot use the full name due to system restrictions.
  • {{{appid}}} - Steam AppID
  • {{{tools}}} - A link to the tools inside this wiki. The parameter is created for Half-Life:Alyx Workshop Tools and others.
  • {{{workshop}}} - Disables the block with the link of the same name. The value can be any, but it is preferable to specify "false".
  • {{{wiki}}} - Link to the wiki of the current software.
  • {{{background}}} - Adds a background. By default, the template searches for [[File:{{{shortname|{{{name|}}} - Background.png]] (jpg is also supported, but not prioritized).
  • {{{release}}} - Release date. The value "Soon" indicates "Coming soon"
  • {{{mode}}}
  • {{{mode2}}}
  • {{{genre}}}
  • {{{genre2}}}
  • {{{engine}}}
  • {{{developer}}}
  • {{{dev2}}}, {{{dev3}}}, {{{dev4}}}
  • {{{publisher}}}
  • {{{pub2}}}, {{{pub3}}}, {{{pub4}}}
  • {{{shortdesc}}}
  • {{{desc}}}