Template:Software release: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Using strings translation which makes the code much cleaner and less messy.)
Line 1: Line 1:
<noinclude>{{lang|Template:Software release}}</noinclude>
<noinclude>{{lang|Template:Software release}}</noinclude>
{{messagebox
{{messagebox
|text = {{Autolang
|text = {{Software release/strings|Main}}<br>
| 1 = This software/tool is available on Steam. [steam://run/{{{appid}}} '''Launch it now''']* or [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">'''buy it here'''</span>].<br><small>*Only works if Steam has been installed, please [https://store.steampowered.com/about/ install] Steam if you haven't already.</small><br>{{#switch:{{{sys}}}|true=<br>'''Supported Systems for this software:'''|show=<br>'''Supported Systems for this software:'''|#default=|false=}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Notice:'''</span> {{{note}}}}}
{{#switch:{{{sys}}}
| vi = Phần mềm/công cụ này hiện có trong Steam. [steam://run/{{{appid}}} '''Mở phần mềm luôn''']* hoặc [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">'''mua nó ở đây'''</span>].<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><br>{{#switch:{{{sys}}}|true=<br>'''Phần mềm/công cụ này hỗ chợ hệ điều hành:'''|show=<br>'''Phần mềm/công cụ này hỗ chợ hệ điều hành:'''|#default=|false=}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Chú ý:'''</span> {{{note}}}}}
|true='''{{Software release/strings|SupportedSystems}}'''
| zh = 该软件已上架至 Steam,您可[steam://run/{{{appid}}} 立即启动软件]*或[{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">前往商店页面</span>]。<br><small>*在运行软件前,请确您保已[https://store.steampowered.com/about/ 安装]了 Steam。</small><br>{{#switch:{{{sys}}}|true=<br>'''支持的操作系统:'''|show=<br>'''支持的操作系统:'''|#default=|false=}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''注意:'''</span> {{{note}}}}}
|show='''{{Software release/strings|SupportedSystems}}'''
}} <!-- The "show" value for Supported Systems are exactly the same as "true", this is intended to avoid breaking old pages that still using false value while transitioning some from true to show value. -->
|false=
|hide=
}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}}
{{#if:{{{note|}}}|<font style="color: #f47b20"> '''{{Game release/strings|Notice}}'''</font> {{{note}}}}}  
<!-- The "show" value for Supported Systems are exactly the same as "true", this is intended to avoid breaking old pages that still using false value while transitioning some from true to show value. -->
<!-- Some translation strings can be found on Template:Game release/strings. They are reused as it's basically the same anyway.-->
|image = [[File:steam_available.png|link=]]
|image = [[File:steam_available.png|link=]]
|bgcolor = #000000
|bgcolor = #000000

Revision as of 02:08, 4 May 2023

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
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Translations

Icon-translate.png
This template uses a strings subpage
Additional translations come from the following string template(s): template:Game release/strings
Please follow the format on this subpage(s) to add translations.
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: {{software release|appid=<software appid>}} Optional: Put {{software release|appid=<software appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}} to show all supported systems (Win, Mac, Linux + SteamOS).

Parameters

Example

See also

Game release + demo

Mod release

Delisted games

Software release