Template:Game announced: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Using strings translation which makes the code much cleaner and less messy.)
m (autolang replace)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Messagebox <!--TODO: Re-translate other languages that are removed since it's was out of date and have issues with /strings. -->
{{Important|It will soon be recommended to use {{t|Software status}} instead (which merges both {{t|Game announced}} and {{t|Game announced2}} along with others into one), but this template is not yet deprecated, as the new template does not yet have all the features from this one, or may suffering from bugs.}}
|text = {{Autolang
{{Doc}}
| 1 = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} it's official website]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam News</span>], {{Game announced/strings|Announced2}}.
<includeonly>
 
<onlyinclude>{{Messagebox <!--TODO: Re-translate other languages that are removed since it's was out of date and have issues with /strings. -->
|text = {{#switch: {{language}}
| #default = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} its official website]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam News</span>], {{Game announced/strings|Announced2}}.
| vi = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} Trang chủ chính thức]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam Tin tức</span>], {{Game announced/strings|Announced2}}.
| vi = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} Trang chủ chính thức]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam Tin tức</span>], {{Game announced/strings|Announced2}}.
| zh = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} it's official website]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam News</span>], {{Game announced/strings|Announced2}}.
| zh = {{Game announced/strings|Announced}} {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} it's official website]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Steam News</span>], {{Game announced/strings|Announced2}}.
| ru = {{Game announced/strings|Announced}}, {{#if:{{{site|}}}|<span style="color: yellow">[{{{site}}} Официальный сайт]</span>,}} [https://store.steampowered.com/news/app/{{{appid}}} <span style="color:yellow">Новости Steam</span>], {{Game announced/strings|Announced2}}.
}}
}}
|image = [[File:steam announced.png|link=]]
|image = [[File:steam announced.png|link=|128px]]
|bgcolor = #000
|bgcolor = #000
|bdcolor = #474747
|bdcolor = #474747
Line 11: Line 16:
|style = border:2px #474747 solid; border-radius:10px;
|style = border:2px #474747 solid; border-radius:10px;
|txtcolor = #FFF
|txtcolor = #FFF
}}
}}</onlyinclude>
<noinclude>[[Category:Notice templates|{{PAGENAME}}]]</noinclude>
 
</includeonly>

Latest revision as of 18:28, 5 August 2024

Icon-Important.pngImportant:It will soon be recommended to use {{Software status}} instead (which merges both {{Game announced}} and {{Game announced2}} along with others into one), but this template is not yet deprecated, as the new template does not yet have all the features from this one, or may suffering from bugs.
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.
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Usage

{{Game announced|site = https://counter-strike.net/cs2|appid = 730}}

Parameters and Examples

Parameter Description Example
{{{site}}} Official website.
| site = https://counter-strike.net/cs2
{{{appid}}} Steam AppID. Used to link to the game news on Steam.
| appid = 730