Template:Software gallery link/doc

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

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

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
{{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 }}
You can see some screenshots from the game below. To see all screenshots and brand files, you can go to Counter-Strike 2 gallery or category with all Counter-Strike 2 related files and pages.