Template:Package: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: Unicodifying, replaced: {{uselangflags → {{ulf)
(Added strings; Tho it works but it looks hideous.)
Line 1: Line 1:
<noinclude>{{ulf|en=1|pl=1|vi=1}}{{doc}}
[[Category:Notice templates|{{PAGENAME}}]]
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{{messagebox
{{messagebox
|text = {{#if:{{{image|}}}|{{{image}}}}}
|text = {{#if:{{{image|}}}|{{{image}}}}}
{{autolang<!-- DO NOT ADD NEW TRANSLATIONS AS /STRINGS SUBPAGE WILL BE CREATED SOON. -->
{{Package/strings|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{Package/strings|Pack}} <br>
|1=The {{#if:{{{name|}}}|{{{name}}}}} package is provided on Steam.<br />
{{Package/strings|Click}} [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">{{Package/strings|Link}}</span>] {{Package/strings|Preview}}<br>
Click [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">here</span>] to preview the package on Steam page.<br />
{{Package/strings|Following}}
The following items are included in this package:<br />
<br>
|pl=Pakiet {{#if:{{{name|}}}|{{{name}}}}} jest dostępny na Steam.<br />
{{Package/strings|Cleanup}}
Kliknij [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">tutaj</span>] aby zobaczyć pakiet. Kliknij {{SteamLinkTitled|steam://purchase/{{{id}}}|tutaj}} aby kupić pakiet poprzez Steam.<br />
Następujące przedmioty znajdują się w pakiecie:<br />
|vi = Gói {{#if:{{{name|}}}|{{{name}}}}} hiện đang có trên cửa hàng Steam.<br />
Nhấn [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">vào đây</span>] để xem gói này trong cửa hàng Steam.<br />
Các mục sau đây được có trong gói này:<br />
}}
<div style="color: orange; display: inline-block; text-align: left; padding: .3em;">
<div style="color: orange; display: inline-block; text-align: left; padding: .3em;">
{{{list|*There are currently no games on this package/bundles, or it is unspecified.}}}<!-- the second one will be only used as a fallback -->
{{{list|*{{Package/strings|NoGames}}}}}
</div>
</div>
|image = [[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam Logo.]]
|image = [[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam Logo.]]
Line 26: Line 24:
|txtcolor = #ffffff
|txtcolor = #ffffff
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
<noinclude>{{doc}}[[Category:Notice templates|{{PAGENAME}}]]
{{ulf|en=1|pl=1|vi=1}}
</noinclude>

Revision as of 11:23, 22 March 2024

English (en)Polski (pl)Tiếng Việt (vi)
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.

This template is used to list the games that are available for purchase or download as part of its packages/bundles.

Copy and paste

List of games included in a package

{{Package | name = <!-- Package name --> | image = <!-- (Optional) Package covers --> | id = <!-- Package ID --> | url = <!-- <package (default)/sub (default)/bundle/bundles> - This is used to switch the URLs, if the packages was located somewhere else. --> | list = <!-- Put the game/software template here. Example below: --> * {{hl2|4}} * {{hl2ep1|4}} * {{hl2ep2|4}} * {{portal|4}} * {{tf2|4}} }}

List of packages that include this game

{{Package | packages = <!-- Put the game/software template here. Example below: --> * {{tob|4}} * {{pcc|4}} * [[Package: Valve Complete Pack|Valve Complete Pack]] }}

Parameters and Examples

Parameter Description Value Previews
{{{name}}} Package name.
| name = Valve Complete Pack
{{{id}}} Package ID.
| id = 232
{{{url}}} Switch the URLs. Use this if the package was located somewhere else.
For example, Valve Complete Pack was located in http://store.steampowered.com/bundles/232 instead of http://store.steampowered.com/sub/232.
| url = bundle
{{{image}}} (Optional) Package cover.
| image = Package Cover - Valve Complete Pack.jpg
{{{list}}} List of games on this package. Don't forget to add bullets "*".
| list = *{{hl2|4}}
{{{unavailable}}} Makes the template text switch to unavailable text.
| unavailable = true
{{{packages}}} List of packages that include this game. Don't forget to add bullets "*".
| packages = *[[Package: Valve Complete Pack]]