Template:Game release free/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Copy pasted docs from the other one to making it more up to date.)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation_subpage}}
==Available Languages (via {{tl|autolang}} template)==
{| class="standard-table plainlinks"
! Language
|-
| {{en}} English
|-
| {{vi}} Vietnamese
|-
| {{zh}} Chinese (Simplified)
|-
|}
{{ModernWarning|Translation are not 100% accurate, some of those are done via Google Translate, it will need some improvements!<br>Some other languages may not fully translated.}}
 
==Usage==
==Usage==
{{syntax|<nowiki>{{game release free|appid=<game appid>}}</nowiki>}}
{{syntax|<nowiki>{{game release|appid=<game appid>}}</nowiki>}}
'''Optional:'''
'''Optional:'''
Put <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}"><nowiki>{{game release free|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}}</nowiki></code> to show all supported systems (Win, Mac, Linux + SteamOS).  
Put <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}"><nowiki>{{game release|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}}</nowiki></code> to show all supported systems (Win, Mac, Linux + SteamOS).  


== Parameters ==
== Parameters ==
{| class="standard-table plainlinks"
{| class="standard-table plainlinks"
! Parameters
! Parameters
! Result
! Description
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">appid=<game/software appid></code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">appid=<game/software appid></code>
| Set the AppID for the "<span style="color: #86BF39">Launch it now</span> or <span style="color: yellow">view it's store page</span>" button.
| Set the AppID for the "<span style="color: #86BF39">Launch it now</span> or <span style="color: yellow">(Browser | Steam)</span>" button.
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">sys=true</code> or <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">show</code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">sys=true</code> or <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">show</code>
| Shows "'''Supported Systems:'''"
| Shows "'''Supported Systems:'''" - Leave it blank to hide it (until this got fixed).
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">win=<true> or <false></code>
| Shows or Hide "{{windows|4}}"
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">win=true</code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">mac=<true> or <false></code>
| Shows "{{windows|4}}"
| Shows or Hide "{{mac|4}}"
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">mac=true</code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">linux=<true> or <false></code>
| Shows "{{mac|4}}"
| Shows or Hide "{{linux|4}}"
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">linux=true</code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">deck=<see value on the left></code>
| Shows "{{linux|4}}"
| This will show the Steam Deck verified status. <br>Available values: <br>{{code|verified}} = {{steamdeck verified|4}} <br>{{code|playable}} = {{steamdeck playable|4}} <br>{{code|unsupported}} = {{steamdeck unsupported|4}}. <br>Leave blank will show {{steamdeck unknown|4}}. Set to {{code|hide}} will hide it.
|-
|-
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">note=<insert text here></code>
| <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">note=<insert text here></code>
Line 30: Line 46:
|}
|}


Leaving the <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}"><nowiki>|sys=true|win=true|mac=true|linux=true|note=<insert text here></nowiki></code> omitted will hide the Supported Systems, OS and Notices.
Marking any of these (except the Supported Systems) as {{code|false}} will hide the Supported Systems, OS and Notices.
{{Note|Most of them with {{code|false}} value are now supported! Some others will be non-functional until it got fixed.}}
 
== Example and preview ==
*'''By default (with nothing on it):'''
{{game release free}}
 
*'''App ID set - {{tf2|4}}:'''
{{game release free|appid=440}}
 
*'''Everything marked as {{code|true}}:'''
{{game release free|appid=440|sys=true|win=true|mac=true|linux=true|note=This is an example text.}}
 
*'''Everything marked as {{code|false}}:'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|note=This is an example text.}}
 
== Deck Verified Status ==
*'''Default/leave blank (Unknown/Untested) and {{code|deck{{=}}unknown}}:'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|deck=|note=Verified Status Test}}
 
*'''Verified: ({{code|deck{{=}}verified}})'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|deck=verified|note=Verified Status Test}}
 
*'''Playable: ({{code|deck{{=}}hide}})'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|deck=playable|note=Verified Status Test}}
 
*'''Unsupported: ({{code|deck{{=}}unsupported}})'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|deck=unsupported|note=Verified Status Test}}
 
*'''Hides the status: ({{code|deck{{=}}hide}})'''
{{game release free|appid=440|sys=false|win=false|mac=false|linux=false|deck=hide|note=Verified Status Test}}


== Example ==
{{game release free|appid=220|sys=true|win=true|mac=true|linux=true|note=This is an example text.}}
== See Also ==
== See Also ==
=== Game release + demo ===
=== Game release + demo ===

Revision as of 23:46, 2 May 2023

Edit-copy.png
This is a documentation subpage for Template:Game release free.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Available Languages (via {{autolang}} template)

Template:ModernWarning

Usage

Syntax: {{game release|appid=<game appid>}} Optional: Put {{game release|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}} to show all supported systems (Win, Mac, Linux + SteamOS).

Parameters

Marking any of these (except the Supported Systems) as false will hide the Supported Systems, OS and Notices.

Note.pngNote:Most of them with false value are now supported! Some others will be non-functional until it got fixed.

Example and preview

  • By default (with nothing on it):
  • Everything marked as true:
  • Everything marked as false:

Deck Verified Status

  • Default/leave blank (Unknown/Untested) and deck=unknown:
  • Verified: (deck=verified)
  • Playable: (deck=hide)
  • Unsupported: (deck=unsupported)
  • Hides the status: (deck=hide)

See Also

Game release + demo

  • Template:Game release - For paid games.
  • Template:Game release free - You are currently viewing this page
  • Template:Game demo - For paid games, with a free demo available. Or simply just have a demo-only release available.

Mod release

Delisted games

Software release