Template:Game release free: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated for the messagebox template)
m (autolang replace)
 
(51 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{messagebox
{{lang|Template:Game release free}} <!-- Code copy-pasted from the newer version of Template:Game release. The new code is much cleaner. Some translations will be initially missing.-->
|text =  
<onlyinclude> <!-- Also, for translators, some of them are reused from /strings subpage (taken from regular Template:Game release), some translations can be added there instead, then purge the page after you have done with it. --> <!--
This game is available on Steam, for free. [steam://run/{{{appid}}} Launch it now] or [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">view its store page</span>].
--> {{messagebox
|image = [[File:steam_available.png|link=]]
|text = {{#switch: {{language}}
|bgcolor = #000000
| #default = '''{{PAGENAME}}''' is currently available on Steam, for free. [steam://run/{{{appid}}} '''Launch it now''']* or visit its store page on ([{{valvestorefront game|appid={{{appid}}}}} <font style="color:yellow">'''Browser'''</font>] {{!}} [steam://store/{{{appid}}} <font style="color:yellow">'''Steam'''</font>]*).<br><small>*Only works if Steam has been installed, please [https://store.steampowered.com/about/ install] Steam if you haven't already.</small>
|bdcolor = #474747
| vi = '''{{PAGENAME}}''' hiện đang có trong Steam, hoàn toàn miễn phí. [steam://run/{{{appid}}} '''Mở trò chơi luôn''']* hoặc xem trang cửa hàng trong ([{{valvestorefront game|appid={{{appid}}}}} <font style="color:yellow">'''Trình duyệt'''</font>] {{!}} [steam://store/{{{appid}}} <font style="color:yellow">'''Steam'''</font>]*).<br><small>*Chỉ dùng được nếu Steam đã được cài đặt, nếu không, xin vui lòng [https://store.steampowered.com/about/ cài đặt] nếu bạn chưa có Steam.</small>
|bdcolor2 = #474747
| zh = '''{{PAGENAME}}'''已免费上架至 Steam,您可 [steam://store/{{{appid}}} 立即启动]* 或通过([{{valvestorefront game|appid={{{appid}}}}} <font style="color:yellow">'''浏览器'''</font>] {{!}} [steam://run/{{{appid}}} <font style="color:yellow">'''Steam'''</font>]*)浏览其商店页面。<br><small>*在运行游戏前,请确您保已[https://store.steampowered.com/about/ 安装]了 Steam。</small>
|txtcolor = #ffffff
}}
}}
<noinclude>[[Category:Notice templates|{{PAGENAME}}]]</noinclude>
{{#switch:{{{sys}}}
| true = <br>'''{{Game release/strings|SupportedSystems}}''' <!-- This one was copy pasted from the regular Game release because they are the same anyway. -->
| show = <br>'''{{Game release/strings|SupportedSystems}}'''
| false =
| hide =
}}  {{#switch:{{{win}}}|true={{win|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}}
{{#switch:{{{deck}}}
| #default = [[Category:Untested Steam Deck games]]<br>{{Game release/strings|DeckUnknown}} - {{#switch: {{language}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
}} <!-- Some {{Autolang}} translations for these has been moved to /strings subpage. -->
| unknown = [[Category:Untested Steam Deck games]]<br>{{Game release/strings|DeckUnknown}} - {{#switch: {{language}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
}} <!-- Due to a bug (possibly because of updates related to autolang or strings subpage method that broke the appid detection, so we had to split the ProtonDB and Steam link
and the rest from /strings temporarily as a workaround.-->
| hide =
| verified = [[Category:Verified Steam Deck games]]<br>{{Game release/strings|DeckVerified}} - {{#switch: {{language}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
}}
| playable = [[Category:Playable Steam Deck games]]<br>{{Game release/strings|DeckPlayable}} - {{#switch: {{language}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
}}
| unsupported = [[Category:Unsupported Steam Deck games]]<br>{{Game release/strings|DeckUnsupported}} - {{#switch: {{language}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
}}
}}{{#if:{{{note|}}}|<br><font style="color: #f47b20"> '''{{Game release/strings|Notice}}'''</font> {{{note}}}}}
<!-- User:kr0tchet - false value is now supported, along with new Steam Deck support status, code is copy pasted from Template:Game release so there's might be some translations missing and/or some leftovers such as buying instead of download for free.-->
|image = [[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam logo - CTRL + F5 or purge if not loading correctly.]]
|bgcolor = #344347
|bdcolor = #546b73
|bdcolor2 = #546b73
|style = border: 2px #546b73 solid;{{border-radius|8px}}
|txtcolor = #ffffff}}</onlyinclude>
[[Category:Notice templates|{{PAGENAME}}]]
{{Doc|docpage=Template:Game release free/doc}}

Latest revision as of 18:32, 5 August 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Todo: Port all translations to Template:Software status, before deprecating this template and turning it into a template redirect like Template:Banned spammer does.
Icon-Important.pngImportant:It is now recommended to use {{Software status}} instead. This template will be soon deprecated, the original template will be kept for compatibility with pages that haven't been updated.

Translations

Warning.pngWarning:From now on, add translations to {{Software status}} instead. This strings translation page along with templates itself will be soon partially deprecated, turning it into some kind of redirect.

Some used strings are on the regular Game release's 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.
Some of them can be only found on the /strings subpage.

Usage

Syntax: {{game release free|appid=<game appid>}} Optional: Put {{game release free|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

  • 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

Software status (unified)

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