Template:Game release/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Unicodifying, replaced: {{ModernWarning| → {{warning|, See Also → See also, {{windows → {{win)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation_subpage}}
{{Documentation_subpage}}
== Translations ==
== Translations ==
{{Strings notice}}
Some of them are using strings, which are on [[/strings|strings subpage]]. Please follow the format to add translations for them.<br> To edit/translate the ProtonDB and the Steam purchase/free download link, please edit the main template itself instead due to a bug which requires workaround.
Some of them are using strings, which are on [[/strings|strings subpage]]. Please follow the format to add translations for them.<br> To edit/translate the ProtonDB and the Steam purchase/free download link, please edit the main template itself instead due to a bug which requires workaround.
{{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.}}
{{warning|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==
Line 21: Line 23:
|-
|-
| <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>
| <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}}"
| Shows or Hide "{{win|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> or <false></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>
Line 38: Line 40:


== Example and preview ==
== Example and preview ==
*'''By default (with nothing on it):'''
{{game release}}
*'''App ID set:'''
{{game release|appid=220}}
{{game release|appid=220}}
See [[/testcases|Testcases]] page for more.


*'''Everything marked as {{code|true}}:'''
== See also ==
{{game release|appid=220|sys=true|win=true|mac=true|linux=true|note=This is an example text.}}
{{Todo|Merging all of these into one templates (currently W.I.P as {{tl|Software status}}).}}
 
=== Software status (unified) ===
*'''Everything marked as {{code|false}}:'''
*[[Template:Software status]] - Recommended.
{{game release|appid=220|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|appid=220|sys=false|win=false|mac=false|linux=false|deck=|note=Verified Status Test}}
 
*'''Verified: ({{code|deck{{=}}verified}})'''
{{game release|appid=220|sys=false|win=false|mac=false|linux=false|deck=verified|note=Verified Status Test}}
 
*'''Playable: ({{code|deck{{=}}hide}})'''
{{game release|appid=220|sys=false|win=false|mac=false|linux=false|deck=playable|note=Verified Status Test}}
 
*'''Unsupported: ({{code|deck{{=}}unsupported}})'''
{{game release|appid=220|sys=false|win=false|mac=false|linux=false|deck=unsupported|note=Verified Status Test}}
 
*'''Hides the status: ({{code|deck{{=}}hide}})'''
{{game release|appid=220|sys=false|win=false|mac=false|linux=false|deck=hide|note=Verified Status Test}}
 
== See Also ==
=== Game release + demo ===
=== Game release + demo ===
*'''Template:Game release''' - You are currently viewing this page
*'''Template:Game release''' - You are currently viewing this page

Latest revision as of 07:00, 7 January 2024

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

Translations

Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Some of them are using strings, which are on strings subpage. Please follow the format to add translations for them.
To edit/translate the ProtonDB and the Steam purchase/free download link, please edit the main template itself instead due to a bug which requires workaround.

Warning.pngWarning:Translation are not 100% accurate, some of those are done via Google Translate, it will need some improvements!
Some other languages may not fully translated.

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

Example and preview

See Testcases page for more.

See also

Todo: Merging all of these into one templates (currently W.I.P as {{Software status}}).

Software status (unified)

Game release + demo

  • Template:Game release - You are currently viewing this page
  • Template:Game release free - For Games that are released for free.
  • 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