Template:Game release free: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Copy pasted code from the Template:Game release (paid one) as it's was much more cleaner, which also adds the false value and Steam Deck support status.)
m (autolang replace)
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{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 initally missing.-->
{{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.-->
<onlyinclude>
<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. --> <!--
{{messagebox
--> {{messagebox
|text = {{Autolang
|text = {{#switch: {{language}}
| 1 = '''{{PAGENAME}}''' is currently available on Steam, for free. [steam://run/{{{appid}}} '''Launch it now''']* or visit it's store page via ([{{valvestorefront game|appid={{{appid}}}}} <font style="color:yellow">'''Browser'''</font>] {{!}} [steam://run/{{{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>
| #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>
| 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://run/{{{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>
| 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>
| zh = 该游戏已免费上架至 Steam,您可[steam://run/{{{appid}}} 立即启动游戏]*[{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">前往商店页面</span>]<br><small>*在运行游戏前,请确您保已[https://store.steampowered.com/about/ 安装]了 Steam。</small> <!-- might need some update, first we needed some Chinese translators to making this up to date and matching up with other languages. -->
| 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>
}}<br>{{#if:{{{sys|}}}|'''<br> {{Autolang
}}
| Supported Systems for this game:
{{#switch:{{{sys}}}
| vi = Trò chơi này hỗ chợ hệ điều hành:
| true = <br>'''{{Game release/strings|SupportedSystems}}''' <!-- This one was copy pasted from the regular Game release because they are the same anyway. -->
| zh = 支持的操作系统:
| show = <br>'''{{Game release/strings|SupportedSystems}}'''
}}'''}}  {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}}
| 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}}}
{{#switch:{{{deck}}}
| #default = <br> {{Autolang
| #default = [[Category:Untested Steam Deck games]]<br>{{Game release/strings|DeckUnknown}} - {{#switch: {{language}}
| '''Steam Deck support status:''' {{steamdeck untested|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| vi = '''Hỗ trợ hiện tại cho Steam Deck:''' {{steamdeck untested|4}} - [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên 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]
| unknown = <br> {{Autolang
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
| '''Steam Deck support status:''' {{steamdeck untested|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB] <!-- Does the exact same thing as default settings. -->
}} <!-- Some {{Autolang}} translations for these has been moved to /strings subpage. -->
| vi = '''Hỗ trợ hiện tại cho Steam Deck:''' {{steamdeck untested|4}} - [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| unknown = [[Category:Untested Steam Deck games]]<br>{{Game release/strings|DeckUnknown}} - {{#switch: {{language}}
}}
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| hide = {{blank}}
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| verified = <br> {{Autolang
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| '''Steam Deck support status:''' {{steamdeck verified|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
| vi = '''Hỗ trợ hiện tại cho Steam Deck:''' {{steamdeck verified|4}} - [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên 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.-->
| playable = <br> {{Autolang
| hide =  
| '''Steam Deck support status:''' {{steamdeck playable|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| verified = [[Category:Verified Steam Deck games]]<br>{{Game release/strings|DeckVerified}} - {{#switch: {{language}}
| vi = '''Hỗ trợ hiện tại cho Steam Deck:''' {{steamdeck playable|4}} - [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
}}
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| unsupported = <br> {{Autolang
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
| '''Steam Deck support status:''' {{steamdeck unsupported|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| zh = [https://www.protondb.com/app/{{{appid}}} ProtonDB 上的信息]
| vi = '''Hỗ trợ hiện tại cho Steam Deck:''' {{steamdeck unsupported|4}} - [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
}}
}}}}{{#if:{{{note|}}}|<br><font style="color: #f47b20"> '''{{Autolang
| playable = [[Category:Playable Steam Deck games]]<br>{{Game release/strings|DeckPlayable}} - {{#switch: {{language}}
| Notice:
| #default =[https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| vi = Chú ý:
| eo = [https://www.protondb.com/app/{{{appid}}} Pli scio en ProtonDB]
| zh = 注意:
| vi = [https://www.protondb.com/app/{{{appid}}} Nhiều thông tin nữa trên ProtonDB]
}}'''</font> {{{note}}}}}
| 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.-->
<!-- 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:steam_available.png|link=]]
|image = [[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam logo - CTRL + F5 or purge if not loading correctly.]]
|bgcolor = #000000
|bgcolor = #344347
|bdcolor = #474747
|bdcolor = #546b73
|bdcolor2 = #474747
|bdcolor2 = #546b73
|style = border: 2px #474747 solid;{{border-radius|10px}}
|style = border: 2px #546b73 solid;{{border-radius|8px}}
|txtcolor = #ffffff}}</onlyinclude>
|txtcolor = #ffffff}}</onlyinclude>
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
{{Doc|docpage=Template:Game release free/doc}}
{{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