Template:Game release free: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(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.)
Line 1: Line 1:
{{Lang}}
{{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.-->
[[Category:Notice templates|{{PAGENAME}}]]
<onlyinclude>
{{Game release free|appid={{{appid}}}}}
{{messagebox
 
{{Doc}}
[[Category:Notice templates|{{PAGENAME}}]]
<includeonly><onlyinclude>{{Messagebox
|text = {{Autolang
|text = {{Autolang
| 1 = '''{{PAGENAME}}''' is currently available on Steam, for free. [steam://run/{{{appid}}} '''Launch it now''']* or [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">'''view it's store page'''</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>{{#if:{{{sys|}}}|<br>'''Supported Systems:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Notice:'''</span> {{{note}}}}} <!-- User:kr0tchet - Probably might need some rewritten to the Supported Systems section to accept false value. Somebody else will probably do it.-->
| 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>
| es = Este juego es disponible en Steam, gratis. [steam://run/{{{appid}}} Lanzarlo ahora] o [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">ver su pagina en Steam</span>]. <br>{{#if:{{{sys|}}}|'''Sistema soportado:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Aviso:'''</span> {{{note}}}}}
| 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>
| ru = Эта игра доступна в Steam, бесплатно. [steam://run/{{{appid}}} Скачать] или [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">просмотреть страницу в магазине</span>]. <br>{{#if:{{{sys|}}}|'''Поддерживаемая система:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Уведомление:'''</span> {{{note}}}}}
| 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. -->
| ja = このゲームはSteamで無料で遊べます。[steam://run/{{{appid}}} すぐに起動する]・[{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">Steamストアで見る</span>] <br>{{#if:{{{sys|}}}|'''対応システム:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''知らせ:'''</span> {{{note}}}}}
}}<br>{{#if:{{{sys|}}}|'''<br> {{Autolang
| 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 [{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">'''xem trang cửa hàng trong Steam'''</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>{{#if:{{{sys|}}}|<br>'''Trò chơi này hỗ chợ hệ điều hành:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''Chú ý:'''</span> {{{note}}}}}
| Supported Systems for this game:
| zh = 该游戏已免费上架至 Steam,您可[steam://run/{{{appid}}} 立即启动游戏]*或[{{valvestorefront game|appid={{{appid}}}}} <span style="color: yellow">前往商店页面</span>]。<br><small>*在运行游戏前,请确您保已[https://store.steampowered.com/about/ 安装]了 Steam。</small><br>{{#if:{{{sys|}}}|<br>'''支持的操作系统:'''}} {{#if:{{{win|}}}|{{windows|4}}}} {{#if:{{{mac|}}}|{{mac|4}}}} {{#if:{{{linux|}}}|{{linux|4}} + {{steamos|4}}}} {{#if:{{{note|}}}|<br><span style="color: #f47b20"> '''注意:'''</span> {{{note}}}}}
| vi = Trò chơi này hỗ chợ hệ điều hành:
}}
| zh = 支持的操作系统:
}}'''}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}}
{{#switch:{{{deck}}}
| #default = <br> {{Autolang
| '''Steam Deck support status:''' {{steamdeck untested|4}} - [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]
}}
| unknown = <br> {{Autolang
| '''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. -->
| 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]
}}
| hide = {{blank}}
| verified = <br> {{Autolang
| '''Steam Deck support status:''' {{steamdeck verified|4}} - [https://www.protondb.com/app/{{{appid}}} More info on 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]
}}
| playable = <br> {{Autolang
| '''Steam Deck support status:''' {{steamdeck playable|4}} - [https://www.protondb.com/app/{{{appid}}} More info on ProtonDB]
| 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]
}}
| unsupported = <br> {{Autolang
| '''Steam Deck support status:''' {{steamdeck unsupported|4}} - [https://www.protondb.com/app/{{{appid}}} More info on 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
| Notice:
| vi = Chú ý:
| zh = 注意:
}}'''</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:steam_available.png|link=]]
|image = [[File:steam_available.png|link=]]
|bgcolor = #000000
|bgcolor = #000000
Line 19: Line 43:
|bdcolor2 = #474747
|bdcolor2 = #474747
|style = border: 2px #474747 solid;{{border-radius|10px}}
|style = border: 2px #474747 solid;{{border-radius|10px}}
|txtcolor = #ffffff
|txtcolor = #ffffff}}</onlyinclude>
}}</onlyinclude></includeonly>
[[Category:Notice templates|{{PAGENAME}}]]
{{Doc|docpage=Template:Game release free/doc}}

Revision as of 23:38, 2 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
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