From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
A simple template that creates a simplified gallery on the software page with links to the full gallery subpage and the software category.
Usage
This template is usually written in a column. To use it, insert {{Software gallery link}} on the desired page and specify the parameters described below under the template name in the following format:
{{Software gallery link
| parameter1 = value
| parameter2 = value
}}
| Name
|
Description
|
Example
|
Preview
|
{{{target}}}
|
The software that the gallery will link to.
|
| target = Half-Life 2 Deathmatch
|
See #Preview.
|
{{{altname}}}
|
Optional parameter that changes the displayed name of the link.
|
| altname = Half-Life 2: Deathmatch
|
{{{type}}}
|
Software type.
The default is "the game".
|
| type = the tool
|
{{{file<1-4>}}}
|
Image name and its extension.
Automatically specifies the first 4 screenshots of the software if their names are similar to this: Half-Life 2 - Screenshot 1.png
|
| file1 = Half-Life 2 - Screenshot 7.png
|
{{{filewidth}}}
|
|
| filewidth = 240px
|
Preview
{{Software gallery link
| target = Counter-Strike 2
| file1 = Counter-Strike 2 - ar_baggage.png
| file2 = Counter-Strike 2 - ar_shoots.png
| file3 = Counter-Strike 2 - de_ancient.png
| file4 = Cs office 2 png.png
}}